Decoding artifactsHackBlue

A hex string piped into a shell

A post-install script contains a long hex string fed to xxd and then to sh. Decode it without running it, and find the domain and the shell it pipes into.

  • Terminal mission
  • Beginner
  • 2 questions
  • 0 of 2 solved

Your goal

Your goalDecode a hidden install command without running it, and name where it downloads from.

A developer pulled a package from an unofficial mirror. Its install.sh has one line that nobody can read at a glance.

xxd -r -p turns plain hex back into bytes. Decode it and print it; never pipe it into a shell to find out.

What’s on screen
Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.

analyst@ir-workstation

ir-workstation · Decoding artifacts

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.