Win7 virtual wireless AP and Android mobile phone capture

Equipment requirements

  • Windows7 operating system
  • Laptop or desktop with wireless network card
  • Wireless network card must support "Host Network"

Check whether the wireless network card supports "Bearer"

  • Method 1:
    Start Menu→All Programs→Accessories→Command Prompt→Right click "Run as administrator";
    type the command "netsh wlan show drivers", check the item "Support Hosted Network", if it is "No", it means Unable to establish wireless AP.
    write picture description here

  • Method 2:
    Double-click "Computer" → Open Control Panel → Network and Sharing Center → Change Adapter Settings → Right-click "Wireless Network Connection" → Properties → Configuration;
    select "Driver" → Driver Details in the tab to view the driver Whether there is a "vwifibus.sys" file in the file, if not, it means that the wireless AP cannot be established.
    write picture description here

Create virtual WiFi and virtual wireless AP

  • Step 1:
    Start Menu→All Programs→Accessories→Command Prompt→Right click "Run as Administrator";
    type the command netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=11111111;
    a) mode: Whether to enable the virtual WiFi network card, if it is changed to disallow, it is disabled.
    b) ssid: wireless network name, preferably in English (take MyWiFi as an example).
    c) key: wireless network password, more than eight characters (take 11111111 as an example).
    write picture description here

  • Step 2:
    Check whether there is a "Wireless Connection 2" with the network card as "Microsoft Virtual WiFi Miniport Adapter" in the network connection;
    write picture description here

-Step 3:
Right-click on a network card device that has been connected to the network → Properties → Select "Sharing", check "Allow other network users... to connect (N)";
in the "Home Network Connection (H)" drop-down list, select Just created "Wi-Fi 2"
write picture description here

  • Step 4:
    Go back to the command prompt and type the command netsh wlan start hostednetwork; the wireless is established successfully.
    write picture description here

other commands

  • Turn off the wireless AP, type the command "netshwlan stop hostednetwork";
  • After the computer restarts, you need to type the command "netsh wlan start hostednetwork" again to start the wireless AP;
  • To completely remove the wireless AP, type the command "netsh wlan set hostednetwork mode=disallow".
  • To view hosted network settings and status, "netsh wlan show hostednetwork".
  • Get all available wifi information, "netsh wlan show all".

Over the wall WIFI configuration

Configure pptp client:
open network and sharing center -> set up a new connection or network -> connect to the workspace -> use my Internet connection (VPN) -> configure pptp server ip -> configure the user to log in to the server according to the wizard name and password.
write picture description here

After successfully connecting to the pptp server, the PC can bypass the wall, and then share this adapter with the previously configured wireless adapter to use it for wifi to bypass the wall.

Android mobile phone capture method

Method 1:
Connect the mobile phone to the virtual Wifi, set the applications that can use this Wifi in Settings - Application Networking Management, and then use Wireshark on the PC to capture the traffic packets of the Android application.

Method 2:
Use the tcpdump tool to capture packets directly on the Android machine, see http://www.cnblogs.com/rootq/archive/2012/04/08/2438262.html for details

Reference :

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325689109&siteId=291194637