Skip to content

t0-n1/bashCommandObfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Bash Command Obfuscator

Usage

> ./bashCommandObfuscator.sh "ls -l /usr/bin | grep unzip"
l	154	10011010
s	163	10100011
 
-	55	00110111
l	154	10011010
 
/	57	00111001
u	165	10100101
s	163	10100011
r	162	10100010
/	57	00111001
b	142	10001110
i	151	10010111
n	156	10011100
 
|
 
g	147	10010011
r	162	10100010
e	145	10010001
p	160	10100000
 
u	165	10100101
n	156	10011100
z	172	10101100
i	151	10010111
p	160	10100000

$0<<<\($\'\\$(($((1<<1))#10011010))\\$(($((1<<1))#10100011))\'\ $\'\\$(($((1<<1))#00110111))\\$(($((1<<1))#10011010))\'\ $\'\\$(($((1<<1))#00111001))\\$(($((1<<1))#10100101))\\$(($((1<<1))#10100011))\\$(($((1<<1))#10100010))\\$(($((1<<1))#00111001))\\$(($((1<<1))#10001110))\\$(($((1<<1))#10010111))\\$(($((1<<1))#10011100))\'\ \|\ $\'\\$(($((1<<1))#10010011))\\$(($((1<<1))#10100010))\\$(($((1<<1))#10010001))\\$(($((1<<1))#10100000))\'\ $\'\\$(($((1<<1))#10100101))\\$(($((1<<1))#10011100))\\$(($((1<<1))#10101100))\\$(($((1<<1))#10010111))\\$(($((1<<1))#10100000))\'\)

> $0<<<\($\'\\$(($((1<<1))#10011010))\\$(($((1<<1))#10100011))\'\ $\'\\$(($((1<<1))#00110111))\\$(($((1<<1))#10011010))\'\ $\'\\$(($((1<<1))#00111001))\\$(($((1<<1))#10100101))\\$(($((1<<1))#10100011))\\$(($((1<<1))#10100010))\\$(($((1<<1))#00111001))\\$(($((1<<1))#10001110))\\$(($((1<<1))#10010111))\\$(($((1<<1))#10011100))\'\ \|\ $\'\\$(($((1<<1))#10010011))\\$(($((1<<1))#10100010))\\$(($((1<<1))#10010001))\\$(($((1<<1))#10100000))\'\ $\'\\$(($((1<<1))#10100101))\\$(($((1<<1))#10011100))\\$(($((1<<1))#10101100))\\$(($((1<<1))#10010111))\\$(($((1<<1))#10100000))\'\)
-rwxr-xr-x 3 root root       39144 sep  5  2019 bunzip2
-rwxr-xr-x 1 root root       26776 oct  7 19:09 funzip
-rwxr-xr-x 2 root root        2346 abr  8  2022 gunzip
-rwxr-xr-x 1 root root        5656 jul 22  2021 preunzip
-rwxr-xr-x 2 root root      186664 oct  7 19:09 unzip
-rwxr-xr-x 1 root root       84248 oct  7 19:09 unzipsfx
> echo 'for i in 1 2 3;do echo $i;done' | base64
Zm9yIGkgaW4gMSAyIDM7ZG8gZWNobyAkaTtkb25lCg==

> ./bashCommandObfuscator.sh 'echo Zm9yIGkgaW4gMSAyIDM7ZG8gZWNobyAkaTtkb25lCg==|base64 -d|bash'

About

Obfuscator for bash commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages