Skip to content

Instantly share code, notes, and snippets.

@weimenglin
Created June 15, 2018 04:56
Show Gist options
  • Save weimenglin/0c6c6fc006ad09f88c71ec2fa954c510 to your computer and use it in GitHub Desktop.
Save weimenglin/0c6c6fc006ad09f88c71ec2fa954c510 to your computer and use it in GitHub Desktop.
javascript:
var form = document.createElement("form");
var element1 = document.createElement("input");
var element2 = document.createElement("input");
form.method = "POST";
form.action = "https://xxx.tw/member.php";
element1.name = "account";
element1.value = "xxx@gmail.com";
element2.name = "password";
element2.value = "123456";
form.appendChild(element1);
form.appendChild(element2);
document.body.appendChild(form);
form.submit();
void 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment