-
Notifications
You must be signed in to change notification settings - Fork 0
/
launcher.html
66 lines (55 loc) · 2.13 KB
/
launcher.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>phpRemoteShell file launcher</title>
<style>
* {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;}
input {border: 1px black solid; background: #98b2d7; color: black;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;}
a {color: cornflowerblue;}
p {text-align:center;}
table {border: 1px cornflowerblue solid;margin:auto;margin-top:20px;padding:10px;width:60%;}
tr.submit td {text-align: center;padding-top:20px;}
th {text-align: right;width:120px;}
td.value input {padding:5px;width:98%;}
caption {background: black; color: cornflowerblue;border: 2px cornflowerblue solid; border-bottom:none;text-align: center; padding: 5px;}
#title {background: cornflowerblue; border: 1px black solid; padding: 5px;text-align: center; font-weight: bold; font-size: 12px;}
#title span {color: white;}
</style>
<script language="javascript">
function update_prs_location (f)
{
var url = f.prs_location.value.trim ();
if (url.search (/^http/i) < 0)
url = 'http://'+url;
if (url.search (/\.php\d?$/i) < 0)
url += (url.search (/\/$/) < 0) ? '/prs.php' : 'prs.php';
f.prs_location.value = url;
f.action = url;
}
</script>
</head>
<body onLoad="update_prs_location (document.forms[0]);">
<div id="title">
Welcome to <span>phpRemoteShell</span> file requester
</div>
<p>The current form will be <b>POST</b>ed here :</p>
<div id="prs_location"> </div>
<form method="post" name="prs" target="_blank" action="http://localhost/prs.php" onchange="update_prs_location(this)">
<table>
<caption>Launcher</caption>
<tr>
<th>PRS URL : </th>
<td class="value"><input type="text" name="prs_location" value="http://localhost/prs.php"/></td>
</tr>
<tr>
<th>Encryption Key : </th>
<td class="value"><input type="text" name="cryptkey" value=""/></td>
</tr>
<tr class="submit">
<td colspan="2"><input type="submit" value="Launch"/></td>
</tr>
</table>
</form>
</body>
</html>