-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Check connection
Haoxi Tan edited this page Jan 10, 2020
·
2 revisions
-
Objective: Find out network connection type of hooked phone
-
Authors: mh
-
Browsers: All (with phonegap)
use navigator.network.connection.type
to determine connect type
getConnectionType = function() {
var states = {};
states[Connection.UNKNOWN] = 'Unknown connection';
states[Connection.ETHERNET] = 'Ethernet connection';
states[Connection.WIFI] = 'WiFi connection';
states[Connection.CELL_2G] = 'Cell 2G connection';
states[Connection.CELL_3G] = 'Cell 3G connection';
states[Connection.CELL_4G] = 'Cell 4G connection';
states[Connection.NONE] = 'No network connection';
return states[navigator.network.connection.type];
}
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK