Skip to content

Commit

Permalink
add full_HTML_encode.py to payloadprocessor
Browse files Browse the repository at this point in the history
Signed-off-by: Timothée Ruffenach <[email protected]>
  • Loading branch information
timruff committed Jun 5, 2023
1 parent aaed85c commit eb53c3d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions payloadprocessor/full_HTML_encode.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# @author RUFFENACH timothée
# Version 1.0
# encode payload to full HTML encode

def process(payload):
payloadEncode=""

# convert to full HTML
for i in payload:
payloadEncode += "&#"
payloadEncode += str(ord(i))
payloadEncode += ";"

return payloadEncode

0 comments on commit eb53c3d

Please sign in to comment.