The Spanner logo
    • Home
    • Blog
      • Blog home
      • RSS
    • Login
    • Home
    • Blog
      • Blog home
      • RSS
    • Login
    The Spanner logo

    The Spanner
    Web security blog

    Made by Gareth Heyes
    Follow me on Twitter: @garethheyes

    Javascript for hackers!

    Hackvertor logo
    Shazzer logo
    My Github account
    Recent posts
    Hackvertor check tags and conditionsMutating SafariPure-CSS 3D world collision detection How to write a Hackvertor tagIntroducing Feedworm: A Privacy-First RSS Reader That Lives in DevToolsSpeedy RSVP extensionAutoVaderHackvertor history and tag finderShadow Repeater v1.2.3 releaseBurp Hackvertor v2.1.24 releaseHacking roomsXSSing TypeErrors in SafarivalueOf: Another way to get thisMaking the Unexploitable Exploitable with X-Mixed-Replace on FirefoxThe curious case of the evt parameterCSS-Only Tic Tac Toe ChallengeRewriting relative urls with the base tag in SafariBypassing DOMPurify with mXSSNew IE mutation vectorHow I smashed MentalJSMentalJS DOM bypassAnother XSS auditor bypassXSS Auditor bypassBypassing the IE XSS filterUnbreakable filterMentalJS bypassesmXSSJava SerializationBypassing the XSS filter using function reassignmentRPOSandboxed jQueryX-Domain scroll detection on IE using focusEpic fail IEnew operatorDecoding complex non-alphanumeric JavaScriptHacking FirefoxDOM ClobberingBypassing XSS AuditorThe evolution of codeNon-Alpha PHP in 6-7 charset

    Spambam hits 1000 downloads

    By Gareth Heyes (@hackvertor)

    Published 19 years 5 months ago • Last updated March 22, 2025 • ⏱️ < 1 min read

    ← Back to articles

    The Spanner started to get over 20-30 comment spams per day, I wasn't happy! I decided to write a Wordpress plugin that would prevent automated comment spam. The Spanner hasn't had a single comment spam since I installed Spambam.

    It works by creating a secret spambam key and storing this in a cookie generated by javascript, the spammer doesn't execute javascript as they need to directly submit to the wordpress action file otherwise it would slow them down. The plugin is 100% free and I have also created a generic one which can be used by any form/blog.

    Wordpress version

    Generic version

    ← Back to articles