IMCAFS

Home

penetrating artifact series

Posted by punzalan at 2020-04-13
all

Published on May 19, 2017 | classified in safety tools | heat degree ℃

Search engine is one of the most frequently used tools in my daily work. The commonly used search engines in China include Baidu, sougou, Bing, etc. But what I want to record in this article is not these commonly used search engines, but several necessary Internet search engines for information security practitioners. The search engines to be introduced include: Shodan, censys, Zhong Kui's eye, Google, fofa, dnsdb, etc. The content introduced is mainly some advanced syntax of these search engines. Mastering the advanced syntax will make the search results more accurate. This article can be used as a reference for those who have forgotten the syntax of search engine, that's all

Google search engine

The reason why we want to introduce Google search engine here is that it is different from Baidu, Sogou and other content search engines, and it has an unusual position in the security field, and even a special term for Google hacking is used to describe the unusual relationship between Google and security.

Google basic syntax

Index of / can be used to directly access all files and folders under the homepage of the website. Intext: all pages containing keywords in the body of the page will be returned. Intitle: will return pages with keywords in all page titles. Cache: search the Google cache for certain content. Define: search for the definition of a word. Filetype: search the specified file types, such as. Bak,. MDB,. Inc, etc. Info: find some basic information about the specified site. Inurl: search whether the character we specified exists in the URL. Link: link: thief.one can return all URLs linked with thief.one. Site: site: thief.one will return all URLs related to this site.

+List the words that Google may ignore, such as query scope. -To omit a word, for example, add - slope. ~Consent. . a single wildcard. *Wildcard, which can represent multiple letters. '' exact query.

Search websites in different countries

One

Two

Inurl: TW Taiwan

Inurl: JP Japan

Using Google mob

The database files that can be downloaded directly on the Internet can be searched by using Google. The syntax is as follows:

One

Two

Three

Four

Five

Six

Seven

Eight

Nine

Ten

Eleven

Twelve

Thirteen

Fourteen

Fifteen

inurl:editor/db/

inurl:eWebEditor/db/

inurl:bbs/data/

inurl:databackup/

inurl:blog/data/

inurl:\boke\data

inurl:bbs/database/

inurl:conn.asp

Inc/conn.asp

Server.mapPath(“.mdb”)

allinurl:bbs data

filetype:mdb inurl:database

filetype:inc conn

inurl:data filetype:mdb

intitle:"index of" data

Searching sensitive information by using Google

Google can be used to search sensitive information of some websites. The syntax is as follows:

One

Two

Three

Four

Five

Six

Seven

Eight

Nine

Ten

Eleven

intitle:"index of" etc

intitle:"Index of" .sh_history

intitle:"Index of" .bash_history

intitle:"index of" passwd

intitle:"index of" people.lst

intitle:"index of" pwd.db

intitle:"index of" etc/shadow

intitle:"index of" spwd

intitle:"index of" master.passwd

intitle:"index of" htpasswd

inurl:service.pwd

Using Google to search the information of segment C server

This technique comes from lostwolf

One

site:218.87.21.*

The service information of 218.87.21.0/24 network can be obtained through Google.

Shodan search engine

The network search engine of Shodan prefers the search of network devices and servers. The specific content can be found on the Internet. Its advanced search syntax is given here. Address: https://www.shodan.io/

Search syntax

For more information, please refer to: http://xiaix.me/shodan-xin-shou-ru-keng-zh-nan/

Censys search engine

The function of censys search engine is similar to that of Shodan. The following document information. Address: https://www.censys.io/

One

Two

Three

Four

Https://www.censys.io/certificates/help help help documentation

Https://www.censys.io/ipv4? Q = IP query

Https://www.censys.io/domain? Q = domain name query

Https://www.censys.io/certificates? Q = certificate query

Search syntax

By default, censys supports full-text retrieval.

Eyes of Chung Kui

Zhong Kui's eye search engine tends to search at the web application level. Address: https://www.zoomeye.org/

Search syntax

Fofa search engine

The fofa search engine prefers asset search. Address: https://fofa.so

Search syntax

Advanced search:

Dnsdb search engine

Dnsdb search engine is a query platform for DBS parsing. Address: https://www.dnsdb.io/

Search syntax

Dnsdb query syntax structure is condition1 condition2 condition3 . each condition is separated by a space. Dnsdb will return the results satisfying all query conditions to the user

Domain name query criteria

Domain name query means to query all DNS records of the top-level private domain name. The query syntax is domain:. For example, query all DNS records of google.com: domain: google.com. Domain name query can omit domain:

Host query criteria

Query syntax: host: for example, query the DNS record whose host address is mp3.example.com: host: map3.example.com the difference between the host query criteria and the domain name query criteria is that the host query matches the host value of the DNS record

Query by DNS record type

Query syntax: Type:

Press IP limit

Query syntax: IP: query specified IP: IP: 8.8.8.8, which is equivalent to entering 8.8.8.8 directly to query specified IP range: IP: 8.8.8.8-8.8.255.255cidr: IP: 8.8.0.0/24ip maximum range limit 65536

Example of conditional combination query

Query all a records of google.com: google.com type: a

This article will continue to add some content

Portal

[penetration artifact series] NC [penetration artifact series] nmap [penetration artifact series] Fiddler [penetration artifact series] Wireshark

Welcome to sweep the WeChat official account above and subscribe to my blog!

Popular article recommendation: