工具概述
1、新增批量修改文件夹文件后缀功能,并重新排列工具,更加详细使用
2、新增文件夹监控功能,监控python tool.py -monitor C:\
3、新增将包含rgb值的txt文件转换为png照片的实用功能python tool.py -r2i“ C:\ rgb.txt” -x 100 -y 200
4、新增去重功能,可以使用-delete 1.txt放入文件中所有重复的内容删除掉
优点:小巧,方便,强大,常见的编码方式应有尽有。
例如您输入:python tool.py -urlen =“ Hello China”您可以得到如下结果
原文:你好中国
网址编码:%48%65%6c%6c%6f%08%43%68%69%6e%61
使用说明
该工具设计的初衷是由于在渗透测试中经常会遇到一些新场景,但是没有很好的现成的工具,本着“自己动手丰衣足食”的想法,遇到需求就添加功能所以才有了
现在的它,工具现在还不是很完善!期待和你一起完善它!
您只需要下载即可使用,因为我已经将需要的东西全部封装起来
您只需要输入python tool.py就可以并且得到如下结果:
Encoding&Decoding:
-m MD5 encryption
-s SH1 encryption
-help Show help information
-b64 Base64 encode
-b32 Base32 encode
-b16 Base16 encode
-db64 Base64 decode
-db32 Base32 decode
-db16 Base16 decode
-urlen URL encode
-urlde URL decode
-unien Unicode Encode
Example: -unien "A" Result: \u0061
-unide Unicode Decode Example: -unide "\u0061" Result: A
-hten HTML Encode Example: -hten "A" Result: a
-htde HTML Decode Example: -htde "a" Result: A
-bin Binary To Decimal
-octal Octal Decimal to Decimal
-hex Hexadecimal to Decimal
-dbin Decimal To Binary
-doctal Decimal to Octal
-dhex Decimal to Hexadecimal
-roten Rot Encode Example: -roten dafsdfa -offset 13 Means rot_13 Encode
-rotde Rot Decode Example: -rotde dafsdfa -offset 13 Means rot_13 Decode
Useful:
-ip2int Convert IP to Decimal Example: -ip2int 127.0.0.1
-int2ip Convert int to IP Example: -int2ip 2130706433
-ord Letter To ASCII attention Example: -ord asdfasfa -ord "dfafs afasfa asfasf"
-chr ASCII To Letters Example: -chr 105 -chr "102 258 654"
-offset Rot Encode or Decode Offset
-rename Rename files with 1 same extension to new one Example : -rename C:\test -old_ext txt -new_ext php -old_ext Old file extension
-new_ext New file extension
-gqr Generate QRcode images Example: -gqr "I love you"
-pqr Parse QRcode images Example: -pqr "C:\QR.png"
-add File address Example: -add "C:\1.txt"
-delete Delete File's repeated info Example: -del "C:\1.txt"
-r2i Convert RGB txt to Images Example: -r2i "C:\rgb.txt" -x 100 -y 200
-monitor Directory file changes monitor Example: -monitor "C:\directory"
-x X
-y y
文章来源:
https://github.com/ba1ma0/tool
推荐文章++++