Found some very special “make it look hacky” bash in criminal minds.
And here we see an expert hacker at work, with just a few commands as a root user, they managed to gain root access.
NO MR HACKER PLEASE. NOT MY KDE DOTFILE!!!
SOMBODY HELP, HE IS RICING MY DESKTOP ENVIRONMENT!!!
HES POSTING IT ON UNIXPORN THAT SICK FUCK
I upvoted, but the image didn’t load, so I hope that it’s something funny or relevant
Me when I forget why I’m in a directory, then remember, but forget again
pwd even when the bash prompt tells me where I am
I forget pwd
Thanks for the laugh
I‘m in.
We’re home
In root
In root again
Where am i? Let’s go to root
cd /
I think you mean cd /root dummy
I’ve told the wife I can’t watch these shows because of how bad the tech always is, and I can’t stop myself from losing suspension of disbelief when something like this happens
Brooklyn Nine-Nine did an entire episode lampshading this whole thing. (S06E14 for the curious)
The only exception is Mr. Robot. Check this command the main character runs as root:
shred -uz /*
Only show I’ve seen where they show real commands with really damaging effects.
I remember watching the first episode and he brought up a terminal and thinking “here we go” then…“holy shit… Those are real commands”
That and the explanations I was ready to laugh at for being terrible, then… Wait, no, those actually make sense
And it is also great television. For me personally, the best I’ve ever seen. Whoever reads this and hasn’t seen it already: Do it! And watch it all! Some might think season 2 is a little slow (I still liked it), but season 3 is just incredible.
Yeah, I’ll admit I kind of stalled out in season 2 but I’ve meant to go back and finish… It would be easier if my wife liked that sort of TV 😅 I’ll just have to watch it alone 😭
This still makes me laugh:
I’m curious what this does, I’ll run it when I get home.
That should only shred the top level files in the root directory though. Since shred doesn’t do it recursively and doesn’t know what to do with subdirectories.
Do any distros store system critical files at the root directory? It’s all subdirectories on mine. I guess if you were storing important data files in the root directory they would get shredded but that’s really bad practice anyway and I doubt it’s super common.
I have this vague memory of one of the CSIs showing a list of IP addresses with 4-digit octets… I get not wanting to risk using real IP addresses, but at least use 10.x.x.x or 192.168.x x
Same issue here… Now with the TV serie called “The Equalizer” (2021-*).
How is changing directories “hacking”???
Just keep changing directories and the mainframe will be confused and overwhelmed and tHeN ThE SyStEm cOlLaPsEs, MaN!!!
OMG, they just got root access!!!
Heresy? In my Linux command line? It’s more likely than you think
“I’m in.”
That’s some shitty ‘hacking’…
But what makes these shell commands ‘bash’ exactly? Seems like this could be a half-dozen shells.
Also… why are ‘hackers’ always using a shell in some gui program?
Yeah everyone knows the real way to hack Linux is to do
tree /
Lots of weird looking text output means lots of hacking
Making a new python environment
This guy pythons
Also… why are ‘hackers’ always using a shell in some gui program?
An actual CLI would frighten the windows users watching the show.
“Scary how hackers are always using DOS prompts isn’t it?”
–Confused Windows Viewers
I guess I just used bash as deonym for shell. Sry. It was late and I was tired.
Hey no worries, I dunno why I even called that out. Lack of sleep due to back pain and responding to posts at 2am I guess
/root
root
~/../root
root/
ls /root/
I’m in!
This guy didn’t LS or LL lol just changed directories 4 times and then…?
Coulda thrown a couple
ls -la
s around and he woulda been goldenI have bash_alias open in another window so you can see:
ls='ls -alph --group-directories-first --color=always'
root='sudo rm -f / \ hunter2'
at least output dmesg or get htop on the screen or something. you could find it on the internet if you look up commands to look like a hacker and thats not even 30 seconds of effort. i wonder how many other professions cringe at the shitty tv shows about their craft.
We even have an app for it now: apt install hollywood
deleted by creator
There’s a website for all your 1337 hax0r needs hackertyper.net
I don’t know, I tried it and it commented its code. Who does that?
but when I’m in?
Ah look at the cute little Viewsonic birds on the upper left. :D
just tried to re-watch “the girl in the spider’s web”, the not-sequel to fincher’s masterpiece that’s “the girl with the dragon tattoo”. I remember hating it way back when and went in with a “how bad can it be” attitude… dios mio, what a colossal mountain of shit. the “hacking” in OP is hard sci-fi compared to this turdistan, and that’s the least of its problems.
someone posted already the gell-mann amnesia effect and this applies to everything. how guns are portrayed in movies as magical. cars and how they’re driven. the laughable naive cop shows. medical procedures. legal proceedings. journalists and their MO.
you hafta run your brain at 110% at all times to be able to somewhat disregard the learned idiocy that was programmed into you from an early age. here’s hoping we have the infrastructure in place so generations that are coming can avoid becoming similarly handicapped.
Thank God actual cops haven’t watched those TV shows and movies.
I was playing DMC: Devil May Cry (the prequel one) and they used a bunch of mount commands on a screen to show Virgil hacking the network
TBH, on ancient insecure systems that might work.
Not very exciting though
It makes me happy that I actually understand this stuff now lol