
페이스트 사이트에서 자격 증명 유출을 검색하는 크롤러(봇).
내 OSINT 봇이 paste 사이트에서 민감한 데이터 유출을 검색하는 코드입니다.
검색어:
검색어는 사용자 정의할 수 있습니다. 구성 섹션에서 자세히 알아볼 수 있습니다.
pastebin.com의 경우 봇은 두 가지 모드가 있습니다:
추가 기능:
mysqli_connect(
BEGIN RSA PRIVATE KEY
The name of the database for WordPress
apiKey:
Return-Path:
insert into
INSERT INTO
.onion
다른 검색어를 추가하려면 파일에 한 줄씩 추가하세요. 여기에 누락된 유용한 검색어를 알고 계신가요? 알려주세요! :-) 3. pastebin.com의 사용자 추적 모듈을 사용하려면 대상 사용자를 configs/users.txt 파일에 한 줄씩 추가해야 합니다.
프로그램 도움말:
$ python3 scavenger.py -h
_________
/ _____/ ____ _____ ___ __ ____ ____ ____ ___________
\_____ \_/ ___\\__ \\ \/ // __ \ / \ / ___\_/ __ \_ __ \
/ \ \___ / __ \\ /\ ___/| | \/ /_/ > ___/| | \/
/_______ /\___ >____ /\_/ \___ >___| /\___ / \___ >__|
\/ \/ \/ \/ \//_____/ \/ Reworked
usage: scavenger.py [-h] [-0] [-1] [-2] [-3] [-4]
control script
optional arguments:
-h, --help show this help message and exit
-0, --pbincom Activate pastebin.com archive scraping module
-1, --pbincomTrack Activate pastebin.com user tracking module
-2, --sensitivedata Search a specific folder for sensitive data. This might
be useful if you want to analyze some pastes which
were not collected by the bot.
-3, --editsearch Edit search terms file for additional search terms
(email:password combinations will always be searched)
-4, --editusers Edit user file of the pastebin.com user track module
example usage: python3 scavenger.py -0 -1
크롤링된 페이스트는 상태에 따라 다른 위치에 저장됩니다.
페이스트는 48000개 파일 제한에 도달할 때까지 data/raw_pastes에 저장됩니다. 48000개 이상의 페이스트가 있으면 압축되어 아카이브 폴더로 이동됩니다.
pastebin.com 아카이브 스크래핑 모듈 시작
$ python3 scavenger.py -0
pastebin.com 사용자 추적 모듈 시작
$ python3 scavenger.py -1
이러한 모듈 중 하나를 시작하면 실행 중인 모듈이 포함된 tmux 세션이 백그라운드에서 생성됩니다.
tmux 세션 목록
$ tmux ls
pastebincomArchive: 1 windows (created Sun Apr 14 06:33:32 2021) [204x58]
pastebincomTrack: 1 windows (created Sun Apr 14 06:33:32 2021) [204x58]
tmux 세션과 상호 작용 예시
$ tmux a -t pastebincomArchive
$ tmux a -t pastebincomTrack
세션에서 분리하려면 STRG+b d를 누르세요.
제어 소프트웨어를 사용하지 않고 모듈을 시작하려면 직접 호출하여 수행할 수 있습니다.
Pastebin.com 아카이브 스크래퍼
$ python3 pbincomArchiveScrape.py
Pastebin.com 사용자 추적기
$ python3 pbincomTrackUser.py
특정 폴더에서 민감한 데이터 검색:
$ python3 findSensitiveData.py TARGET_FOLDER
누락된 것이 있거나 기능을 추가하거나 변경을 원하시면 Twitter 또는 GitHub 이슈를 통해 알려주세요 :-)