Last active
September 24, 2021 13:13
-
-
Save AlexLynd/3d693c12b9b06041e3b6ce86682b6b5e to your computer and use it in GitHub Desktop.
Phone number wordlist generator for hacking Wi-Fi networks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from os import path | |
area_code= input("Area Code: ") | |
output= "wlist/"+area_code+".txt" | |
if not os.path.exists("wlist"): | |
os.mkdir("wlist") | |
if path.exists(output): | |
print(output+" already exists, overwriting") | |
os.remove(output) | |
else: | |
print("Creating "+output) | |
f= open(output,"w+") | |
for i in range(0,1000000): | |
f.write(area_code+str(i).zfill(6)+"\n") | |
print("done.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment