Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
PCredz — 이 도구는 pcap 파일 또는 라이브 인터페이스에서 신용카드 번호, NTLM(DCE-RPC, HTTP, SQL, LDAP 등), Kerberos(AS-REQ Pre-Auth etype 23), HTTP Basic, SNMP, POP, SMTP, FTP, IMAP 등을 추출합니다. | Kitploit
도구/GitHubGitHub/lgandx/pcredz
Packet Sniffing & AnalysisPassword CrackingReconnaissanceForensicsInformation GatheringNetwork Security
GitHublgandx/pcredz

PCredz

이 도구는 pcap 파일 또는 라이브 인터페이스에서 신용카드 번호, NTLM(DCE-RPC, HTTP, SQL, LDAP 등), Kerberos(AS-REQ Pre-Auth etype 23), HTTP Basic, SNMP, POP, SMTP, FTP, IMAP 등을 추출합니다.

저장소 보기
2.5k454978개월 전Kitploit 검토 완료
공유

PCredz 2.1.0

PCredz는 네트워크 트래픽(PCAP 파일 또는 라이브 캡처)에서 자격 증명과 인증 토큰을 추출합니다.

기능

지원 프로토콜

IPv4 및 IPv6 트래픽 모두에서 자격 증명을 추출합니다:

  • NTLM: HTTP, SMB, LDAP, MSSQL, DCE-RPC 등에서 NTLMv1/v2 해시
  • Kerberos: AS-REQ Pre-Auth(etype 23) 해시
  • HTTP: 기본 인증, 양식 필드(비밀번호, API 키, 토큰)
  • FTP: USER/PASS 명령
  • IRC: NICK/USER/PASS 인증
  • SMTP: AUTH PLAIN 및 AUTH LOGIN
  • IMAP: LOGIN 인증
  • POP3: USER/PASS 명령
  • LDAP: 단순 바인드(평문 비밀번호)
  • SNMP: 커뮤니티 문자열(v1/v2c)
  • MSSQL: TDS 프로토콜 인증
  • 신용카드: 카드 번호 추출(선택 사항)

출력 형식

  • Hashcat 호환: 모든 해시가 hashcat에서 직접 사용할 수 있도록 포맷됨
    • NTLMv1: -m 5500
    • NTLMv2: -m 5600
    • Kerberos: -m 7500
  • 체계적인 로그: logs/ 디렉토리에 자격 증명 유형별로 별도의 파일 저장
  • 세션 로그: CredentialDump-Session.log에 전체 타임라인 저장
  • 중복 제거: 동일한 자격 증명은 한 번만 기록됨(-v 플래그 사용 시 제외)

링크 계층 지원

  • Ethernet (DLT_EN10MB)
  • Linux Cooked Capture (DLT_LINUX_SLL)
  • Raw IP (DLT_RAW)
  • 링크 계층 유형 자동 감지

설치

Docker(권장)

# Build the container
docker build -t pcredz .

# Run with current directory mounted
docker run --rm -v $(pwd):/data pcredz -f /data/capture.pcap

# For live capture (requires --net=host)
docker run --rm --net=host -v $(pwd):/data pcredz -i eth0 -v

Linux

Debian/Ubuntu:

sudo apt-get install python3-pip libpcap-dev
pip3 install pcapy-ng

Fedora/RHEL:

sudo dnf install python3-pip libpcap-devel
pip3 install pcapy-ng

Arch Linux:

sudo pacman -S python-pip libpcap
pip3 install pcapy-ng

사용법

기본 예제

# Parse a single PCAP file
./Pcredz -f capture.pcap

# Parse all PCAP files in a directory (recursive)
./Pcredz -d /path/to/pcap/directory/

# Live capture on an interface (requires root)
sudo ./Pcredz -i eth0

# Verbose mode (show duplicate credentials)
./Pcredz -f capture.pcap -v

# Custom output directory
./Pcredz -f capture.pcap -o /tmp/pcredz-output/

옵션

Required (choose one):
  -f FILE         PCAP file to parse
  -d DIR          Directory to parse recursively
  -i INTERFACE    Interface for live capture

Optional:
  -v              Verbose mode (print duplicate credentials)
  -t              Print timestamps
  -o DIR          Output directory for logs (default: ./)
  -c              Disable credit card scanning
  --disable PROTO Disable protocol (can be used multiple times)
                  Options: NTLM, HTTP, FTP, IRC, LDAP, SMTP, Kerberos, SNMP, MSSQL
  --exclude-host IP  Exclude host IP from capture (can be used multiple times)
  -h              Show help message

출력 파일

모든 자격 증명은 logs/ 디렉토리에 저장됩니다:

