mailing list archives
[NSE] Recent additions
From: "Philip Pickering" <pgpickering () gmail com>
Date: Sun, 3 Aug 2008 22:11:21 +0200
a few new features have been added to the NSE in the last few days.
They are in the svn version, please test them and comment.
* the binlib, see 
* the hashlib, see below
* the SNMP library, see 
* the base64 library, see below
* the POP3 library
Four functions have been added to NSE:
The first two provide the digest as a hex string, the bin-versions
return the raw data.
It's independent of openssl being present.
_Base 64 library_
Is located in base64.lua and features two functions:
* base64.enc(data) encodes a given string,
* base64.dec(b64data) decodes it
The capabilities function was already presented in .
The library now features functions for several login methods:
* login_user (...)
* login_apop (...)
* login_sasl_plain (...)
* login_sasl_login (...)
* login_sasl_crammd5 (...)
Each function takes three arguments, for example
login_user(socket, user, pw), except login_apop which
takes a fourth containing the server challenge necessary
for APOP authentication. They expect to be called at the
beginning of a POP3 session , right after the server greeting.
They return a boolean for success notification and an
error code (see err table in pop3.lua).
brutePOP3.nse demonstrates an example usage.
Other newly added scripts include a modified version of
Thomas Buchanan's SNMPsysdesr.nse using the SNMP
library and SNMPcommunitybrute.nse trying to guess
the community string.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org
- [NSE] Recent additions Philip Pickering (Aug 03)