Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/post/multi/gather/wlan_geolocate.md
Views: 11789
Creating A Testing Environment
For this module to work you need a box with a wireless adapter. The following methods are used to gather wireless information from the host:
Windows:
netsh wlan show networks mode=bssid
OSX:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
Linux:
iwlist scanning
Solaris:
dladm scan-wifi
BSD:
dmesg | grep -i wlan | cut -d ':' -f1 | uniq"
Android: WifiManager
If GEOLOCATE
is set to true, Google's GeoLocation APIs are utilized. These APIs require a Google API key to use them. The original methodology used by this module in #3280, which didn't require an API key, was found to no longer work in #8928.
Verification Steps
Start msfconsole
Obatin a meterpreter session via whatever method
Do:
use post/multi/gather/wlan_geolocate
Do:
set session #
Do:
set apikey [key]
Do:
run
Options
geolocate
A boolean on if wireless information should only be gathered, or the Google geolocate API should be used to geo the victim. Defaults to false
apikey
A string containing the Google provided geolocation api key. REQUIRED if geolocate
is set to true. Defaults to empty string