mirror of
https://github.com/0xInfection/Awesome-WAF.git
synced 2025-02-04 08:55:28 -05:00
Update obfu.py
This commit is contained in:
parent
5e9ac80bed
commit
1f741d7c70
@ -46,7 +46,7 @@ def main():
|
|||||||
|
|
||||||
# Required Options
|
# Required Options
|
||||||
required.add_argument('-s', '--str', help='String to obfuscate', dest='str')
|
required.add_argument('-s', '--str', help='String to obfuscate', dest='str')
|
||||||
required.add_argument('-e', '--enc', help='Encoding type. eg: ibm037, ibm420, etc', dest='enc')
|
required.add_argument('-e', '--enc', help='Encoding type. eg: ibm037, utf16, etc', dest='enc')
|
||||||
|
|
||||||
# Optional Arguments (main stuff and necessary)
|
# Optional Arguments (main stuff and necessary)
|
||||||
optional.add_argument('-ueo', help='URL Encode Output', dest='ueo', action='store_true')
|
optional.add_argument('-ueo', help='URL Encode Output', dest='ueo', action='store_true')
|
||||||
@ -59,4 +59,4 @@ def main():
|
|||||||
print('Output: %s' % (paramEncode(params=args.str, charset=args.enc, urlDecodeInput=args.udi, urlEncodeOutput=args.ueo)))
|
print('Output: %s' % (paramEncode(params=args.str, charset=args.enc, urlDecodeInput=args.udi, urlEncodeOutput=args.ueo)))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user