Nmap Development mailing list archives

Re: NSELib RFC -- NetBIOS / SMB


From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 09 Sep 2008 11:37:48 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ron wrote:
Hey guys,

As promised, I took apart smb-probe.nse and turned into a couple nselib
libraries. For anybody who hasn't done nselibs before, I'll just say for
the record -- it's extremely easy!

Anyways, I included smb-probe.nse for now, and it still works as it did
before, but it's only a demonstration of what smb.lua and netbios.lua
do. I'm going to re-write it as a handful of smaller and more targeted
scripts.


Yep, just to show it all works for me:

Host script results:
|  Probe SMB for information:
|  Computer name from SMB: MSHOME\
|  System time from SMB: 2008-09-09 11:25:04 [UTC-5]
|  SMB Security: User-level authentication
|  SMB Security: Challenge/response passwords supported
|  SMB Security: Message signing not supported
|  OS detection from SMB: Unix
|  LAN Manager from SMB: Samba 3.0.28a
|  Null sessions enabled
|_ Guest account enabled


So anyways, any thoughts on how this looks, or how it's set up? I'll
post a couple useful scripts later this week, hopefully.


Cool stuff.  Since you're writing smaller scripts, are you just going to
update the scripts that already exist like nbstat to use the new libs, or do
you have something else in store?

Thanks,
Ron


Thanks,
Kris Katterjohn


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBSMamWv9K37xXYl36AQLecQ//VXshevyYn8C0b26b0bxGfUU44y2ZB/sY
O7D9AxyT2SQF8oD7GqzwKlFG4nqeNITo2BasmVaAR7qnGYxBVGgxW2uV4DjUtfet
AWw9Qeo3bZTe85hpwz1eA9s/3mJlZKMJ20JIsz07syaJ93pxxrgGmBVW3xFBjWU1
iF3glhULAh6Dx0+4cZAefLcjYxw211yZPBQorFUF9EX7iStempPe7J+YdZIfBxNH
9ihnnSsLGAldIT33+LuSTiICFYiJJvkzO80e0DqYn1n0gXevxSohqKvphB2f14os
R+ToavAMOwKIps/9V11LOtuwUqmqYxwm6CLS87RYVYe5d2wWea84RpsY8wlvjFWh
9lyZLwDCSl9QvdFeu7jH2wcq6VTyjwT5R20kZX1S5i5qlI/TXFggJWQ1dy1oZ+IV
pU5CEk7+MILfVeVIB/HWEkcgbV3YzTjfkDIpPT8kICp2SnFqS5NFxyq2qhoFU+6W
TEW3ZSKOGGbkbnqNoUQv9t/HcHJU1/wsyDv/cY7HSGY0t/bcbfCT8PVNY+kXIkIM
1En/4wmnhLCk5vZ9LMf/XQR66hazUNucFTvZVQsKFeXNXqw2zA6cS3/cbQuqdHB7
aJHFzgqV5vSFTUXn/4Onu+CSJdFuLQkL7rt1q5vK/mChYv3cox2124FSpuBUTPoZ
Nrw/kSzof/M=
=+meT
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: