
비밀번호 목록을 엔트로피와 사전 기반 취약 비밀번호에 따라 분석하는 Go 스크립트입니다. 침투 테스트 및 피싱 캠페인에 유용합니다.
Go로 작성된 비밀번호 목록 분석 스크립트입니다.
바이너리는 릴리스에서 직접 다운로드할 수 있습니다. 직접 컴파일하려면 다음 단계를 참고하세요.
git clone https://github.com/am0nt31r0/Password-Analysis.git
cd Password-Analysis
go build -ldflags "-w -s" -o pwdAnalysis
└─$ tree go
go/
├── bin
│ ├── pwdAnalysis
├── src
| ├── github.com
│ └── Xe
│ └── x
│ └── entropy
│ ├── doc.go
│ ├── shannon.go
│ └── shannon_test.go
| ├── Password Analysis
| ├── pw_analysis.go
스크립트가 성공적으로 실행되려면 두 개의 txt 파일이 필요합니다. 첫 번째 파일은 분석할 비밀번호(줄당 하나의 비밀번호)를 포함하고, 두 번째 파일은 rockyou.txt와 같은 약한 비밀번호 사전이어야 합니다.
비밀번호 분류에 사용되는 엔트로피 점수는 KeePassXC에서 사용하는 것과 동일합니다: https://keepassxc.org/blog/2020-08-15-keepassxc-password-healthcheck/
엔트로피 소스 코드를 src 디렉토리에 다운로드하세요:
└─$ tree src
src
├── github.com
│ └── Xe
│ └── x
│ └── entropy
│ ├── doc.go
│ ├── shannon.go
│ └── shannon_test.go
pwdAnalysis pwds.txt rockyou.txt
[+] Password Analysis Software
Starting password analysis of: pwds.txt
Using rockyou.txt as dictionary of comparison.
PASSWORD LENGTH ENTROPY STRENGTH
12345 a 7 21 Poor
user123 7 21 Bad - Dictionary
passwordstrong 14 56 Weak
thisIsit? 9 27 Poor
saQWE1 6 18 Poor
sa#X#2 34 9 27 Poor
QWE123!"# $sds1 15 60 Weak
123456789 9 36 Bad - Dictionary
QWE123!"# $sds1zxczxc4"3r1 a 28 140 Excelent
C3kGUJeV98c234_34 17 68 Strong
Statistics:
- Total passwords analysed: 10.
- Number of excelent passwords: 1.
- Number of strong passwords: 1.
- Number of weak passwords: 2.
- Number of poor passwords: 4.
- Number of bad passwords: 0.
- Number of bad passwords contained in the dictionary: 2.
- The smaller password has the size of 6 characters.
- The biggest password has the size of 28 characters.
- The average size is 12.