Skip to content

Commit eb53c3d

Browse files
committed
add full_HTML_encode.py to payloadprocessor
Signed-off-by: Timothée Ruffenach <[email protected]>
1 parent aaed85c commit eb53c3d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

payloadprocessor/full_HTML_encode.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# @author RUFFENACH timothée
2+
# Version 1.0
3+
# encode payload to full HTML encode
4+
5+
def process(payload):
6+
payloadEncode=""
7+
8+
# convert to full HTML
9+
for i in payload:
10+
payloadEncode += "&#"
11+
payloadEncode += str(ord(i))
12+
payloadEncode += ";"
13+
14+
return payloadEncode

0 commit comments

Comments
 (0)