Skip to content

Instantly share code, notes, and snippets.

@stpettersens
Created May 16, 2017 10:31
Show Gist options
  • Save stpettersens/341f395541c48a01910b76d5e77dbdae to your computer and use it in GitHub Desktop.
Save stpettersens/341f395541c48a01910b76d5e77dbdae to your computer and use it in GitHub Desktop.
Spoof netsh command in C++.
/*
Spoof netsh command.
Public domain.
- Sam Saint-Pettersen.
*/
#include <iostream>
int main() {
std::cout << "Name : DUMMY_WIFI" << std::endl;
std::cout << "State : connected" << std::endl;
std::cout << "SSID : DUMMY_ID" << std::endl;
std::cout << "Profile : DUMMY_ID" << std::endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment