Skip to content

a small bash jail bypass - combine env variables to call any command with only 11 chars (no alphanum)

Notifications You must be signed in to change notification settings

trichimtrich/bashfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bashfuck

a small bash jail bypass - combine env variables to call any command with only 11 chars (no alphanum)

Bash is a very powerful shellscript-interpreter.

It has many environment variables. And we can do basic operator (+,-,*,/, concat, substr, ...) with variables.

So I just made a little fun to execute command without using alphanum characters.

There are 2 files that worked on macos and linux (ubuntu - in my case)

Change your command in source code (COMMAND = '-----')

Screenshot 1 alt tag

Screenshot 2 alt tag

Have fun ^^!

About

a small bash jail bypass - combine env variables to call any command with only 11 chars (no alphanum)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages