msfcli auxiliary/scanner/ftp/anonymous RHOSTS=file://root/clients/clientname/nmap/ftphosts E
Apparently it only takes absolute paths unforuntaely, but if your using msfcli instead of msfconsole, why not use bash to your advantage?
msfcli auxiliary/scanner/ftp/anonymous RHOSTS=file://$(pwd)/ftphosts E
That line works great if you're 10 directories deep and are too lazy to type.
EDIT:
I noticed I didn't actually talk about msfconsole, in case it wasn't obvious you do "set rhosts file:/root/blah/ftp.hosts" or whatever your file is and it will take it.
Doesnt work if the module only takes on host though :(
No comments:
Post a Comment