Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

easily find wifi passwords with python

hey guys, this isn't much of a hack but more of just a useful tool I made. If you have entered your wifi password on your computer before but some how forgot it or lost it then this tool is for you. It also has some added benefits, lets say you're at school and you need the staff wifi because the student wifi blocks everything, well simply compile this tool with pyinstaller and you can plug it in to a school computer which I guarantee was once logged into the staff wifi. Simply run the exe that you compiled, now you have the staff wifi password! Just remember it only works if you have been logged onto the wifi before.

Code
import sys
import os
from colorama import Fore,init
init()
try:
    user = raw_input(Fore.GREEN + " Type Start To Continue >>> ")
    if user == "start":
        print (Fore.RED)
        os.system ("netsh wlan show profile")
        wifi = raw_input(Fore.GREEN + " Enter A Network Name: ")
        print(Fore.RED)
        os.system ("netsh wlan show profile " + (wifi) + " key=clear")
        print (Fore.GREEN + " Password For " + (wifi) + " Is Shown Above Under Key Content!")

except:
    print (Fore.RED + " Exiting System..")
    sys.exit()
        
finish = raw_input(" Type Exit To Close The Program >>> ")
if finish == "exit":
    sys.exit()
I would suggest outputting all WIFI profiles on the system its running on and not specify an input. Keep it up, great recovery tool for newbies.
Nice one. However, unless you run it as administrator, you won't be able to see the WiFi key... And since student mode won't run as administrator, you would need some form of privilege escalation before this works.

WR,
HF
(Jul 29, 2017 06:36 AM)hfactor Wrote:  Nice one. However, unless you run it as administrator, you won't be able to see the WiFi key... And since student mode won't run as administrator, you would need some form of privilege escalation before this works.

WR,
HF

yes this is true and that's a good point. You could easily work around this problem by using the ease of access exploit, good catch bro:)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Shell] by HackooOct 11, 2020 04:59 AM 36 2,537 Oct 11, 2020 04:59 AM
Last Post: Hackoo
[C#] by FossoyeurBTCJun 20, 2017 03:40 AM 4 310 Jun 20, 2017 03:40 AM
Last Post: FossoyeurBTC