Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

virink/vCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vCommand

A command tools for me

Functions

  • [*] macstr - MAC地址转换
  • str2ascii - 字符串 -> ASCII
  • str2ord - 字符串 -> ASCII
  • ascii2str - ASCII -> 字符串 (逗号分隔)
  • ord2str - ASCII -> 字符串
  • dec2hex - Dec -> Hex
  • hex2dec - Hex -> Dec
  • byte2hex - Byte -> Hex
  • str2byte - 字符串 -> Byte
  • str2hex - 字符串 -> Hex
  • hex2byte - Hex -> Byte
  • hex2str - 字符串 -> Hex
  • ip2hex - IP -> Hex
  • hex2ip - Hex -> IP
  • dec2ip - Dec -> IP
  • ip2dec - IP -> Dec
  • b64d - Base64 Decode
  • b64e - Base64 Encode
  • b32d - Base32 Decode
  • b32e - Base32 Encode
  • b16d - Base16 Decode
  • b16e - Base14 Encode
  • atbash - 埃特巴什码解码
  • caesar - 凯撒编码
  • rot13 - rot13
  • mpkc - 手机键盘编码 Mobile Phone Keyboard Cipher
  • morse - 摩斯电码
  • peigen - 培根密码
  • vigenere - 维吉利亚密码
  • urld - URL 解码
  • urldecode - URL 解码
  • urle - URL 编码
  • urlencode - URL 编码
  • urldp - URL 解码 Plus
  • urldecode_plus - URL 解码 Plus
  • urlep - URL 编码 Plus
  • urlencode_plus - URL 编码 Plus
  • ctfr - CFTR 查询子域名 Search By https://crt.sh
  • png - PNG 文件格式分析
  • githack - GitHack Git源码泄露下载

Install

pip install vcommand pip install vcommand-0.1.1-py3.7.egg

# 用于 zsh & zsh-syntax-highlighting
echo 'eval $($(which vcommand) _alias)' >> ~/.zshrc
# bash
echo 'eval $($(which vcommand) _alias)' >> ~/.bashrc

快捷命令???

function command_not_found_handler(){
    if {which vcommand > /dev/null} {
        $(which vcommand) $@
    } else {
        echo "[!] zsh: command not found: $0"
    }
}

Usage

vcommand func

About

[Rewrite a new tool by Golang] A command plugin for terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published