
ウェブサイトの偵察および情報収集のためのセキュリティツール。(python 3.x)
- プロキシ機能を追加
- 優先順位/タスクの再定義
- 証明書サブドメインの結果をデバッグしましょう
- スキャン中に現在のバイパス数を表示 ("CB:")
- クリスマス用のイースターエッグ :)
- 最初の偵察ステップをスキップするオプション -nfs (not first step)
- スキャン前の Google CSE
- WIKI の作成
- HTML ウェブページ内の潜在的なパス開示の検出
- 潜在的な隠しディレクトリの検出
(詳細は CHANGELOG.md を参照)
- git clone https://github.com/c0dejump/HawkScan.git && sudo python3 HawkScan/setup.py install
- pip(3) install -r requirements.txt
- python3 -m pip install -r requirements.txt
P1が最も重要
[WIP] --exclude 403,1337b のような複数の除外 [P1] [進行中] (例を参照)
[WIP] 何らかのプロキシを介した匿名ルーティング (http/sプロキシリスト) [P1] [進行中]
[WIP] スキャンレポートの再構築 [P1]
[WIP] HExHTTP がスキャン前の「ヘッダー情報」を置き換え
usage: hawkscan.py [-h] [-u URL] [-f FILE_URL] [-t THREAD] [--exclude EXCLUDE [EXCLUDE ...]] [--auto] [--update] [-w WORDLIST] [-b [BACKUP ...]] [-p PREFIX] [-H HEADER_] [-a USER_AGENT] [--redirect] [--auth AUTH] [--timesleep TS] [--proxie PROXIE] [-r] [-s SUBDOMAINS] [--js] [--nfs] [--ffs] [--notify] [-o OUTPUT] [-of OUTPUT_TYPE]
> General:
-u URL URL to scan [required]
-f FILE_URL file with multiple URLs to scan
-t THREAD Number of threads to use for URL Fuzzing. Default: 30
--exclude EXCLUDE [EXCLUDE ...] Exclude page, response code, response size. (Exemples: --exclude 500,337b)
--auto Automatic threads depending response to website. Max: 30
--update For automatic update
--lightmode For a just simple fuzzing 1 request per second & a new session for each request
--no-calib Disable the auto-calibration (soft-404 / wildcard false positives filter)
--flood FLOOD Mute a response seen more than N times on different paths (catch-all / WAF rule / error page). 0 to disable. Default: 5
--parallel PARALLEL With -f: number of websites scanned at the same time (each one with -t threads). Default: 3
--resume RUN_DIR Resume a stopped -f scan (done websites skipped). Ex: --resume sites/_multi_2026-10-29_09-31-21
--rate RATE Max requests per second for a website, all threads included (respect the program rules)
> Wordlist Settings:
-w WORDLIST Wordlist used for Fuzzing the desired webite. Default: dichawk.txt
-b Adding prefix/suffix backup extensions during the scan. (Exemples: exemple.com/~ex/, exemple.com/ex.php.bak...) /!\ beware, take more longer
-p PREFIX Add prefix in wordlist to scan
-e EXTENSIONS Extensions added to the words without extension, or 'auto' (detected stack). Ex: -e php,bak | -e auto
> Request Settings:
-H HEADER_ Add a header, several -H allowed. Ex: -H "Cookie: a=1; b=2" -H "Authorization: Bearer x"
-a USER_AGENT Choice user-agent. Default: Random
--redirect For scan with redirect response (301/302)
--auth AUTH HTTP authentification. (Exemples: --auth admin:admin)
--timesleep TS To define a timesleep/rate-limit if app is unstable during scan.
--proxy PROXY Proxy for all requests (Burp...) or a file of proxies. Ex: --proxy http://127.0.0.1:8080
> Tips:
-r Recursive dir/files
-s SUBDOMAINS Subdomain tester
--js For try to found keys, token, sensitive endpoints... in the javascript page
--nfs Not the first step of scan during the first running (waf, vhosts, wayback etc...)
--ffs Force the first step of scan during the first running (waf, vhosts, wayback etc...)
--notify For receveid notify when the scan finished (only work on linux)
> Export Settings:
-o OUTPUT Output to site_scan.txt (default in website directory)
-of OUTPUT_TYPE Output file format. Available formats: json, csv, txt
--html HTML report for -u (always made with -f: one report for all the websites)
//Basic
python hawkscan.py -u https://www.exemple.com/
//With specific dico
python hawkscan.py -u https://www.exemple.com/ -w dico_extra.txt
//with 30 threads
python hawkscan.py -u https://www.exemple.com/ -t 30
//With backup files scan
python hawkscan.py -u https://www.exemple.com/ -b
//With an exclude page
python hawkscan.py -u https://www.exemple.com/ --exclude profile.php
//With an exclude response code
python hawkscan.py -u https://www.exemple.com/ --exclude 403
//With an exclude bytes number
python hawkscan.py -u https://www.exemple.com/ --exclude 1337b
//With two excludes type
python hawkscan.py -u https://www.exemple.com/ --exclude 1337b,403
Layno (https://github.com/Clayno/) [技術サポート]
Sanguinarius (https://twitter.com/sanguinarius_Bt) [技術サポート]
Jamb0n69 (https://twitter.com/jamb0n69) [技術サポート]
Cyber_Ph4ntoM (https://twitter.com/__PH4NTOM__) [ベータテスター兼ロゴデザイナー]
https://www.paypal.me/c0dejump
または、コーヒーをご馳走してくださるなら :)
このスクリプトは最初のステップでWAFを検出するために「WafW00f」を使用します (https://github.com/EnableSecurity/wafw00f)
このスクリプトはサブドメインをスキャンするために「Sublist3r」を使用します (https://github.com/aboul3la/Sublist3r)