No Tools in a CTF

preview_player
Показать описание

🔥YOUTUBE ALGORITHM ➡ Like, Comment, & Subscribe!
Рекомендации по теме
Комментарии
Автор

Love it. Never really considered how to use the terminal if the tools in Linux suddenly disappeared.

nelsoncorreia
Автор

You can also output the content of a file using :

echo $(</path/to/filename)

IT_veille-pnmr
Автор

To be pedantic, echo is not required to be a built-in into a shell (i.s. posix sh specification says absolutely nothing about echo). It can be just a binary in /bin/ (in fact there is one there just for this occasion).

movaxh
Автор

John you make this look breezy as all heck! Always a treat to watch you work!

StuartMill
Автор

One time a coworker accidentally started removing / on a fbsd machine (aka no —no-preserve-root flag). Luckily I was standing over his shoulder and we ctrl + c’ed it right away. None the less he managed to wipe out half of bin. I couldn’t get onto the server because bash was gone. So luckily we were able to just quickly rsync bin from a different identical machine and fix it. But yeah it’s interesting to try to use a shell with no shell utils lolz! Kernel runs fine, system stayed up, Apache was still online to the outside you’d never even know we accidentally started nuking it.

bluesquare
Автор

I completely didn't know the read command until yesterday, because I was trying to parallelize some cracking tools, and this gem pops up on my shorts. Awesome timing.

RedBigz
Автор

I think they gave this particular challenge at the Bsides San Francisco CTF a week ago, pretty fun experience

Jarvx
Автор

In some `sh` implementations, trying to execute `sh /path/to/script` will lead to all unavailable "commands" in that script reported in the terminal. Since `sh` is supposed to be available, `sh /home/ctf/flag.txt` might also work.

muB
Автор

Please more shorts like this love it ❤

huntit
Автор

Wait if echo works why not just echo the file?

MyxT
Автор

‘‘Tis the season to be practicing your CTF 🍷😜🏴‍☠️

_mrcrypt
Автор

Please carry on with ctf and challenge walk through I love that content of yours! ❤

G-man_the-cyber-guy
Автор

I don’t understand a thing that is happening but this all looks and sounds cool

Mirikant
Автор

“Can you read it”

nice little hint there.

dylanvooski
Автор

You can just `< filepath` and it will show the contents of the file.

maudjito
Автор

That's a super cool CTF and it's also just super simple

someoneunqualified
Автор

bookmarking this one. I have a feeling I may need it one day lol

mopioline
Автор

That can be critical when my live USB disconnects, and most binaries are either "Segmentation fault" or "I/O error"

Aera
Автор

more shorts like these maybe even a ctf series

vnguardbb
Автор

Hammond back on CTFs, bro got some awesome tricks

elliot-hacks