Added the song as advertised.

This commit is contained in:
root 2020-10-01 20:03:01 -04:00
parent 9bf5b64eba
commit 86dce8134e
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,4 @@
colorama
toml
appdirs
playsound

Binary file not shown.

View File

@ -25,6 +25,7 @@ import toml
import termios
import appdirs
import shutil
import playsound
# Globals
verbose = 0
@ -719,6 +720,7 @@ def main():
nmap_group.add_argument('--nmap-append', action='store', default='', help='Append to the default {nmap_extra} variable in scans.')
parser.add_argument('-v', '--verbose', action='count', default=0, help='Enable verbose output. Repeat for more verbosity.')
parser.add_argument('--disable-sanity-checks', action='store_true', default=False, help='Disable sanity checks that would otherwise prevent the scans from running. Default: false')
parser.add_argument('--song', action='store_true', default=False, help='Be a 1337 h4x0r with this one simple trick!')
parser.error = lambda s: fail(s[0].upper() + s[1:])
args = parser.parse_args()
@ -727,6 +729,9 @@ def main():
errors = False
if args.song == True:
playsound("NORADNuclearMissleTones.mp3")
if args.concurrent_targets <= 0:
error('Argument -ch/--concurrent-targets: must be at least 1.')
errors = True