
웹사이트에 대한 정찰 및 정보 수집을 위한 보안 도구. (python 3.x)

웹사이트에 대한 정찰 및 정보 수집을 위한 보안 도구입니다. (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)