“Wifi” Réponses codées

flèche

git clone https://github.com/derv82/wifite2.git 
cd wifite2 
sudo ./Wifite.py 
sudo python setup.py install
//Make sure you have Aircrack-ng installed//
GrizzlyBearBehindYou

Wifi

import network

wlan = network.WLAN(network.STA_IF) # create station interface
wlan.active(True)       # activate the interface
wlan.scan()             # scan for access points
wlan.isconnected()      # check if the station is connected to an AP
wlan.connect('essid', 'password') # connect to an AP
wlan.config('mac')      # get the interface's MAC address
wlan.ifconfig()         # get the interface's IP/netmask/gw/DNS addresses

ap = network.WLAN(network.AP_IF) # create access-point interface
ap.config(essid='ESP-AP') # set the ESSID of the access point
ap.config(max_clients=10) # set how many clients can connect to the network
ap.active(True)         # activate the interface
dkb234

Réponses similaires à “Wifi”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code