![](https://steemitimages.com/640x0/http://puu.sh/tKX2S/aaec30cff4.png)
It wasn't long ago the STEEM network was terrorized by a highly effective and somewhat devious brand of psychological warfare that came through in the form of the @asshole.
Basically, long story short the user responsible for the deployment of the asshole account had it set up to flag nearly every post for a bit before switching it to attack comment for a while... It wasn't good with some of our users comments hidden by these automated 1% flags..
![](https://steemitimages.com/640x0/http://puu.sh/tKUl9/5a00bf2faa.png)
It Looked Like The Flags Would Never End..!
However the STEEM network happens to be inhabited by certain power users that double as super heros. The 3 gloriously esteemed users responsible for the initial defense / counter-attack on the @asshole account are listed below in bold for you to check out / follow:
@anyx | @timcliff | @pfunk |
---|
These users were able to deploy their own private counter measures and pool their resources to help unhide comments that had fallen prey to @asshole's deviant game of flag em' all.
While it's great that privately owned and run systems are in place protecting our network against potential outside enemies one must always find a way to protect themselves as well.
![](https://steemitimages.com/640x0/http://puu.sh/tKX9N/228d1d8435.png)
Asshunter.js v0.0.1 Source Code
//--------------------------------------------------------------------------
//----- AssHat Hunter v0.0.1 || Open Source Anti-Asshat Node.js Script -----
//----- Developed by @KLYE || Free to Use for All! || Free to Modify -------
//----- Rekuirements to run: Node.js + steem.js + node-datetime -----------
//----- npm install steem --save || npm install node-datetime --save -----
//--------------------------------------------------------------------------
//----- PLEASE DO NOT USE THIS CODE BELOW MALICIOUSLY / FOR EVIL DEEDS -----
//--------------------------------------------------------------------------
//----- CONFIG + Get Rekuirements
// ***IMPORTANT*** Your Account Name Below (No @)
var hero = 'youraccount';
// ***IMPORTANT*** Your Posting Private Key Below
var herowifkey = '5P0St1nGpR1vK3ys7rz9zJzLGjgHn4aWX79MC6jh3y3W3DJk';
// ***IMPORTANT*** Enter Asshat's Account Below (No @)
var asshat = "asshatsaccount";
// No need to modify these variables
var steem = require('steem');
var dateTime = require('node-datetime');
var dt = dateTime.create();
var totalblocks = 0;
var totalvote = 0;
var totalcomment = 0;
//----- Script Started + Show Time
var starttime = dt.format('Y-m-d H:M:S');
console.log("===================================================================");
console.log("-------------------------------------------------------------------");
console.log("AssHat Hunter v0.0.1 ONLINE - By @KLYE - Listening to STEEM Network");
console.log("-------------------------------------------------------------------");
console.log("===================================================================");
console.log("---------------- Start Time: " + starttime + " ------------------");
console.log("-------------------------------------------------------------------");
console.log(" ");
//----- Grab Current STEEM Block
steem.api.streamBlockNumber(function(err1, newestblock) {
totalblocks++
console.log("-------------------------------------------------------------------");
console.log("Scanning STEEM Block #" + newestblock + " for Asshat Account @" + asshat);
console.log("-------------------------------------------------------------------");
console.log("Blocks Monitored this Session Against Asshats = " + totalblocks);
console.log("Upvotes This Session Against Asshats = " + totalvote);
console.log("Comments Flagged This Session Against Asshats = " + totalcomment);
console.log(" ");
});
//NOTE: Sometimes the Script Fails to Hook Into STEEM. Try Running Script Again if it Fails!
//----- See if Vote is our Target Asshat ----
var process_vote = function(op) {
if (op["voter"] == asshat) {
if(op["weight"] < 0 ){
totalvote++
console.log("-------------------------------------------------------------");
console.log("----- ASSHAT FLAG DETECTED - Deploying Counter Upvote! ------");
console.log("-------------------------------------------------------------");
steem.broadcast.vote(
herowifkey,
hero,
op["author"],
op["permlink"],
10000,
function(uperr, result) {
console.log(uperr, result);
}
);
}
}
};
//----- See if Comment is our Target Asshat ----
var process_comment = function(op) {
if (op["author"] == asshat) {
totalcomment++
console.log("-------------------------------------------------------------");
console.log("----- ASSHAT COMMENT DETECTED - Deploying Counter Flag! -----");
console.log("-------------------------------------------------------------");
steem.broadcast.vote(
herowifkey,
hero,
op["author"],
op["permlink"],
-10000,
function(downerr, result) {
console.log(downerr, result);
}
);
}
};
Requirements
![](https://steemitimages.com/640x0/http://puu.sh/tKWyb/f6474701c8.png)
Vote @klye for Witness!
https://steemit.com/~witnesses
![](https://steemitimages.com/640x0/http://puu.sh/rRLx4/cb96668c43.png)
A Proud STEEMbassador of Canada
Thank you for your votes, the opportunity and support!
![](https://steemitimages.com/640x0/http://puu.sh/tKIGy/41a005a9e1.png)
Good work, would you like to add it to the Steem-FOSSbot organisation on GitHub? Looks like a perfect fit for it. So far it's just me but I'd love to get other people involved and have Steem open source software in one place.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Sure man! I didn't realize this was a thing!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Cool! 😄 That's up now https://github.com/Steem-FOSSbot/asshathunter.js
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
dude, thank you so much!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
No problem sir. Use it for good not evil. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
very cool idea.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
GREAT JOB! thank you so very much for having such kind and helpful thoughts for us all. Maybe someone like me could eventually be able to apply the codes up above to make sure I wouldn't get attacked anymore, but we shall see!?!
Thanks again for sharing and namaste :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
No problem Eric. It's our right as STEEM users to be able to defend ourselves.; Hopefully with this tool users are able to fend off do-badder's in the future.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Can't agree more and surely look forward to see what is going to be up your sleeves as the so-called threats might diversify. All for one and one for all! Namaste :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
so awesome
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Punch in your account, your posting private key and the target asshat then all their flags you upvote and all their comments you downvote. Easy as pie. :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has been ranked within the top 25 most undervalued posts in the second half of Feb 02. We estimate that this post is undervalued by $11.21 as compared to a scenario in which every voter had an equal say.
See the full rankings and details in The Daily Tribune: Feb 02 - Part II. You can also read about some of our methodology, data analysis and technical details in our initial post.
If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That makes me smile every time I see it.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much!!! Upvoted & resteemed!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You are welcome Rich. Hopefully you find it useful
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
No problem automaton!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
heard he was powering down , so no more asshole trail of votes on comments :|, truly thought people would vote on comments more because of the bot :D , always thought he was cool , even when I had to drain my power to make posts visable :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
It can be used against any threat really. @asshole was just the reason I started the script. Even though the account is no longer valid I felt the need to finish this script in order to arm non-coder STEEM users to arm themselves if they or others are attacked.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
yay
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
seconding your yay, adding a hip hip hoorah!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
awesomeness
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks man. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I like the name :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you sir. :P
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thoughts :
That code would upvote with 100% for a 1% downvote.
If you had tried hunting @asshole that way, you would have run out of VP quickly.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'm aware of this... :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
what does this bot do? :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
It is a script to wage cyber warfare on STEEM. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
how does it work?
why do you support cyber warfare?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You basically change the script to add the person you are trying to defeat.. Then add your keys to make it work. It will listen to the network and flag them when they make posts or comments, vote if they flag someone and whatnot.
I don't condone cyber warfare on STEEM but at the time this app was written we were, as a community, seeing an increase in flag wars and users that didn't know how to code were left defenseless. This script was created to level the playing field per say.. If everyone has auto flag weapons it's far more fair.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
ah I understand :) thanks for pointing out
do you think it will be needed again after hf21?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Possibly. I've not had to use the script in well over a year now. Never know though.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Whats the defense against accounts that dont make posts or comments and downvote everyone?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Well done and much appreciated!
@kus-knee (The Old Dog)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
No Problem Old Dog. :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Love the name of the script. 😆
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@asshole already self-destructed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'm aware of this. Was the one who first reported it seemingly.
This can be used against ANY account that is threatening the peace of the Network or it's users.. Its 'was' built to combat @asshole but can wait in my arsenal of STEEM scripts waiting till it's needed. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
lol, why am I not surprised that YOU of all people would have an asshole-bot in your arsenal for future usage :D
I tried to combat him, ended up draining my vote-power down to the 30s :D
From Gun to Revolver - what do we do if there are 10 assholes or 100 assholes on steemit?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is an "anti-asshole" bot. Although now that I've got an understanding of how to build defensive / offensive bots I may make myself a more powerful version and keep it out of the public eye. It's kind of terrifying the possibilities and I'd rather have a few cards up my sleeve so to speak in the event of another @asshole type account.
I didn't get a chance to deploy asshunter.js against @asshole as he retired just before I got it working.. Darn. Oh well, I'm sure some other account will pop up to cause terror and thus will be smoked by the now armed citizens of STEEM.
Band together as a community and use modified versions of this script to combat them. Simple really. No longer is STEEM network defense simply a game for coders.. Anyone can now deploy counter measures. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
ha ha! great! Resteemed. Thanks for doing this.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you very much, cheers lovely.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit