Created
October 18, 2017 04:46
-
-
Save mainframed/b6aa4fab46f0cbc111a5ac09863d8385 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Nmap can crash when scanning large ranges | |
# To use this script, start your scan with whatever | |
# nmap options you want making sure you use -oA <filename> | |
# or -oG <filename> (you need the gnmap file) then cancel | |
# the scan. replace <filename> below and run this script. | |
# It will also record when it failed to a file called failed.txt | |
until nmap --resume <filename>.gnmap | |
do | |
date >> failed.txt | |
done | |
#copyright SoF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment