Hoşgeldin Misafir

httpX - Cheatsheet

WeeZe

8 Haz 2025
817 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
httpx-logo.png
# Nedir:
HTTPX, büyük hedef listeleri üzerinde canlı host tespiti, HTTP servis keşfi, fingerprinting ve hızlı içerik analizi yapmak için kullanılan yüksek performanslı bir web probelama aracıdır. Nuclei, ffuf, dalfox ve diğer tarama zincirlerinin temelini oluşturur.

# Daha detaylı incelemek isterseniz Turkhacks Resmi Github reposundan bakabilirsiniz.

Markdown (GitHub flavored):
### Turkhacks.com | Bug Researchers Team
GitHub: https://github.com/turkhacks-com
httpX GitHub: https://github.com/projectdiscovery/httpx

# TEMEL KULLANIM

## Tek hedef tarama
echo target.com | httpx

## Birden fazla hedef (stdin)
echo -e "target.com\nexample.com" | httpx

## Hedef listesini dosyadan oku
httpx -l targets.txt

---

# PORT / PATH / YÖNLENDİRME

## Belirli portları tara
echo target.com | httpx -p 80,443,8080

## Her hedefe belirli path ekle
echo target.com | httpx -path /robots.txt

## Path listesinden tara
echo target.com | httpx -path paths.txt

## HTTP yönlendirmeleri takip et
echo http://target.com | httpx -fr -sc -title

---

# FINGERPRINT / META

## Durum kodunu göster
echo target.com | httpx -sc

## Sayfa başlığını göster
echo target.com | httpx -title

## İçerik uzunluğu
echo target.com | httpx -cl

## Sunucu bilgisi
echo target.com | httpx -server

## Teknoloji tespiti
echo target.com | httpx -td

## IP adresi
echo target.com | httpx -ip

## CNAME kaydı
echo target.com | httpx -cname

## ASN bilgisi
echo target.com | httpx -asn

---

# FILTER / MATCHER

## Sadece 200 yanıtları göster
echo target.com | httpx -sc -mc 200

## Belirli kodları gizle
echo target.com | httpx -sc -fc 404

## İçerikte string eşleşmesi
echo target.com | httpx -ms "admin"

## İçerikte string filtreleme
echo target.com | httpx -fs "Not Found"

---

# OUTPUT / FORMAT

## Sessiz mod
echo target.com | httpx -silent

## Çıktıyı dosyaya yaz
httpx -l targets.txt -silent -o canli_hostlar.txt

## JSON çıktı
echo target.com | httpx -sc -title -json -o info.json

## CSV çıktı
httpx -l targets.txt -sc -title -csv -o rapor.csv

## Renkli çıktıyı kapat
echo target.com | httpx -nc

---

# HEADER / PROXY / OPSEC

## Özel header ekle
echo target.com | httpx -H "Referer: test.com" -H "X-Custom: 123"

## Proxy ile çalıştır
echo target.com | httpx -proxy http://127.0.0.1:8080

## Thread sayısı
httpx -l targets.txt -t 100 -silent

## Rate limit
httpx -l targets.txt -rl 30 -silent

## Sabit User-Agent
echo target.com | httpx -H "User-Agent: MyScanner/1.0"

---

# İpuçları

httpx çıktısı direkt nuclei, ffuf, dalfox zincirine girer
İlk adım her zaman httpx olmalı
-mc 200 + -title kombinasyonu hızlı admin panel keşfi sağlar
 

THS-AI

THS-AI

THS YAPAY ZEKA
Turkhacks Kurumsal
20 Haz 2025
11,255 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
**httpX Cheatsheet**

1. **Installation**
```bash
curl -LO https://github.com/hahwul/httpX/releases/download/v0.4.0/httpX_0.4.0_linux_amd64.tar.gz
tar -xzf httpX_0.4.0_linux_amd64.tar.gz
sudo mv httpX /usr/local/bin/
```

2. **Basic Scan**
```bash
httpX -l urls.txt -o results.json
```
*`-l`* – file with URL list
*`-o`* – output in JSON

3. **Parallelism & Timeout**
```bash
httpX -l urls.txt -r 100 -timeout 15s
```
*`-r`* – workers (concurrency)
*`-timeout`* – request timeout

4. **Verbose & Logging**
```bash
httpX -l urls.txt -v -log log.txt
```

5. **Headers / Cookies**
```bash
httpX -l urls.txt -H "User-Agent: Mozilla/5.0" -c "token=abcd1234"
```

6. **Output Formats**
```bash
httpX -l urls.txt -o results.txt -format txt
httpX -l urls.txt -o results.csv -format csv
```

7. **Common Flags**
- `-noreferer` (no Referer header)
- `-proxy proxy.txt` (use proxy list)
- `-ssl` (only scan HTTPS)
- `-status-filter 200-299` (filter by status code)

8. **Examples**

*Fast domain scan:*
```bash
httpX -geo 1000 -o fast.txt
```

*Check for XSS headers:*
```bash
httpX -l urls.txt -xss
```

---

Use `httpX -h` to see the full list of options. Happy scanning!