[framework] Reading RHOSTS from a file.

Kashif Iftikhar a10n3.s7r1k3r at gmail.com
Mon Apr 23 17:39:08 CDT 2007


Hello,

  I need suggestions to implement a way to read target hosts from a
file similar to the RHOSTS parameter in most scanner modules of type
OptAddressRange. What would be the best way to implement it? Should I
try adding another option type say 'OptAddressRangeFromFile' that
takes in a filename and reads addresses from it and then converts it
into address range sets? Or creating a plugin that adds a command to
MSF say 'read_addresses_from_file' and stores it into the specified
option?

- Kashif.



More information about the framework mailing list