
Go में लिखा गया स्क्रिप्ट जो पासवर्ड की सूची का उसके entropy और डिक्शनरी से कमजोर पासवर्ड के आधार पर विश्लेषण करता है। पेनिट्रेशन टेस्ट और फिशिंग अभियानों के लिए उपयोगी।
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.