-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Ping Sweep (FF)
Haoxi Tan edited this page Jan 7, 2020
·
2 revisions
-
Objective: Perform a ping sweep of the network
-
Authors: jgaliana
-
Browsers: Firefox (< 60)
It works by calling a Java method from JavaScript and does not require user interaction. It doesn't always work on Firefox.
function do_scan(host, timeout) {
var status=false;
var ping="";
try {
status = java.net.InetAddress.getByName(host).isReachable(timeout);
} catch (e) { /*handle exception...? */ }
if (status) {
ping = host + " is alive!";
} else if (verbose) {
ping = host + " is not alive";
}
return ping;
}
- The default value (2000 ms) seems to be valid for virtual network
- Users should take care of the IP range format : 10.1.1.1-10.1.1.3 is valid, 10.1.1.1-3 is not
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK