1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Got Spammers? Fight Back with SpamX - The Blackhat Spam Fighting WP Plugin

Discussion in 'PHP & Perl' started by ExtremeSEO, Aug 10, 2011.

  1. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    Got spammers? It's now time to fight back using SpamX!
    ***which is ironic since I am a spammer ;)

    A simple script that automates the ultimate spammer payback! When a spammer posts a comment, the info is saved to the database. The system then auto-comments/spams their blog/URL and then sends you an e-mail notifying you.

    You can also have this work across unlimited blogs or WP Multi-sites. Just setup the plugin on each site and insert the main "Collection Center" URL in the plugin's option area. This will then save all of the spam URL's to one database and .txt file.


    This is how it works:

    1. A spammers comments on your blog.
    2. SpamX saves their data in the "Collection Center".
    3. Auto spam-back is sent.
    2. An e-mail is sent to you notifying you of the new update
    5. A master .txt file containing all of the spam URL's is created and saved within the plugin folder

    Here is a quick overview of how it works:

    [​IMG]


    ********************
    I created this for fun for you guys! ...at 3am last night/this morning. So if there are any bugs, don't get angry. Please kindly just let me know so that I may fix them and re-upload new versions.
    ********************


    Known Issues/Bugs:

    - The plugin script is pretty basic and I have not yet created any conditionals. So if there is another plugin or script in your WordPress setup that sends e-mails, you may experience a script conflict and/or e-mails not being sent.

    - There is a known bug in the comment posting. At current, I have noticed that only about 25% of the comment-able sites and actually being commented upon and I am currently looking into the cause of this.


    Download:
    HTML:
    http://www.mediafire.com/?z39af71c1eauuez
    Virustotal
    HTML:
    http://www.virustotal.com/file-scan/report.html?id=b135036d0619046a73e0a2f4990f84a3cc78ce7c6bae7095f30e4174222ff5a9-1313008042

    Configuration:

    Configuration is easy.
    1. Go to "Settings" > "SpamX"
    2. Enter the location of your "collection.php" file (or Collection Center)
    3. Example: http://yoursite.com/wp-content/plugins/SpamX/collection.php
     
    • Thanks Thanks x 10
  2. WizGizmo

    WizGizmo Super Moderator Staff Member Premium Member

    Joined:
    Mar 28, 2008
    Messages:
    3,833
    Likes Received:
    55,431
    The downloads section is STRICTLY for internet marketing
    related items, such as PDF's with methods, SEO apps, etc.

    SpamX is more along the lines of a website utility. Therefore,
    I have moved this thread to the PHP & Pearl section, since
    it is a non internet marketing PHP script.

    Thank you to ExtremeSEO for sharing though. :)

    "Wiz"
     
  3. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    my bad...thanks Wiz
     
  4. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    hmm...seems no one appreciates this script huh?
     
  5. angelas111

    angelas111 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 4, 2009
    Messages:
    1,569
    Likes Received:
    1,016
    Location:
    ohio
    perhaps i missed it but does it stop spam?
     
  6. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    it doesn't stop spam, but basically spams back the spammer.
     
  7. Turenne

    Turenne Newbie

    Joined:
    Jul 9, 2011
    Messages:
    15
    Likes Received:
    13
    I'm not sure how easy it would be to add, but instead of spamming the spammers back, why don't you take their url and check the backlinks.

    From there you could test their backlinks for auto-approve, ideally with a post of something like "(spammers url) belongs to a spammer, and I see you have comment spam from them. Unless you wish to encourage them, I would suggest that you delete their comments immediately. Thank you and have a nice day".

    That way you get free AA lists and maybe even get some of the spammers' backlinks deleted.
     
    • Thanks Thanks x 1
  8. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    It actually already does that. It saves the sites in a .txt file within the plugin folder and sends you emails with the lists.
     
  9. Turenne

    Turenne Newbie

    Joined:
    Jul 9, 2011
    Messages:
    15
    Likes Received:
    13
    Unless I am completely missing something in the code, I do not think it already does what I am suggesting.

    As you said, this is what it does...

    What I am suggesting would be

    1. A spammer comments on your blog
    2. SpamX saves their data in the "Collection Center".
    3. SpamX scrapes the backlinks from the site the spammer was promoting.
    4. SpamX checks the list of backlinks for urls it can post to.
    5. SpamX posts to the urls it can post to, preferably with a message detrimental to the spammer who originally spammed your blog.
    6. SpamX checks the URLs it posted to to see if the posts were auto-approved.
    7. An email is set to you with a list of all the auto-approve blogs SpamX found.
    8. A .txt file containing all the spam URLs is created, a .txt file containing all the auto-approved URLs is created, and a .txt file containing all the URLs that SpamX tried to post to (auto approve or not) is created.

    A different beast entirely, I think. And obviously a much different project than what you posted. But it seems to me that my version would cause the spammers much more grief (and you much more gain), than just spamming them back would. :D
     
    • Thanks Thanks x 2
    Last edited: Aug 12, 2011
  10. ronegraT

    ronegraT Power Member

    Joined:
    Dec 29, 2010
    Messages:
    620
    Likes Received:
    101
    Occupation:
    sleeping
    Location:
    Sweden
    Is it safe to use this or could you get in trouble whit for example google?
     
  11. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    It is perfectly safe to use. Besides the comment backlinks that you are creating on the spammers website, Google is never involved.
     
  12. ronegraT

    ronegraT Power Member

    Joined:
    Dec 29, 2010
    Messages:
    620
    Likes Received:
    101
    Occupation:
    sleeping
    Location:
    Sweden
    Ah, i just thought that it was a webpage that sent out the comments/spam and it wasnt protected by proxies

    But when you put it that way i do belive its safe :)
     
  13. fox1

    fox1 Newbie

    Joined:
    Aug 10, 2008
    Messages:
    36
    Likes Received:
    112
    Occupation:
    Online marketing, web design, soon offering linkbu
    Location:
    Midwest/USA
    I think your ideas are great! I was thinking though, that not everyone that spams is a 'spammer'. Many of these people are 'newbies' that need someone to show them the ropes, so to speak. Ideally it would be great to obtain the spammer's email address so you can email them.

    I know I have picked up customers, (and friends) by kindly replying to a spammer's email with email marketing safety tips!

    Thanks for your ideas!
     
  14. fox1

    fox1 Newbie

    Joined:
    Aug 10, 2008
    Messages:
    36
    Likes Received:
    112
    Occupation:
    Online marketing, web design, soon offering linkbu
    Location:
    Midwest/USA
    Thanks Extreme SEO for sharing this! I'm going to see if I can further develop it myself, (although I barely know what I'm doing, lol) but I'm anxious to see what further developments and ideas you come up with. :)
     
  15. kingfuzz

    kingfuzz Junior Member

    Joined:
    Mar 24, 2011
    Messages:
    131
    Likes Received:
    23
    Location:
    716
    This is badass extremeseo your a beast man another great piece of work
     
  16. agente808

    agente808 Regular Member

    Joined:
    Aug 23, 2009
    Messages:
    458
    Likes Received:
    196
    Location:
    on Vacation
    this is hilarious!!!

    What happens if 2 blogs with this plugin get into a loop?
    Is there something to stop them or would they spam eachother to death?
     
    • Thanks Thanks x 1
  17. fab

    fab Registered Member

    Joined:
    Jan 28, 2008
    Messages:
    64
    Likes Received:
    28
    I did not use the plugin yet, but it shouldn't be too difficult to use it this way. If it sends you the urls of the spammers you just collect them, put in scrapebox backlink checker, gather all the backlinks and run Fast Poster/Slow Poster to look for AA.
     
  18. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    LOL...I never thought of that....I guess the bigger server would win ;)
     
  19. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    Awesome...glad you like :)
     
  20. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    Great! Let me know what you come up with