Spaces:
Runtime error
Runtime error
Download scripts/quicksploit.sh from dia-gov/Project-Red-Sword: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/spaces/dia-gov/Project-Red-Sword/resolve/main/scripts/quicksploit.sh
- Command line
-
hf download hf://spaces/dia-gov/Project-Red-Sword/scripts/quicksploit.sh
-
curl -L -o quicksploit.sh https://huggingface.co/spaces/dia-gov/Project-Red-Sword/resolve/main/scripts/quicksploit.sh
683 Bytes
| # | |
| # this script quickly runs a query list of search keywords provided from a file on ALL of the | |
| # available APIs. (Censys, Zoomeye, and Shodan) from there it will save all of them to the hosts.txt | |
| # file and you can do as you will with that | |
| # | |
| function doQuick() { | |
| for item in $(cat $1); do python autosploit.py -A -a -f etc/json/default_modules.json -q $item; done | |
| } | |
| function helpPage() { | |
| echo "./quicksploit.sh FILENAME"; | |
| exit 1; | |
| } | |
| function main() { | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "[!] must run script as root!"; | |
| exit 1; | |
| elif [[ ! -f $1 ]]; then | |
| helpPage; | |
| else | |
| echo "[+] starting quicksploit searching!"; | |
| doQuick $1; | |
| fi | |
| } | |
| main $@; |