1747347030
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="css/princesspi-default-css.css">
|
|
||||||
<link rel="icon" type="css/img/" href="css/img/favicon.ico">
|
|
||||||
<script src="js/princesspi-default-js.js"></script>
|
|
||||||
<title>Demo Page | Princess Pi's Magical Standard Code</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Demo Page~</h1>
|
|
||||||
<div>
|
|
||||||
<a href="#">real link</a>
|
|
||||||
<br>
|
|
||||||
<span class="fakelink">fakelink</span>
|
|
||||||
<br>
|
|
||||||
<textarea>(textarea)</textarea>
|
|
||||||
<br>
|
|
||||||
<input type="text" value="(text input)">
|
|
||||||
<br>
|
|
||||||
<input type="submit" value="go, baby, go (submit)">
|
|
||||||
<br>
|
|
||||||
<input type="button" value="go, baby, go (button)">
|
|
||||||
<br>
|
|
||||||
<button>go, baby, go (newbutton)</button>
|
|
||||||
<br>
|
|
||||||
<ul>
|
|
||||||
<li>unordered list</li>
|
|
||||||
<li>ul list</li>
|
|
||||||
<li>list element</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
+2
-1
@@ -8,10 +8,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$file_name = date("Ymd-Hi-s") . "-" . rand(1000000,9999999) . ".xml";
|
$file_name = date("Ymd-Hi-s") . "-" . rand(1000000,9999999) . ".xml";
|
||||||
$run_cmd = "bash scripts/run_scan.sh -oX scans/$file_name --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl $post_cmd&";
|
$run_cmd = "bash ./scripts/run_scan.sh nmap -oX ./scans/$file_name --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl $post_cmd";
|
||||||
$web_name = "/nmaprincesspi/scans/$file_name";
|
$web_name = "/nmaprincesspi/scans/$file_name";
|
||||||
|
|
||||||
echo $web_name;
|
echo $web_name;
|
||||||
|
|
||||||
$exec = shell_exec($run_cmd);
|
$exec = shell_exec($run_cmd);
|
||||||
|
echo $exec;
|
||||||
?>
|
?>
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
Starting Nmap 7.95 ( https://nmap.org ) at 2025-05-15 16:07 MDT
|
||||||
|
Nmap scan report for kasm.h.acker.is (64.20.45.110)
|
||||||
|
Host is up (0.070s latency).
|
||||||
|
Not shown: 995 filtered tcp ports (no-response)
|
||||||
|
PORT STATE SERVICE
|
||||||
|
22/tcp open ssh
|
||||||
|
80/tcp open http
|
||||||
|
443/tcp open https
|
||||||
|
3389/tcp open ms-wbt-server
|
||||||
|
8888/tcp open sun-answerbook
|
||||||
|
|
||||||
|
Nmap done: 1 IP address (1 host up) scanned in 7.70 seconds
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm -f ../error.log 2>>./error.log
|
rm -f ../error.log 2>>./error.log
|
||||||
|
rm -f ../running.log 2>>./error.log
|
||||||
rm -f ../scans/* 2>>./error.log
|
rm -f ../scans/* 2>>./error.log
|
||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
eval "$* 2>>../error.log 1>/dev/null&"
|
eval "$* 2>error.log 1>running.log&"
|
||||||
Reference in New Issue
Block a user