Since Google was unavailable, baidu has been the only one in China, with almost no competitors, and it is also our most commonly used search engine every day.
Do you know how *** uses the grammar of the Baidu search engine to search for the desired resources and meat machines? Let’s start with a few examples, and leave the grammar behind.
Example 1: Search and log in to the background
inurl:login.jsp #Search all web pages that contain login.jsp in the url, look at the picture below, and search for many system login interfaces
Example 2: Search for the password file passwd
index of /passwd# will list all websites without password files
Example 3: Search for management address
intext:管理#Search a lot of website background management pages
Example 4: SQL injection point search:
site:tw inurl:asp?id=#Find a website located in Taiwan. The path contains asp?id= URL#Students who have read the previous article should understand that this is to find the injection point of Sql injection***
Web****** actual combat (1)—successful*** official website of a purification equipment company
Example 5: Resource search
index of mp3#Search the URL of mp3 resources
Example 6: Find the background database management page
inurl:/phpmyadmin#Find the background database management page
Well, there are so many examples, here is the search syntax, you can test and play by yourself.
***Search syntax:
Here are some common syntaxes:
intext: This is to use a certain character in the body content of the web page as a search condition. For example, input in baidu: intext: dynamic web will return all web pages that contain "mov web" in the body of the web page allintext: usage and intext similar.
intitle: Similar to the intext above, search for the characters we are looking for in the title of the webpage. For example, search: intitle:Linux***小课 will return all webpages that contain "Linux***小类" in the title. The same is true for allintitle : Also similar to intitle.
Cache: Searching the cache of certain content in baidu may sometimes find some good things.
define: Search for the definition of a word.Search: define: hacker will return the definition of hacker.
filetype: This I want to focus on recommending whether it is a net type*** or information collection for a specific target, you need to use this search for files of a specified type. For example, input: filetype:doc will return all file URLs ending in doc. Of course, if You can also find .bak, .mdb or .inc, and the information may be more abundant
info: Find some basic information about the specified site
inurl: Search whether the characters we specify exist in the URL. For example, input: inurl:admin will return N connections similar to this: http://www.xxx.com/xxx/admin The URL used to find the administrator to log in is good allinurl is similar to inurl, multiple characters can be specified
link:Search:inurl:www.4ngel.net can return all URLs that link to www.4ngel.net
site: This is also very useful. Search: site: www.Linux***小课.net will return all URLs related to the site of Linux***小课.net
Operators can be used together to list the words that baidu may ignore as the query range-ignore a word ~ agree with the word. A single wildcard * wildcard can represent multiple letters "" precise query