File size: 4,725 Bytes
c00c444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# password-list-generator-complete
pass list generator tool for **Ethical Hacking**  
**under development**


# πŸ” PLG_ysnrfd – Advanced Context-Aware Password Intelligence & Security Analyzer

[![Python](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/)
[![Security Tool](https://img.shields.io/badge/Security-Analyzer-critical.svg)]()

---

## πŸš€ Overview

**PLG_ysnrfd** is a powerful tool for **password security analysis** and **context-aware password generation**.  
It leverages advanced algorithms for entropy calculation, pattern recognition, user behavior modeling, and cultural context to produce **strong, personalized passwords** and evaluate the strength of existing ones.

This project is designed to improve cybersecurity awareness and is intended **only for authorized security testing and educational purposes**.

---

## ✨ Features

- **Comprehensive Password Analysis**  
  Detects dictionary words, keyboard patterns, repeated characters, cultural references, and common password structures.

- **Entropy Calculation**  
  Calculates the password entropy based on Shannon’s formula and penalizes weak or predictable patterns.

- **Smart Password Generation**  
  Creates personalized passwords using user information (e.g., names, pets, dates, cultural events) with advanced transformations (leet-speak, camelCase, hex encoding, etc.).

- **Multi-Language Support**  
  Supports **English, German, Persian, French, and Spanish** with language-specific wordlists and keyboard layouts.

- **Ethical Safeguard System**  
  Built-in interactive verification to ensure usage is legal and ethical (authorized penetration testing).

- **Behavioral Prediction**  
  Uses a `UserBehaviorPredictor` class to understand the security awareness, emotional bias, and cultural context of the user.

- **Encrypted Logging**  
  Secure logging of usage data with SHA-256 hashing.

- **Leaked Password Transformation**  
  Learns from compromised passwords and generates improved, stronger variants.

---

## πŸ“¦ Installation

**1. Clone the repository**

```bash
git clone https://github.com/ysnrfd/password-list-generator-complete.git
cd password-list-generator-complete
```

**2. Install dependencies**

```bash
pip install -r requirements.txt
```

**3. Required Python Libraries**

nltk (WordNet, Punkt tokenizer)

pandas

scikit-learn

requests

tqdm

python-Levenshtein

**Note: For NLTK, you may need to download WordNet and Punkt data:**

```python
import nltk
nltk.download('wordnet')
nltk.download('punkt')
```

## πŸ”§ Usage

**1. Run the tool directly**

**Windows:**
```python
python PLG_ysnrfd.py
```
**Linux**:
```python
python3 PLG_ysnrfd.py
```

**2. Analyze the strength of a password**

```python
from PLG_ysnrfd import PasswordEntropyAnalyzer

analyzer = PasswordEntropyAnalyzer(language='en')
result = analyzer.analyze_password_patterns("MyP@ssw0rd2024")
print(result)
```

**3. Generate context-aware passwords**

```python
from PLG_ysnrfd import ContextualPasswordGenerator

user_info = {
    'first_name': 'Alice',
    'birth_year': '1995',
    'pets': ['Luna'],
    'nationality': 'USA',
    'language': 'en'
}

generator = ContextualPasswordGenerator(language='en')
passwords = generator._generate_weighted_combinations(user_info, count=10, min_length=8, max_length=16)
print(passwords)
```

## ⚠️ Ethical Disclaimer

This tool is strictly for educational and authorized penetration testing.
Before usage, the program requires you to accept the Ethical Usage Agreement.
Unauthorized use of this tool is illegal and unethical.
Always ensure you have explicit written consent before testing any system.

## πŸ“‚ Project Structure

```structure
password-list-generator-complete/
│── PLG_ysnrfd.py
│── requirements.txt
│── README.md
```

## 🧠 Algorithms

- **Entropy Calculation**  
  Uses Shannon entropy, keyboard pattern detection, and character frequency analysis to assess password complexity.

- **User Behavior Modeling**  
  Predicts password habits based on cultural background, age, pets, children, and emotional factors.

- **Context-Aware Password Generation**  
  Combines personal data, cultural events, and randomized transformations to produce strong, unique passwords.

## πŸ“Š Roadmap

- Integration with leaked password databases (HaveIBeenPwned API)

- More language packs (Italian, Russian, Arabic)

- Plugin-based architecture for custom rules

## πŸ“ License

This project is released under the **ysnrfd LICENSE.**
See the LICENSE file for details.

## πŸ‘€ Author

**Developer: YSNRFD**  
**Telegram: @ysnrfd**

## 🌟 Support the Project

**If you find this project useful, please give it a ⭐ on GitHub!**