Created
October 25, 2012 13:58
-
-
Save lizheming/3952691 to your computer and use it in GitHub Desktop.
srun login by html form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Srun Login!</title> | |
<script type="text/javascript"> | |
function submit() { | |
document.getElementById('submit').click(); | |
} | |
</script> | |
</head> | |
<body onload="submit();"> | |
<form action="http://202.204.105.195:3333/cgi-bin/do_login" method="post"> | |
<!--将账号,密码,MAC地址分别填写进value=""的俩冒号中,例如value="1234567"--> | |
<p>账号:<input name="username" value=""></p> | |
<p>密码:<input type="password" name="password" value=""></p> | |
<p>MAC:<input name="mac" type="hidden" value=""></p> | |
<input name="n" type="hidden" value="99"> | |
<input name="type" type="hidden" value="3"> | |
<p><input type="submit" id="submit" value="OK" /></p> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment