Well played. This is the funniest code I've ever seen.
thedailywtf.com3 pointsby wendroid0 comments
nameserver 8.8.8.8
to nameserver 127.0.0.1
8.8.8.8 is google's speedy dns echo 'helo ycombinator.com
MAIL FROM: <[email protected]>
RCPT TO: <[email protected]>
DATA
Subject: virus trigger
To: [email protected]
From: [email protected]
Content-Type: multipart/mixed; boundary=----------yeODUdrHXSboO0pEkHkAqW
MIME-Version: 1.0
Date: Wed, 26 May 2010 17:42:00 +0100
------------yeODUdrHXSboO0pEkHkAqW
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
have a virus matey
------------yeODUdrHXSboO0pEkHkAqW
Content-Disposition: attachment; filename=eicar_com.zip
Content-Type: application/zip; name=eicar_com.zip
Content-Transfer-Encoding: Base64
UEsDBAoAAAAAAOCYuCg8z1FoRAAAAEQAAAAJAAAAZWljYXIuY29tWDVPIVAlQEFQ
WzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNU
LUZJTEUhJEgrSCpQSwECFAAKAAAAAADgmLgoPM9RaEQAAABEAAAACQAAAAAAAAAB
ACAA/4EAAAAAZWljYXIuY29tUEsFBgAAAAABAAEANwAAAGsAAAAAAA==
------------yeODUdrHXSboO0pEkHkAqW--
.' | nc mail.anybots.com 25 # ycombinator.com's mx
and while we're here, let's send some certified SPAM echo 'MAIL FROM: <[email protected]>
RCPT TO: <[email protected]>
DATA
Subject: spam trigger
To: [email protected]
From: [email protected]
Date: Wed, 26 May 2010 17:42:00 +0100
some spam
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
.' | nc mail.anybots.com 25 # ycombinator.com's mx
2) if you can, require a certificate to connect rather than a password
3) disallow root to ssh and then IPban anyone who tries to login as root
I use this http://www.maht0x0r.net/denial.html
I wrote it a long time ago, I might do it slightly different now but it's been running for 5 years or so.