-
-
Save trackscorer/8d6a24b9f6cf4042c13a4ce932b35ca0 to your computer and use it in GitHub Desktop.
This file contains 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 | |
read -p "Target IP/Hostname:" val | |
echo "$val" | |
ADDR=$val | |
TMPSTR=`ping ${ADDR} -c 1 | grep ${ADDR} | head -n 1` | |
echo ${TMPSTR} | cut -d'(' -f 2 | cut -d')' -f1 | |
read -p "Save scan as (XML):" file | |
echo "$file" | |
nmap -p- -sV -O "$val" -oX "$file" | |
read -p "Input url and ext:" url ext | |
echo "$url" | |
echo "$ext" | |
python3 ./dirsearch.py -u "$url" -e "$ext" -s 3 -b | |
echo "game over!"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment