SecLists/Passwords
g0tmi1k e9337bebcf
Merge pull request #999 from ItsIgnacioPortal/RouterCredentials
feat(passwords): Added router default users and passwords

Source: https://portforward.com/

```
import os
from bs4 import BeautifulSoup

invalidValues = ["none", "N/A", "blank", "user created", "password changes when reset", "none; created during initial setup", "PrintedOnRouterLabel", "provided by ISP"]
invalidKeywords = ["none", "leave blank", "n/a", "blank", "found by", "found on", "printed on", "configured during", "create", "last", "located", "on ", "sticker on", "refer to"]

def extract_credentials(file_path):
	with open(file_path, 'r') as file:
		content = file.read()
		soup = BeautifulSoup(content, 'html.parser')
		table = soup.find('table')
		if table:
			model = table.find('th').text.strip().lower().replace('model', '').strip().replace(' ', '-').replace('/', '-')
			usernames = set()
			passwords = set()
			for row in table.find_all('tr')[1:]:
				cols = row.find_all('td')
				username = cols[1].text.strip()
				password = cols[2].text.strip()

				if username not in invalidValues:
					addUsername = True
					tempusername = username.lower()

					for keyword in invalidKeywords:
						if tempusername.startswith(keyword):
							addUsername=False
							break

					if addUsername:
						usernames.add(username)

				if password not in invalidValues:
					addPassword = True
					temppassword = password.lower()
					for keyword in invalidKeywords:
						if temppassword.startswith(keyword):
							addPassword=False
							break

					if addPassword:
						passwords.add(password)

			return model, sorted(usernames), sorted(passwords)
		else:
			return None, None, None

def save_credentials(model, usernames, passwords, output_dir):
	if model and usernames and passwords:
		user_file_path = os.path.join(output_dir, f'{model}_default-users.txt')
		pass_file_path = os.path.join(output_dir, f'{model}_default-passwords.txt')
		with open(user_file_path, 'w') as user_file:
			user_file.write('\n'.join(usernames))
		with open(pass_file_path, 'w') as pass_file:
			pass_file.write('\n'.join(passwords))

def process_files(input_dir, output_dir):
	for file_name in os.listdir(input_dir):
		print(f'Processing file {file_name}')
		file_path = os.path.join(input_dir, file_name)
		model, usernames, passwords = extract_credentials(file_path)
		save_credentials(model, usernames, passwords, output_dir)

# Input directory containing the text files
input_dir = "C:\\Users\\User\\Desktop\\out\\portforward.com"
# Output directory where the output files will be saved
output_dir = "C:\\Users\\User\\Github\\SecLists\\Passwords\\Default-Credentials\\Routers"
process_files(input_dir, output_dir)
```
2024-04-05 15:26:08 +01:00
..
BiblePass dos2unix 2020-11-03 23:57:08 +00:00
Books fix(Password/Books): Modify variations to include all_lowercase with underscore and join, and all_uppercase underscore and joined. 2024-01-02 23:58:34 -07:00
Common-Credentials dos2unix 2021-08-28 21:29:32 +01:00
Cracked-Hashes Quick rename of files 2018-03-05 11:03:11 +00:00
Default-Credentials Merge pull request #999 from ItsIgnacioPortal/RouterCredentials 2024-04-05 15:26:08 +01:00
Honeypot-Captures strip trailing whitespace 2020-05-27 14:26:51 +01:00
Keyboard-Walks Update README.md 2023-12-01 09:56:55 -07:00
Leaked-Databases feat(wordlist): Added clean fortinet-2021 username and passwords wordlists 2023-10-10 20:35:58 -03:00
Malware Close #291 - Fix encoding issues 2019-05-08 11:04:00 +01:00
Permutations rename 's/_/-/g' 2017-08-23 14:55:06 +01:00
PHP-Hashes Rename folders 2024-04-05 10:42:21 +00:00
Software Close #291 - Fix encoding issues 2019-05-08 11:04:00 +01:00
WiFi-WPA Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
Wikipedia add localized wikipedia wordlists 2023-06-28 12:28:35 +02:00
500-worst-passwords.txt fix: Dedupe wordlist 2022-11-07 12:32:42 +03:00
500-worst-passwords.txt.bz2 Add 500 worst passwords 2020-08-11 14:19:17 +02:00
2020-200_most_used_passwords.txt fix: Dedupe wordlist 2022-11-07 12:23:37 +03:00
2023-200_most_used_passwords.txt added 200 most used passwords of 2023 2023-12-07 15:49:51 +00:00
bt4-password.txt strip trailing whitespace 2020-05-27 14:26:51 +01:00
cirt-default-passwords.txt Added Zyxel default username and password based on CVE-2020-29583 and CVE-2016-10401 2021-01-05 09:08:32 +01:00
citrix.txt Updated Citrix and Avaya default passwords 2021-07-22 00:21:57 +02:00
clarkson-university-82.txt strip trailing whitespace 2020-05-27 14:26:51 +01:00
common_corporate_passwords.lst Update common_corporate_passwords.lst 2023-12-12 00:31:48 -08:00
darkc0de.txt strip trailing whitespace 2020-05-27 14:26:51 +01:00
darkweb2017-top10.txt Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
darkweb2017-top100.txt Close #291 - Fix encoding issues 2019-05-08 11:04:00 +01:00
darkweb2017-top1000.txt Close #291 - Fix encoding issues 2019-05-08 11:04:00 +01:00
darkweb2017-top10000.txt Close #291 - Fix encoding issues 2019-05-08 11:04:00 +01:00
days.txt Create days.txt 2021-12-15 15:11:20 -06:00
der-postillon.txt Add worlds-safest-password list by Der Postillon 2019-04-05 09:29:47 +02:00
dutch_common_wordlist.txt added dutch passwordlist 2020-04-29 12:21:51 -04:00
dutch_passwordlist.txt dos2unix 2021-08-28 21:29:32 +01:00
dutch_wordlist Added dutchwordlist 2019-10-01 12:22:18 +02:00
german_misc.txt fix: Dedupe wordlist 2022-11-07 12:18:49 +03:00
months.txt Create months.txt 2021-12-15 15:10:21 -06:00
Most-Popular-Letter-Passes.txt Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
mssql-passwords-nansh0u-guardicore.txt Add MSSQL from guardicore: labs_campaigns-Nansh0u 2019-05-30 12:20:13 +01:00
openwall.net-all.txt strip trailing whitespace 2020-05-27 14:26:51 +01:00
probable-v2-top207.txt Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
probable-v2-top1575.txt Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
probable-v2-top12000.txt Add "-" to split up words, moved files since PR accepted 2018-03-05 10:30:27 +00:00
README.md Merge into README.md 2022-08-02 07:11:45 +01:00
richelieu-french-top5000.txt Add richelieu 2019-07-03 14:04:48 +01:00
richelieu-french-top20000.txt fix: Dedupe wordlist 2022-11-07 13:01:06 +03:00
SCRABBLE-hackerhouse.tgz Add scrabble 2019-08-13 12:42:49 +01:00
scraped-JWT-secrets.txt Added a JWT key used in CVE-2023-51442 2024-03-25 13:40:09 -05:00
seasons.txt Create seasons.txt 2021-12-15 15:04:49 -06:00
stupid-ones-in-production.txt Create stupid-ones-in-production.txt 2019-08-08 14:59:22 -05:00
twitter-banned.txt Added Donald Trump leaked passwords (2016 + 2020) 2020-11-03 18:55:07 +07:00
unkown-azul.txt fix: Dedupe wordlist 2022-11-07 12:34:57 +03:00
UserPassCombo-Jay.txt "Passwords/" Clean up 2017-07-11 13:18:31 +01:00
xato-net-10-million-passwords-10.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-100.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-1000.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-10000.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-100000.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-1000000.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords-dup.txt standardisze line endings 2020-05-27 14:10:50 +01:00
xato-net-10-million-passwords.txt standardisze line endings 2020-05-27 14:10:50 +01:00

The Passwords directory will hold a number of password lists that can be used by multiple tools when attempting to guess credentials for a given targeted service. This will include a number of very popular lists in cooperation with their maintainers, including the RockYou lists maintained by Rob Bowes.


  • Password lists containing the count are located in the "withcount" folder.
  • Lists over 100Mb have been compressed.

scraped-JWT-secrets.txt

This wordlist is from https://github.com/wallarm/jwt-secrets


Some passwords lists are +100MB and can't be stored on the repository. The following are external links to download more: