Skip to content

A multi-Platform multi-Functional Tool written in C

Notifications You must be signed in to change notification settings

jalupaja/MultiTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiTool

A multi-Platform multi-Functional tool written in C

Features

Feature Usage
help Show help output
Pw Show a random password
Num Show a pseudorandom number
Name Show a random username
d2h Convert decimal to hex
d2b Convert decimal to binary
d2c Convert decimal to character
h2d Convert hex to decimal
h2b Convert hex to binary
h2s Convert hex to string
b2d Convert binary to decimal
b2h Convert binary to hex
b2c Convert binary to character
s2h Convert string to hex
s2b Convert string to binary
base64Enc Encode a base64 string
base64Dec Decode a base64 string
sLen Get string length
sUpper Convert string to only uppercase
sLower Convert string to only lowercase
sRev Reverse string
sTiems Output string multiple times
sSplitNum Split string after maximum length
sSplitChar Split string at specific character(s)
sRem Remove Specific characters of string
lineAt Output only the line at the given number

This tool allows input via pipe symbol("|"). The input will function as read as the last argument!

Options

Pw

Option Usage
'l' use lower characters
'u' use upper characters
'n' use numbers
's' use special characters
'rx' create x Passwords

Usage: mt Pw [options] [length]

Example howto
1 password with the length of 20 mt Pw
12 passwords with the length of 50 mt Pw r12 50
2 number-only passwords with the length of 4 mt Pw nr2 4

Num

Usage: mt Num [min] [max]

Example howto
Number between 1 and 10 mt Num
Number between 1 and 100 mt Num 100
Number between -10 and 0 mt Num -10 0

Name

Option Usage
'l' only lowercase name
'u' only uppercase name
'n' first character of each word is uppercase (default)
'ry' create y usernames
'my' set minimum length to y
'xy' set maximum length to y

Usage: mt Name [options] [path]

Example howto
Name with a minimum length of 3 and maximum length of 20 mt Name
4 uppercase names with a minimum length of 20 and maximum length of 50 mt Name ur4m20x50
2 names using 'firstList.txt' and 'secondList.txt' saved at 'C:\' mt Name r2 "C:\"

d2h - sRev

Usage: mt d2h [input]

Examples:

Example howto
Convert 5 to hex mt d2h 5
Decode base64 string mt base64Dec aHR0cHM6Ly9naXRodWIuY29tL2phbHVwYWph

sTimes

Usage: mt sTimes [input] [times]

Examples:

Example howto
Output aaaaa mt sTimes a 5
Output abcabc mt sTimes abc 2

sSplitNum

Usage: mt sSplitNum [input] [after]

Examples:

Example howto
Split "abcdefg" after every 2 characters mt sSplitNum abcdefg 2

sSplitChar

Usage: mt sSplitChar [input] -[characters]

Examples:

Example howto
Split "ababcb" at 'a' and 'c' -> "b b b" mt sSplitChar ababcb -ac
Split "abab" before 'a' -> " ab ab" mt sSplitChar ababcb -=a
Split "abab" after 'a' -> "a ba b" mt sSplitChar ababcb -a=

sRem

Usage: mt sRem [input] -[characters]

Examples:

Example howto
Remove 'a' and 'c' of "ababcb" -> "bbb" mt sRem ababcb -ac

lineAt

Usage: mt lineAt -[line] [input]

Examples:

Example howto
Get 5th line mt lineAt -5 "ab\ncd\nef\ng\nh\nij"