Skip to content

Instantly share code, notes, and snippets.

@IsTheJack
Last active February 29, 2016 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IsTheJack/7766fda346f09f378368 to your computer and use it in GitHub Desktop.
Save IsTheJack/7766fda346f09f378368 to your computer and use it in GitHub Desktop.
Logar direto no sistema acadêmico da AEDB sem precisar entrar no site e digitar o formulário chatão lá
<!DOCTYPE html>
<html lang="pt-br">
<body>
<form action="http://www.aspescola.com.br/app/appAuth" method="post" name="formularioAluno" role="form">
<input name="txt_CdInstituicao" type="hidden" value="277">
<input id="username" name="j_username" type="hidden">
<input id="password" name="j_password" type="hidden">
<input name="txt_DsRespostaSecreta" type="hidden" value="277">
<input name="txt_IdTipoUsuario" type="hidden" value="3">
<input id="txt_IdModulo" name="txt_IdModulo" type="hidden" value="2">
<input id="button" name="submit" type="submit" value="Entrar no Portal Acadêmico">
</form>
<script>
// Escreva sua matrícula detro das aspas da linha abaixo:
var suaMatricula = "";
// Escreva sua senha dentro das aspas da linha abaixo:
var suaSenha = "";
// Não modifique o código abaixo:
document.getElementById('username').value = suaMatricula;
document.getElementById('password').value = suaSenha;
document.getElementById('button').dispatchEvent(new Event('click'));
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment