# generate-wordlists

## Custom wordlist generate (username generate)

```
username-anarchy Jane Smith > jane_smith_usernames.txt
```

## Create a wordlist according to password policy

* Minimum length: 8 characters
* Must include:
  1. At least one uppercase letter
  2. At least one lowercase letter
  3. At least one number

**Filter out 8 character length (min: 8)**

```
grep -E '^.{8,}$' darkweb2017-top10000.txt > darkweb2017-minlength.txt
```

**Filter - At least one uppercase letter**

```
grep -E '[A-Z]' darkweb2017-minlength.txt > darkweb2017-uppercase.txt
```

**Filter - At least one lowercase letter**

```
grep -E '[a-z]' darkweb2017-minlength.txt > darkweb2017-uppercase.txt
```

**Filter - At least one digit**

```
grep -E '[0-9]' darkweb2017-lowercase.txt > darkweb2017-number.txt
```

***

**Filter out wordlist according to password policy**

```
grep -E '^.{6,}$' jane.txt | grep -E '[A-Z]' | grep -E '[a-z]' | grep -E '[0-9]' | grep -E '([!@#$%^&*].*){2,}' > jane-filtered.txt
```

## Common User Password Profiler ([cupp tool](https://github.com/Mebus/cupp)) - custom wordlist generate

**Information can be gathered from:**

1. Social media
2. Company websites
3. Public records
4. Articles and blogs