logs/
├── NTLMv1.txt              # NTLMv1 hashes (hashcat -m 5500)
├── NTLMv2.txt              # NTLMv2 hashes (hashcat -m 5600)
├── MSKerb.txt              # Kerberos hashes (hashcat -m 7500)
├── HTTP-Basic.txt          # HTTP Basic auth credentials
├── HTTP-PasswordFields.txt # HTTP form fields and API keys
├── FTP-Plaintext.txt       # FTP credentials
├── IRC-Plaintext.txt       # IRC credentials
├── SMTP-Plaintext.txt      # SMTP credentials
├── LDAP-Simple.txt         # LDAP Simple Bind credentials
├── MSSQL-Plaintext.txt     # MSSQL credentials
└── SNMPv1.txt              # SNMP community strings

그리고 세션 로그:

CredentialDump-Session.log  # Complete session with timestamps

예제

NTLM 해시 추출

./Pcredz -f capture.pcap

# Output:
# 192.168.1.10:445 > 192.168.1.20:1024
# NTLMv2 complete hash is: admin::DOMAIN:1122334455667788:ABC123...

# Use with hashcat:
hashcat -m 5600 logs/NTLMv2.txt wordlist.txt

라이브 캡처

sudo ./Pcredz -i eth0 -v

# Captures and displays credentials in real-time
# Press Ctrl+C to stop

대량 처리

# Process all PCAPs in a directory tree
./Pcredz -d /forensics/network-captures/

# Parsing /forensics/network-captures/day1/morning.pcap...
# Parsing /forensics/network-captures/day1/afternoon.pcap...
# ...

프로토콜 필터링

# Disable specific protocols (reduce noise)
./Pcredz -f capture.pcap --disable HTTP --disable SNMP

# Only capture NTLM hashes
./Pcredz -f capture.pcap --disable HTTP --disable FTP --disable IRC \
  --disable LDAP --disable SMTP --disable Kerberos --disable SNMP --disable MSSQL

# Focus on cleartext credentials only
./Pcredz -f capture.pcap --disable NTLM --disable Kerberos

호스트 제외

# Exclude your own IP during live capture (common use case)
sudo ./Pcredz -i eth0 --exclude-host 192.168.1.50 -v

# Exclude multiple hosts
./Pcredz -f capture.pcap --exclude-host 192.168.1.100 --exclude-host 10.0.0.5

# Pentesting: capture target credentials, not your own
sudo ./Pcredz -i eth0 --exclude-host $(hostname -I | awk '{print $1}') -v

성능

최적화

  • 파일 I/O 캐싱: 중복 파일 읽기 방지(10-100배 속도 향상)
  • 정규식 사전 컴파일: 컴파일된 패턴 캐시(2-5배 속도 향상)
  • 스마트 중복 제거: 확인된 자격 증명의 인메모리 추적
  • 링크 계층 감지: 오프셋 자동 감지 및 캐시(최소 오버헤드)

벤치마크

최신 하드웨어에서의 일반적인 성능:

  • 작은 파일(<10MB): 1초 미만
  • 중간 파일(100MB): 5-10초
  • 대용량 파일(1GB+): 1-2분
  • 라이브 캡처: 초당 5,000-10,000 패킷

문제 해결

pcapy-ng를 찾을 수 없음

pip3 install pcapy-ng
# If that fails:
pip3 install --break-system-packages pcapy-ng

권한 거부(라이브 캡처)

라이브 캡처에는 root 권한이 필요합니다:

sudo ./Pcredz -i eth0

자격 증명을 찾을 수 없음

  • PCAP에 예상 프로토콜이 포함되어 있는지 확인(Wireshark 사용)
  • 트래픽이 암호화되지 않았는지 확인(HTTPS, SSH 등)
  • 모든 활동을 보려면 상세 모드(-v) 시도
  • 링크 계층 유형이 지원되는지 확인

기여

버그를 발견했거나 기능을 추가하고 싶으신가요? 기여를 환영합니다!

  1. 변경 사항을 철저히 테스트하세요
  2. 기존 코드 스타일을 따르세요
  3. 새 기능에 대한 예제를 추가하세요
  4. 문서를 업데이트하세요

라이선스

GNU General Public License v3.0

작성자

Laurent Gaffie

  • 이메일: [email protected]
  • X/Twitter: @secorizon
  • GitHub: lgandx/PCredz
도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    513
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    471
  • 3

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    345
  • 4

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    311
  • 5

    estorides

    grisuno/estorides

    99개 이상의 무료 OSINT 소스를 병렬로 집계하고, 엔티티를 지식 그래프로 해석하며, LLM 지원 분석과 함께 STIX 2.1, MISP 또는 GraphML로 내보냅니다.

    303
  • 6

    opencti

    opencti-platform/opencti

    오픈 사이버 위협 인텔리전스 플랫폼

    303

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →