Skip to content

Instantly share code, notes, and snippets.

@GugSaas
Created January 22, 2023 19:13
Show Gist options
  • Save GugSaas/c70648288396ee8e07af5e120bdc9258 to your computer and use it in GitHub Desktop.
Save GugSaas/c70648288396ee8e07af5e120bdc9258 to your computer and use it in GitHub Desktop.
Basic SSRF flaw
<?php
if($_GET['next']){
system("curl ".$_GET['next']);
}
?>
<a href="?next=https://google.com">Clique aqui caso nao tenha sido redirecionado</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment