Skip to content

Instantly share code, notes, and snippets.

@Xib3rR4dAr
Created January 27, 2022 10:33
Show Gist options
  • Select an option

  • Save Xib3rR4dAr/226423d4d7ca1a477d2b2af01dfdf7a7 to your computer and use it in GitHub Desktop.

Select an option

Save Xib3rR4dAr/226423d4d7ca1a477d2b2af01dfdf7a7 to your computer and use it in GitHub Desktop.
<?php
// For testing XSS is various status codes
http_response_code($_GET['rCode']); // User controlled response code
echo $_GET['payload']; // User input reflected as it is
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment