Bash cmd

EasyBash

Overview

I'm using a script located at `/challenge/chall.sh` to prevent the execution of dangerous commands on the server. It requires `sudo` privileges because it performs several operations that need elevated access, such as running `sudo /challenge/chall.sh`. The script is currently protected. Is there a way to bypass it and retrieve the flag located at `/root/flag.txt`? Flag Format: Flag{}

Lab Details

Prerequisites & Requirements

  • Basic Linux and bash knowledge

What will you learn?

  • Bypassing restrictions in bash to execute commands
  • Using bash globbing techniques

Tools

  • Linux
  • Browser

Job Positions

Unknown

Tags

ShellBash ScriptingBash GlobbingRoot AccessLinux Commands