WebPayloadsEncodings (version 0.0.2) | index WebPayloadsEncodings.py |
This tool encodes Web payloads with some different encoding.
~# python3.11 WebPayloadsEncodings.py javascript 'this is my test'
String.fromCharCode(116,104,105,115,32,105,115,32,109,121,32,116,101,115,116)
~# python3.11 WebPayloadsEncodings.py pourcent 'this is my test'
%74%68%69%73%20%69%73%20%6d%79%20%74%65%73%74
~# python3.11 WebPayloadsEncodings.py 'this is my test'
'ms', 'sql server', 'sql_server', 'ms sql', 'ms_sql'
char(116)+char(104)+char(105)+char(115)+char(32)+char(105)+char(115)+char(32)+char(109)+char(121)+char(32)+char(116)+char(101)+char(115)+char(116)
'sqlite', 'oracle', 'oracle sql', 'oracle_sql', 'postgre', 'postgresql'
char(116)||char(104)||char(105)||char(115)||char(32)||char(105)||char(115)||char(32)||char(109)||char(121)||char(32)||char(116)||char(101)||char(115)||char(116)
'mysql', 'mariadb'
CONCAT(char(116),char(104),char(105),char(115),char(32),char(105),char(115),char(32),char(109),char(121),char(32),char(116),char(101),char(115),char(116))
'unicode'
\u{0074}\u{0068}\u{0069}\u{0073}\u{0020}\u{0069}\u{0073}\u{0020}\u{006d}\u{0079}\u{0020}\u{0074}\u{0065}\u{0073}\u{0074}
'javascript', 'script'
String.fromCharCode(116,104,105,115,32,105,115,32,109,121,32,116,101,115,116)
'html unicode', 'html_unicode', 'unicode html', 'unicode_html'
\u{0074}\u{0068}\u{0069}\u{0073}\u{0020}\u{0069}\u{0073}\u{0020}\u{006d}\u{0079}\u{0020}\u{0074}\u{0065}\u{0073}\u{0074}
'hexa escaping', 'hexadecimal escaping', 'hexa_escaping', 'hexadecimal_escaping', 'hexa escape', 'hexa_escape', 'hexadecimal escape', 'hexadecimal_escape'
\x74\x68\x69\x73\x20\x69\x73\x20\x6d\x79\x20\x74\x65\x73\x74
'octal escaping', 'octal_escaping', 'octal escape', 'octal_escape'
\164\150\151\163\040\151\163\040\155\171\040\164\145\163\164
'hexadecimal', 'hexa'
0x74686973206973206d792074657374
'html', 'html_decimal', 'html decimal'
this is my test
'html hexadecimal', 'html_hexadecimal', 'html hexa', 'html_hexa'
this is my test
'url', 'uri', 'pourcent'
%74%68%69%73%20%69%73%20%6d%79%20%74%65%73%74
'2pourcent', 'pourcent2', 'double pourcent', 'double_pourcent'
%2574%2568%2569%2573%2520%2569%2573%2520%256d%2579%2520%2574%2565%2573%2574
~#
>>> code = payloads_encodings("html", 'this is my test')
this is my test
>>> code = payloads_encodings("all", 'this is my test')
'ms', 'sql server', 'sql_server', 'ms sql', 'ms_sql'
char(116)+char(104)+char(105)+char(115)+char(32)+char(105)+char(115)+char(32)+char(109)+char(121)+char(32)+char(116)+char(101)+char(115)+char(116)
'sqlite', 'oracle', 'oracle sql', 'oracle_sql', 'postgre', 'postgresql'
char(116)||char(104)||char(105)||char(115)||char(32)||char(105)||char(115)||char(32)||char(109)||char(121)||char(32)||char(116)||char(101)||char(115)||char(116)
'mysql', 'mariadb'
CONCAT(char(116),char(104),char(105),char(115),char(32),char(105),char(115),char(32),char(109),char(121),char(32),char(116),char(101),char(115),char(116))
'unicode'
\u{0074}\u{0068}\u{0069}\u{0073}\u{0020}\u{0069}\u{0073}\u{0020}\u{006d}\u{0079}\u{0020}\u{0074}\u{0065}\u{0073}\u{0074}
'javascript', 'script'
String.fromCharCode(116,104,105,115,32,105,115,32,109,121,32,116,101,115,116)
'html unicode', 'html_unicode', 'unicode html', 'unicode_html'
\u{0074}\u{0068}\u{0069}\u{0073}\u{0020}\u{0069}\u{0073}\u{0020}\u{006d}\u{0079}\u{0020}\u{0074}\u{0065}\u{0073}\u{0074}
'hexa escaping', 'hexadecimal escaping', 'hexa_escaping', 'hexadecimal_escaping', 'hexa escape', 'hexa_escape', 'hexadecimal escape', 'hexadecimal_escape'
\x74\x68\x69\x73\x20\x69\x73\x20\x6d\x79\x20\x74\x65\x73\x74
'octal escaping', 'octal_escaping', 'octal escape', 'octal_escape'
\164\150\151\163\040\151\163\040\155\171\040\164\145\163\164
'hexadecimal', 'hexa'
0x74686973206973206d792074657374
'html', 'html_decimal', 'html decimal'
this is my test
'html hexadecimal', 'html_hexadecimal', 'html hexa', 'html_hexa'
this is my test
'url', 'uri', 'pourcent'
%74%68%69%73%20%69%73%20%6d%79%20%74%65%73%74
'2pourcent', 'pourcent2', 'double pourcent', 'double_pourcent'
%2574%2568%2569%2573%2520%2569%2573%2520%256d%2579%2520%2574%2565%2573%2574
>>>
Tests:
~# python3.11 -m doctest -v WebPayloadsEncodings.py
23 tests in 18 items.
23 passed and 0 failed.
Test passed.
Functions | ||
|
Data | ||
__all__ = ['payloads_encodings'] __author_email__ = 'mauricelambert434@gmail.com' __copyright__ = '\nWebPayloadsEncodings Copyright (C) 2022, 2023 ...ome to redistribute it\nunder certain conditions.\n' __description__ = 'This tool encodes Web payloads with some different encoding.' __license__ = 'GPL-3.0 License' __maintainer__ = 'Maurice Lambert' __maintainer_email__ = 'mauricelambert434@gmail.com' __url__ = 'https://github.com/mauricelambert/WebPayloadsEncodings' |
Author | ||
Maurice Lambert |