-
Notifications
You must be signed in to change notification settings - Fork 1
/
forget.jsp
106 lines (97 loc) · 4.56 KB
/
forget.jsp
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
<html
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<script>
function check() {
var id = document.forms[0].p1.value;
var myindex = document.forms[0].p2.selectedIndex;
var quest = document.forms[0].p2.options[myindex].text;
var ans = document.forms[0].p3.value;
if (id == "" || quest == "" || ans == "")
alert("Please Enter all fields");
else if (id.lastIndexOf("@global.com") == -1)
alert("Please Enter Valid ID. ex [email protected]");
else {
document.forms[0].action = "/Phising/Forget";
document.forms[0].submit();
}
}
function hom() {
document.forms[0].action = "home.jsp";
document.forms[0].submit();
}
</script>
</head>
<body background="image/theme.gif">
<div style="position: absolute; width: 100px; height: 100px; z-index: 4; left: 610px; top: 13px" id="layer7">
<div style="position: absolute; width: 246px; height: 33px; z-index: 2; left: -286px; top: 124px" id="layer10">
<div style="position: absolute; width: 100px; height: 27px; z-index: 1; left: -324px; top: -138px" id="layer11">
<div style="position: absolute; width: 617px; height: 50px; z-index: 1; left: 91px; top: 364px"
id="layer12">
<center><font color=#CC0000>
<b><%
if ((request.getAttribute("msg")) == null) {
System.out.println("");
} else {%>
<font color=#009900>Show Msg:</font>
<% request.getAttribute("msg"); } %></b></font></center>
</div>
<input type=image src="image/hom.gif" onclick="hom()"><br>
<p> </div>
<u><font face="Book Antiqua" size="4" color="#008000">Forget Password</font></u></div>
<input border="0" src="image/globe1.gif" name="I5" width="86" height="83" type="image">
<div style="position: absolute; width: 100px; height: 19px; z-index: 1; left: 4px; top: 34px" id="layer8">
<b><font face="French Script MT" color="#00FFFF" size="5">
<marquee width="78">Global Mail</marquee>
</font></b></div>
<p> </div>
<p> </p>
<p>
</p>
<div style="position: absolute; width: 465px; height: 134px; z-index: 1; left: 165px; top: 15px" id="layer1">
<div style="position: absolute; width: 195px; height: 21px; z-index: 1; left: 164px; top: 57px" id="layer5">
<i><b><font color="#800000" face="Bodoni MT" size="2">Connecting People
Globally !</font></b></i></div>
<blockquote>
<h1 align="left"><b>
<font size="7" face="Century Schoolbook" color="#800080">G</font><font size="7"
face="French Script MT"
color="#800080">lobal
Mail </font></b></h1>
<p align="left"> </p>
</blockquote>
</div>
<p> </p>
<p> </p>
<blockquote>
<p> </p>
<blockquote>
<form method=post>
<blockquote>
<blockquote>
<blockquote>
<pre><br>
<b><font color="#000080">UserName</font></b> <input type=text name=p1><br>
<b><font color="#000080">Secret Question</font> </b> <select size="1" name="p2"
style="font-weight: bold; border-style: solid; border-width: 1px">
<option selected>Who is your favourite player?</option>
<option>What is your first phone no?</option>
<option>What is your favourite color?</option>
<option>What is your favourite food?</option>
<option>What is your favourite color</option></select><br>
<b><font color="#000080">Secret Answer</font></b> <input type=text name=p3><br> </pre>
<pre> <input type=button onclick="check()"
style="border:0px solid #FFFFFF; background-image: url('image/find.gif')"
value=" "><br> <br>
</pre>
</blockquote>
</blockquote>
</blockquote>
</form>
</blockquote>
</blockquote>
</body>
</html>