Skip to content

Instantly share code, notes, and snippets.

@Xib3rR4dAr
Created January 27, 2022 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xib3rR4dAr/226423d4d7ca1a477d2b2af01dfdf7a7 to your computer and use it in GitHub Desktop.
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