SQLI DORKS – FIND INJECTABLE SITES BEFORE ANYONE ELSE
What is SQL injection? Simple version
SQL is the language websites use to talk to their databases. When a site builds a query without checking what you type, you can make it do things it shouldn't, dump passwords, leak customer data, even take over the server. You type something sneaky into the search box or the URL, and the database does what you say instead of what the site intended. The formula is always the same: a dynamic page + poor input validation = injection.
The core dork patterns
Every SQLi target has a dynamic URL. These are the skeleton patterns:
Code:
inurl:index.php?id= inurl:product.php?id= inurl:item.php?id= inurl:news.php?id= inurl:page.php?id= inurl:view.php?id= inurl:article.php?id= inurl:detail.php?id= inurl:content.php?id= inurl:main.php?id= inurl:cat.php?id= inurl:prod.php?id= inurl:shop.php?id= inurl:read.php?id= inurl:show.php?id= inurl:info.php?id= inurl:mod.php?id= inurl:gal.php?id= inurl:download.php?id= inurl:search.php?q= inurl:category.php?id= inurl:subcat.php?id= inurl:pid= inurl:page= inurl:prd= inurl:product= inurl:item= inurl:view= inurl:news= inurl:article= inurl:detail= inurl:cat= inurl:content= inurl:redir= inurl:go= inurl:link= inurl:load= inurl:click= inurl:submit= inurl:search=
Not everything is PHP. These find the Microsoft stack:
Code:
inurl:.asp?id= inurl:.aspx?id= inurl:.cfm?id= inurl:.jsp?id= inurl:.php?id= inurl:.cgi?id= inurl:.shtml?id= inurl:.pl?id= inurl:.php3?id= inurl:.php4?id= inurl:.php5?id= inurl:.do?id= inurl:.action?id= inurl:default.asp?id= inurl:index.asp?id= inurl:news.asp?id= inurl:view.asp?id= inurl:article.asp?id=
Every platform has known injectable patterns. WordPress:
Code:
inurl:wp-content/plugins/ inurl:wp-admin/admin-ajax.php inurl:wp-json/wp/v2/ inurl:"?p=" intitle:wordpress inurl:"?page_id=" -inurl:wp-login inurl:wp-login.php intext:"username"
Code:
inurl:index.php?option=com_ inurl:index.php?option=com_content inurl:index.php?option=com_contact inurl:index.php?option=com_news inurl:index.php?option=com_search inurl:index.php?option=com_user inurl:index.php?view=article inurl:/node/ inurl:/node/1 inurl:/drupal inurl:/joomla inurl:/magento inurl:/prestashop inurl:/opencart inurl:/xenforo
The 500+ list is the start, not the finish. To make dorks that others don't have, combine operators:
Code:
inurl:.php?id= intext:"© 2023" -intext:"© 2026" inurl:.asp?id= -inurl:login -inurl:admin inurl:product.php?id= intext:"out of stock" inurl:news.php?id= site:gov.* inurl:item.php?id= site:edu.* inurl:.php?id= intext:"powered by" -intext:"wordpress" inurl:.asp?id= intext:"shopping cart" inurl:category.php?id= intext:"USD" inurl:.php?id= inurl:/shop/ inurl:.php?id= intext:"contact" inurl:.php?id= ext:php inurl:.asp?id= ext:asp
Code:
inurl:.php?id= site:.pk inurl:.php?id= site:.in inurl:.php?id= site:.bd inurl:.asp?id= site:.ng inurl:.php?id= site:.id inurl:.php?id= site:.np inurl:.php?id= site:.lk
- Open the candidate URL and add a quote mark to the id value: site.com/item.php?id=5'
- Error or weird behavior? The site is echoing your input, potential injection point.
- Mark the working URLs and run them through sqlmap for the real check.
- sqlmap basics: sqlmap -u "site.com/item.php?id=5" --batch --dbs
- Only ever test on sites you're allowed to test. Seriously.
Public SQLi dork lists get burned in a week. Everyone uses them, Google starts showing the same 100 old results, and the good stuff hides. When you build your own combinations, your own platforms, your own countries, your own operator stacks, you see targets the masses miss. Ten minutes of creative combining beats any old pastebin list.
SQLi dork FAQ
Are these dorks legal to use?
Searching is fine. Testing without permission is not, use them on your own lab sites or authorized targets.
How often should I build new dorks?
Weekly. Sites get patched, indexes change. Fresh dorks = fresh targets.
Dorks or scanners?
Dorks find the candidates, then tools like sqlmap and Masscan do the heavy lifting. Both, in order.
Why does Google return nothing?
Slow down, automated searches get filtered. Space out your queries and vary the phrasing.
Last edited: