This is a POC for using nim for IT security.
- This code will do a bing search checking for
php?id=
in the URL - It will then catch 5 pages with 50 results on each and save the URLs in the
sqlurls.txt
- Each URL will be checked for SQL error messages in
sql.txt
- If an error is found, the URL will be save in
sqliprone.txt
- nim
nimble q
To run the code, you'll need to include the ssl flag (-d:ssl
).
Run it with: nim c -d:ssl -r gdork_sqli.nim
Run it with: ./gdork_sqli