Menu

Text File Input

Ryan Kellerman

Text File Input

This is a hidden feature of the script as there really is no sensible way I could come up with of advertising its existence through the UI.

The system does a good job running through an Active Directory environment but sometimes a domain is not what you intend to scan. In these cases one of your options could be to scan a specific list of host names or IP addresses.

The method I've built in to do this is sourcing from a simple text file. In the case of this script if you create a file named targets.txt and place it in the same folder as the script itself much of the input on the Execute tab is ignored when you click the run button. In this case the input on the Options tab is still relevant however the script will not do a local workstation scan or a domain scan; the script in the processing screen's title bar will display Scanning systems found in the file targets.txt and will parse names from this file and scan them.

There are two ways to delimit file names in the text, you can use one or the other, or both.

  • Carriage Returns/Line Feed
  • Commas

A common technique used is to generate a list of IP addresses in Excel and save that to a text file named targets.txt and then to run against the list. This feature is handy when used in conjunction with adding multiple credentials.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.