Giter Site home page Giter Site logo

tool's Introduction

中文说明:

更新日志 2019-8-18 20:19:16

  1. 新增批量修改文件夹文件后缀功能,并且重新排版工具,更加便于使用

更新日志 2019-7-18 20:19:16

  1. 新增文件夹监视器功能,以便用于日志审计 python tool.py -monitor C:\
  2. 新增将含有rgb值的txt文件转化为png照片的实用功能 python tool.py -r2i "C:\rgb.txt" -x 100 -y 200
  3. 新增去重功能,可以使用-delete 1.txt 将该文件中所有重复的内容删除掉

使用说明

该工具设计的初衷是由于在渗透测试中经常会遇到一些新场景,但是没有很好的现成的工具,本着"自己动手丰衣足食"想法,遇到需求就添加功能所以才有了

现在的它,工具现在还不是很完善!期待和你一起完善它!

您只需要下载即可使用,因为我已经将需要的东西全部封装起来

您只需要输入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    "&#97"      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   

优 点:小巧,方便,强大,常见的编码方式应有尽有.

比如您输入: python tool.py -urlen="Hello China"您可以得到如下结果

Original:Hello China

URL encode:%48%65%6c%6c%6f%08%43%68%69%6e%61


分割线 分割线 分割线 分割线 分割线 分割线 分割线


English introduction:

The original intension of designing this tool is that some new problems offten occur in penetration testing.But i

can't find a tool to fix it immediately.So? Now that i cant't find a tool it's better to make a tool to fix my

problems and may be it can also solve other people's problems.BTW it's not perfect now,and i am looking forward

to work with you to make it better!

What you need to do is just download it and use it because i have packaged all third-part modules!

What you need to do is just type python tool.py and then you can get the result as follows!

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    "&#97"      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   

Advantage:small but powerful ,it includes most of usual encoding methods

For example: python tool.py -urlen="Hello English" then you can get as follows

Original:Hello English

URL encode:%48%65%6c%6c%6f%08%45%6e%67%6c%69%73%68

tool's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.