Abusing Expansion


The Art of the Shell.

The shell is as mysterious as it is powerful. As a first stop in our journey, we will explore concepts of variable expansion, the pitfalls around quoting (and lack thereof!), and the raw power of globbing. Stay strong, and follow the PATH.



Resources

To expand your mind is the true goal of the shell. Reading the knowledge linked here will help your mind grow.


Challenges

In the way of the unquoted, freedom is found, though often accompanied by unexpected guests.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

True power is not in controlling every star, but in the harmony of the glob, where all stars align

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

To see all, one must expand their vision as the shell expands its variables.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

The wildcard is a tempest, unrestrained. Master its path, and you master the storm.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Like a ninja in the night, the comparison sneaks in. Guide its path, and the flag will be found.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Environment variables hold an enigma. Unravel it, and command the shell's surroundings.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Take a voyage in the world of variable variables, whose values are as fluid as water.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Observe the dance of the delimiters, a ballet of separation and unity in the script's grand performance.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Beyond the dance, there lies the symphony. Here, the delimiters rise and fall in a grand composition, where the maestro must conduct each pause and crescendo with unerring precision.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

There are those who, faced with expression, will try to purge its glory. But even in the face of sanitization, suprises await.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

In every test, there is room for a twist. Find a way to bring it to life, and the flag will be within your grasp.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Be careful to keep your mind whole. Once shattered, you cannot trust what parts of it exist.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

Spoken slyly, the wrong pair of words can cause more ruin than the strongest pair of fists.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

No scream will breach this barrier, only a perfectly placed whisper shall ripple the void.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

In the deceptive dance of the shell, nothing is as it seems. Master the art of illusion, and the path to truth will unveil itself.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

In the journey of the PATH, each step uncovers new commands, new potentials.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

The shell holds many secrets, waiting for those patient and brave enough to uncover them.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

A single look can change an unknowable mystery into a thing quite predictable.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

This is where the arcane becomes algorithm, and every keystroke is a spell invoking the power of the command line.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

The condition guards the flag. Command it to be gone.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

In ages past, just two invocations banished command injections. Now we need three. Can you discover HAL50000's terrifying realization?

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

When you cannot find the good within the array, all hope may be lost. At the right time, a whispered word can sway the balance.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@pwn.college

30-Day Scoreboard:

This scoreboard reflects solves for challenges in this module after the module launched in this dojo.

Rank Hacker Badges Score