Nmap, Scanning From A Text File?

Discussion in 'Software' started by Chucky Buck, Aug 15, 2020.

  1. Chucky Buck

    Chucky Buck Private E-2

    Need a little help with Nmap. I am attempting to perform a scan from a txt file. The txt file is in the Nmap folder. I am using Win10. Nothing I do will allow the scan because it is saying Failed to resolve "list.lst". So I move it to a folder named Logs on my desktop but I get this - Failed to resolve "C:\Users\Universe\Desktop\Logs\list.lst".

    I know in the Nmap properties folder it is write protected but nothing I have done will allow me to change that. I have changed ownership but it says I am the owner. Write protected is ticked but if I untick it and close out then go back in it is ticked again. This is why I put the file on my Desktop.

    I believe I am doing everything right but it is just not allowing me to scan from a text no matter what.
     
  2. plodr

    plodr Major Geek Super Extraordinaire

    I never heard of Nmap so I had to do some searching.
    Here is info on opening, not scanning a file with the 1st extension.
    https://www.reviversoft.com/file-extensions/1st

    Open it and see what it contains.
     
  3. Chucky Buck

    Chucky Buck Private E-2

    It's not a 1st file but a lst file know as a list file. Basically it is a txt file. I really don't think it matters if you use a .lst file or a .txt file. However I am just so used to using a .lst when it comes to Nmap for some reason. But there isn't a difference in my mind.
     
  4. foogoo

    foogoo Major "foogoo" Geek

    You're using the command nmap -iL list.lst and the targets in the list are reachable from your network?
     
  5. Replicator

    Replicator MajorGeek

    Check that the targets within your txt file are correctly presented.
    Separated by a new line etc.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds