-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhacking.html
28 lines (20 loc) · 991 Bytes
/
hacking.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
<head>
<script src="bootstrap/js/jquery.js"></script>
</head>
<form class="navbar-form" method="post" action="http://teamnowl.web.engr.illinois.edu/login.php" id="hacky">
<p style="text-align:right;">
<b>Email:</b> <input class="spansearch" type="text" id="email" placeholder=""><br>
<b>Password:</b> <input class="spansearch" type="password" name="password" placeholder=""><br>
<br>
<button type="submit" class="btn btn-primary btn-large"></button>
</p>
</form>
<script type="text/javascript">
$('#hacky').submit(function(event){
event.preventDefault();
var password = 'aaaaa';
$.post('http://teamnowl.web.engr.illinois.edu/login.php', {email: $('#email').val(), password:password}, function(data){
alert(data);
});
});
</script>