Skip to content

Instantly share code, notes, and snippets.

@AlexLynd
Last active September 24, 2021 13:13
Show Gist options
  • Save AlexLynd/3d693c12b9b06041e3b6ce86682b6b5e to your computer and use it in GitHub Desktop.
Save AlexLynd/3d693c12b9b06041e3b6ce86682b6b5e to your computer and use it in GitHub Desktop.
Phone number wordlist generator for hacking Wi-Fi networks
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