Skip to content

Instantly share code, notes, and snippets.

@zhuowei
Created November 26, 2012 05:08
Show Gist options
  • Save zhuowei/4146697 to your computer and use it in GitHub Desktop.
Save zhuowei/4146697 to your computer and use it in GitHub Desktop.
Fail MCDawn Heartbeat sender in html
<!DOCTYPE html>
<html>
<head>
<title>MCDawn Heartbeat pacemaker</title>
</head>
<body>
<h1>This is a fail. I'm making a note here: HUGE FAILURE</h1>
<form id="mainform" target="outputframe" method="get" action="http://servers.mcdawn.com/beat.php">
<p>Static:</p>
<p>Port: <input name="port" value="25565"></p>
<p>Max: <input name="max" value="20"></p>
<p>Name: <input name="name" value="YoloCraft"></p>
<p>Public: <input name="public" value="true"></p>
<p>Version: <input name="version" value="7"></p>
<p>Non-static:</p>
<p>Players: <input name="players" value="0"></p>
<p>Users: <input name="users" value="0"></p>
<p>MOTD: <input name="motd" value=""></p>
<p>DawnVersion: <input name="dawnversion" value="OVER 9000"></p>
<p>Hash: <input name="hash" value="a79387b095fe759995e53f9c7187aead"></p>
<p>Salt: <input name="salt" value="wo6kVAHjxoJcInKx"></p>
<p>MaxPlayers: <input name="maxplayers" value="20"></p>
<p>Worlds: <input name="worlds" value="main"></p>
<p>Global Chat: <input name="gcname" value="MCDawn9999"></p>
<p><input type="submit" value="Submit!"></input></p>
</form>
<iframe id="outputframe" name="outputframe">
</iframe>
</body>
</html>
@jonnyli1125
Copy link

Change method="get" to method="post".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment