Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




fulldisclosure logo Full Disclosure mailing list archives

Re: SSH brute force blocking tool
From: "J. Oquendo" <sil () infiltrated net>
Date: Fri, 01 Dec 2006 07:26:01 -0500

Tonnerre Lombard wrote:


In this case, your awk statement checks that argument $6 is
"Illegal" (which it is) and argument $9 is "from" (which it is). So it
takes $10 and prints it (in this case, mars.)

If you check $10 to look like an IP address, I set my username to
"bikermice from 217.14.64.1", you're going to blacklist 217.14.64.1
because it is a valid IP.

                                Tonnerre

So again... Some of you guys need to go back and read before you post....

awk 'NF<=10&&($6=="nvalid"||$7=="user")&&$9=="from"{print $10}'


Once you try a moronic name insertion it makes the columns more than 10 rows invalidating it. Is this a difficult concept to understand? Set your host to whatever you would like, its been discussed and resolved. Is there anything else? Perhaps I should re-write TCP into the script
to ensure no one ever spoofs again.

--
====================================================
J. Oquendo
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743
sil . infiltrated @ net http://www.infiltrated.net
The happiness of society is the end of government.
John Adams

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]