
Metasploit mailing list archives
modifying aux/scanner/smb/version.rb
From: lazydj98 at yahoo.com (Joshua Smith)
Date: Wed, 5 Aug 2009 19:54:24 -0700 (PDT)
I modified a copy of aux/scanner/smb/version to output a csv-type output in order to consume it in another script, but I'd prefer that the output include all ips in the scan, even if they weren't running smb. e.g if I ran it with RHOSTS=192.168.1.1/24 I'd like the output to be 254 lines even if there are only 5 boxes up. I was wondering if there is a quick and dirty mod I can make to version.rb or ./lib/msf/core/exploit/smb.rb or the scanner mixin etc. Or if there's a way to make that happen naturally (I admit I didn't look much into the scanner/report action) -Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090805/b6227297/attachment.html>
Current thread:
- modifying aux/scanner/smb/version.rb Joshua Smith (Aug 05)
- modifying aux/scanner/smb/version.rb Ramon de Carvalho Valle (Aug 05)