
다양한 헤더 조작 기법과 경로 퍼징을 사용하여 HTTP 401/403 응답을 우회하는 침투 테스트 도구입니다.
Author: Letda Kes dr. Sobri, S.Kom.
HTTP 401/403 응답을 우회하기 위한 다양한 헤더 조작 기술 및 경로 퍼징을 사용하는 침투 테스트 도구입니다.
# Clone the repository
git clone https://github.com/sobri3195/pegasus-forbidden-buster.git
cd pegasus-forbidden-buster
# Install requirements
pip install -r requirements.txt
기본 사용법:
python pegasus_cli.py -u https://example.com/restricted-area
고급 사용법:
python pegasus_cli.py -u https://example.com/admin -m POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -d '{"username":"admin"}' -p http://127.0.0.1:8080 --rate-limit 5 --include-all --threads 10 --output report.html --format html
# 기본 스캔
python pegasus_cli.py -u https://example.com/admin
# 모든 기술을 사용한 전체 스캔
python pegasus_cli.py -u https://example.com/admin --include-all
# 콘텐츠 발견 스캔
python pegasus_cli.py -u https://example.com/admin --discover --wordlist wordlists/common.txt --extensions php,html,txt
# HTML 보고서 생성
python pegasus_cli.py -u https://example.com/admin --include-all --output reports/report.html --format html
# 사용자 정의 헤더 및 프록시 사용
python pegasus_cli.py -u https://example.com/admin -H "X-Custom-Header: Value" -H "Authorization: Bearer token" -p http://127.0.0.1:8080
pegasus-forbidden-buster/
├── pegasus_cli.py # Main CLI entry point
├── requirements.txt # Dependencies
├── README.md # Documentation
├── src/
│ ├── core/ # Core scanner functionality
│ ├── modules/ # Bypass technique modules
│ ├── utils/ # Utility functions
│ └── data/ # Data files and payloads
├── reports/ # Generated reports
└── examples/ # Example configurations
기여를 환영합니다! 자유롭게 Pull Request를 제출해 주세요.
이 도구가 유용하다면 개발을 지원해 주세요:
이 도구는 합법적인 침투 테스트 및 보안 연구 목적으로만 사용됩니다. 명시적인 허가 없이 시스템에 사용하는 것은 불법이며, 이 소프트웨어의 의도된 사용 사례가 아닙니다.
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.
| Option | Description |
|---|
-u, --url | 테스트할 대상 URL (필수) |
-m, --method | 사용할 HTTP 메서드 (기본값: GET) |
-H, --header | 사용자 정의 헤더 추가 (형식: "이름: 값") |
-d, --data | 요청 본문 데이터 (JSON 문자열 지원) |
-p, --proxy | 사용할 프록시 (형식: http://ip:port) |
--rate-limit | 초당 요청 수 제한 (기본값: 10) |
--threads | 병렬 스캐닝 스레드 수 (기본값: 5) |
--include-unicode | 유니코드 경로 퍼징 활성화 |
--include-user-agent | User-Agent 퍼징 활성화 |
--include-params | 파라미터 오염 공격 활성화 |
--include-cookies | 쿠키 조작 기술 활성화 |
--include-all | 모든 우회 기술 활성화 |
--discover | 콘텐츠 발견 모드 활성화 |
--wordlist | 콘텐츠 발견을 위한 워드리스트 파일 경로 |
--extensions | 시도할 확장자 목록 (쉼표로 구분) |
--output | 결과를 저장할 출력 파일 |
--format | 출력 형식 (json, html, text) |
-v, --verbose | 상세 출력 활성화 |
-q, --quiet | 배너 및 필수적이지 않은 출력 억제 |
--timeout | 요청 타임아웃(초) (기본값: 10) |
--user-agent | 사용할 사용자 정의 User-Agent |
--cookies | 사용할 쿠키 (형식: "name1=value1; name2=value2") |
--auth | HTTP 기본 인증 (형식: "사용자명:비밀번호") |
--depth | 경로 순회 깊이 (기본값: 3) |