Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naufalardhani/domhttpx

domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.
https://github.com/naufalardhani/domhttpx

dorker google http-client httpx penetration-testing python python3 search-engine

Last synced: about 2 months ago
JSON representation

domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.

Awesome Lists containing this project

README

        










domhttpx is a [google search engine dorker](https://github.com/MarioVilas/googlesearch) with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.



# List
- [Install](#install)
- [Usage](#usage)
- [Flags](#flags)
- [Basic Usage](#basic-usage)
- [One Keyword](#one-keyword)
- [Multiple Keyword](#multiple-keyword)
- [Extract Title Page](#extract-title-page)
- [Extract Title Page from Real Path](#extract-title-page-from-real-path)
- [Extract Status Code](#extract-status-code)
- [Extract Status Code from Real Path](#extract-status-code-from-real-path)
- [Extract Web Server](#extract-web-server)
- [Running Example](#running-example)
- [Help & Bugs](#help--bugs)
- [Thanks](#thanks)

# Install

### For Windows, Linux and Mac.

```sh
> git clone https://github.com/naufalardhani/domhttpx.git
> cd domhttpx
> pip3 install -r requirements.txt
> python3 domhttpx.py --help
```

### With Docker

```sh
> docker pull naufalardhani/domhttpx:0.0.1
> docker run naufalardhani/domhttpx:0.0.1 --help
```

# Usage

### Flags
This will display help for the tool. Here are all the switches it supports.

| Flag | Description | Example |
| ------------------- | ---------------------------------------------------------- | ------------------------------------------------------- |
| -ip, --only-ip | Show output as IP only | domhttpx --only-ip |
| -od, --only-domain | Show output as domain only | domhttpx --only-domain |
| -rp, --real-path | Extract real path | domhttpx -k [keyword] -a [amount] --real-path |
| -p, --path | Custom path url | domhttpx -k [keyword] -a [amount] --path [custom_path] |
| -sc, --status-code | Extract status code | domhttpx -k [keyword] -a [amount] --status-code |
| -t, --title | Extract title page | domhttpx -k [keyword] -a [amount] --title |
| -ws, --web-server | Extract web server | domhttpx -k [keyword] -a [amount] --server |
| -cr, --check-result| Check list result | domhttpx --check-result |
| -sr, --show-result | Show result content | domhttpx --show-result result.txt |
| -rr, --remove-result| Remove result file | domhttpx --remove-result result.txt |
| -o, --output | File to write output | domhttpx -k [keyword] -a [amount] -o output.txt |
| -s, --silent | Show only subdomains in output | domhttpx -k [keyword] -a [amount] --silent |
| -v, --version | Show current program version | domhttpx --version |

### Basic Usage
```sh
> domhttpx.py --keyword [keyword] --amount [amount]
```

### One keyword
```sh
> domhttpx.py --keyword pentesting --amount 5
```

### Multiple keyword
```sh
> domhttpx.py --keyword "pentesting basic" --amount 5
```

### Extract Title Page
```sh
> domhttpx.py --keyword "pentesting basic" --amount 5 --title
```

### Extract Title Page from Real Path
```sh
> domhttpx.py --keyword "pentesting basic" --amount 5 --title --real-path
```

### Extract Web Server
```sh
> domhttpx.py --keyword "pentesting basic" --amount 5 --web-server
```

# Running Example
### Running domHttpx with default command
This will run an automatic search tool with the specified keyword and number
```
➤ domhttpx.py --keyword indonesia --amount 20

_ _ _ _ _
__| |___ _ __ | || | |_| |_ _ ____ __
/ _` / _ \ ' \| __ | _| _| '_ \ \ /
\__,_\___/_|_|_|_||_|\__|\__| .__/_\_\
|_| v1.0.0

naufalardhani.com

https://www.suara.com
https://www.suara.com
https://www.suara.com
https://en.wikipedia.org
https://en.wikipedia.org
https://en.wikipedia.org
https://en.wikipedia.org
https://en.wikipedia.org
https://id.wikipedia.org
https://id.wikipedia.org
https://id.wikipedia.org
https://id.wikipedia.org
https://id.wikipedia.org
https://www.indonesia.travel
https://www.britannica.com
https://indonesia.go.id
https://www.garuda-indonesia.com
https://wikitravel.org
https://www.aljazeera.com
https://www.worldbank.org

[INFO] Searching domain for indonesia keyword
[INFO] Found 20 domain
```

### Show output as IP
```
➤ domhttpx.py --keyword indonesia --amount 9 --only-ip

_ _ _ _ _
__| |___ _ __ | || | |_| |_ _ ____ __
/ _` / _ \ ' \| __ | _| _| '_ \ \ /
\__,_\___/_|_|_|_||_|\__|\__| .__/_\_\
|_| v1.0.0

naufalardhani.com

54.192.146.34
103.102.166.224
104.93.220.176
104.18.19.221
202.89.117.193
104.18.11.196
172.67.161.37
104.93.115.155
199.232.44.143

[INFO] Searching IP for indonesia keyword
[INFO] Found 9 IP
```

### Extracts the real path
```
➤ domhttpx.py --keyword indonesia --amount 9 --real-path

_ _ _ _ _
__| |___ _ __ | || | |_| |_ _ ____ __
/ _` / _ \ ' \| __ | _| _| '_ \ \ /
\__,_\___/_|_|_|_||_|\__|\__| .__/_\_\
|_| v1.0.0

naufalardhani.com

https://www.suara.com/entertainment/2021/07/01/211333/6-aktor-indonesia-main-di-film-hollywood-tak-cuma-andalkan-tampang
https://en.wikipedia.org/wiki/Indonesia
https://www.indonesia.travel/id/en/home
https://www.britannica.com/place/Indonesia
https://indonesia.go.id/
https://www.garuda-indonesia.com/
https://wikitravel.org/en/Indonesia
https://www.aljazeera.com/where/indonesia/
https://www.lonelyplanet.com/indonesia

[INFO] Searching domain for indonesia keyword
[INFO] Found 9 domain
```

### Extracts status code
```
➤ domhttpx.py --keyword "Indonesia Basketball League" --amount 10 --status-code

_ _ _ _ _
__| |___ _ __ | || | |_| |_ _ ____ __
/ _` / _ \ ' \| __ | _| _| '_ \ \ /
\__,_\___/_|_|_|_||_|\__|\__| .__/_\_\
|_| v1.0.0

naufalardhani.com

https://en.wikipedia.org [200]
https://iblindonesia.com [200]
https://iblindonesia.com [200]
https://iblindonesia.com [200]
https://iblindonesia.com [200]
https://iblindonesia.com [200]
https://twitter.com [200]
https://twitter.com [200]
https://en.wikipedia.org [200]
https://en.wikipedia.org [200]

[INFO] Searching domain for Indonesia Basketball League keyword
[INFO] Found 10 domain
```

### Extracts title page
```
➤ domhttpx.py --keyword "Ananta Dandy" --amount 10 --real-path --title

_ _ _ _ _
__| |___ _ __ | || | |_| |_ _ ____ __
/ _` / _ \ ' \| __ | _| _| '_ \ \ /
\__,_\___/_|_|_|_||_|\__|\__| .__/_\_\
|_| v1.0.0

naufalardhani.com

https://www.dbl.id/camp/1/campers/98/ananta-dandy [Campers - Ananta Dandy]
https://www.dbl.id/u/profile/12379/ananta-dandy [Ananta Dandy Profile | DBL ID]
https://www.instagram.com/anantadandy/?hl=en [Page Not Found • Instagram]
https://play.fiba3x3.com/players/d3a6cc16-fd25-424d-a3a4-62515c5cd075 [Ananta Dandy]
https://www.youtube.com/watch?v=DghZd7E3YL0 [Ananta Dandy - Rakan - Rafie - Saddam & Zee Bikin Komunitas #Basket Komplek | Isinya Jagoan Semua ! - YouTube]
https://www.youtube.com/watch?v=J4oOSmfOlmA [Next in Line #12: Ananta Dandy Tentang Bermain melawan Filipin & Motivasi Untuk Juara DBL. - YouTube]
https://www.youtube.com/watch?v=A4xu1aMWCy0 [ANANTA DANDY DAN MUHAMAD HAFIZH | DYNAMIC DUO DARI SMAN 71 JAKARTA - YouTube]
https://archive.fiba.com/pages/eng/fa/player/p/pid/137281/sid/13264/tid/302/tid2//_/2017_SEABA_U16_Championship_for_Men/index.html [Ananta Dandy Putra Tarigan's profile | 2017 SEABA U16 Championship for Men | ARCHIVE.FIBA.COM]
http://sman71.sch.id/2020/08/data-sementara-alumni-siswa-sman-71-tahun-2020-yang-diterima-di-ptn/ [Data Sementara Alumni Siswa SMAN 71 Tahun 2020 yang Diterima di PTN – SMAN 71]
https://www.mainbasket.com/r/6522/muhamad-hafizh-gua-ingin-jadi-pemain-indonesia-pertama-di-nba [Muhamad Hafizh: Gua Ingin Jadi Pemain Indonesia Pertama di NBA - mainbasket.com]

[INFO] Searching domain for Ananta Dandy keyword
[INFO] Found 10 domain
```

# Help & Bugs
If you are still confused or find a bug, please open [the issue](https://github.com/naufalardhani/domhttpx/issues). All bug reports are appreciated, and will be responded to as soon as possible thanks!

# Thanks
- [@MarioVilas](https://github.com/MarioVilas/) - domhttpx uses dorker from the [googlesearch](https://github.com/MarioVilas/googlesearch) package made by him
- [@projectdiscovery](https://github.com/projectdiscovery) - because I was inspired by their project which is [httpx](https://github.com/projectdiscovery/httpx/), that's why I made domhttpx
- [@p4kl0nc4t](https://github.com/p4kl0nc4t) - who has given many solutions in making domHttpx