mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
manual nmap scan
a little less PHP/POST and a little more JS. the nmap scan now also works via the presence page
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
$PIA_HOST_IP = $_REQUEST['scan'];
|
||||
exec('nmap '.$PIA_HOST_IP, $output);
|
||||
echo 'Scan Results of the target: '.$PIA_HOST_IP;
|
||||
echo '<pre style="border: none;">';
|
||||
foreach($output as $line){
|
||||
echo $line . "\n";
|
||||
|
||||
Reference in New Issue
Block a user