Pro Linux hacking

Found some very special "make it look hacky" bash in criminal minds.

315 points · 69 comments · view on lemmy.world

69 Comments

Steamymoomilk@sh.itjust.works · 105 pts · 1y (2 replies)

NO MR HACKER PLEASE. NOT MY KDE DOTFILE!!!!

SOMBODY HELP, HE IS RICING MY DESKTOP ENVIRONMENT!!!

HES POSTING IT ON UNIXPORN THAT SICK FUCK

fool@programming.dev · 31 pts · 1y (1 reply)

Sorse@discuss.tchncs.de · 6 pts · 1y

I upvoted, but the im*ge didn’t load, so I hope that it’s something funny or relevant

Shady_Shiroe@lemmy.world · 88 pts · 1y (3 replies)

Me when I forget why I'm in a directory, then remember, but forget again

BCsven@lemmy.ca · 32 pts · 1y (1 reply)

pwd even when the bash prompt tells me where I am

wuphysics87@lemmy.ml · 18 pts · 1y

I forget pwd

ComradeMiao@lemmy.world · 5 pts · 1y

Thanks for the laugh

hamburger@discuss.tchncs.de · 65 pts · 1y (3 replies)

I‘m in.

intensely_human@lemm.ee · 24 pts · 1y (2 replies)

We’re home

SidewaysHighways@lemmy.world · 10 pts · 1y (1 reply)
[ removed ]
shasta@lemm.ee · 4 pts · 1y

I think you mean cd /root dummy

EonNShadow@pawb.social · 58 pts · 1y (10 replies)

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

z3rOR0ne@lemmy.ml · 53 pts · 1y (6 replies)

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.

laurelraven@lemmy.zip · 26 pts · 1y (3 replies)

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

menemen@lemmy.ml · 14 pts · 1y (2 replies)

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.

laurelraven@lemmy.zip · 4 pts · 1y (1 reply)

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 😭

Cyber@feddit.uk · 12 pts · 1y

This still makes me laugh:

Agent641@lemmy.world · 10 pts · 1y

I'm curious what this does, I'll run it when I get home.

HiddenLayer555@lemmy.ml · 5 pts · 1y

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.

melroy@kbin.melroy.org · 10 pts · 1y

Same issue here.. Now with the TV serie called "The Equalizer" (2021-*).

Malfeasant@lemm.ee · 4 pts · 1y

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

LunarLoony@lemmy.sdf.org · 1 pts · 1y

Brooklyn Nine-Nine did an entire episode lampshading this whole thing. (S06E14 for the curious)

masterofn001@lemmy.ca · 36 pts · 1y (3 replies)

/root
root

~/../root

root/

ls /root/

I'm in!

SynopsisTantilize@lemm.ee · 17 pts · 1y

This guy didn't LS or LL lol just changed directories 4 times and then....?

Classy@sh.itjust.works · 11 pts · 1y (1 reply)

Coulda thrown a couple ls -las around and he woulda been golden

masterofn001@lemmy.ca · 7 pts · 1y

I have bash_alias open in another window so you can see:

ls='ls -alph --group-directories-first --color=always'

root='sudo rm -f / \ hunter2'

laurelraven@lemmy.zip · 27 pts · 1y (2 replies)

OMG, they just got root access!!!

Agent641@lemmy.world · 8 pts · 1y

Heresy? In my Linux command line? It's more likely than you think

Subverb@lemmy.world · 6 pts · 1y

"I'm in."

umbrella@lemmy.ml · 24 pts · 1y (3 replies)
[ removed ]
Telodzrum@lemmy.world · 22 pts · 1y
[ removed ]
Nemoder@lemmy.ml · 18 pts · 1y

We even have an app for it now: apt install hollywood

9488fcea02a9@sh.itjust.works · 1 pts · 1y
[ removed ]
Ludrol@szmer.info · 23 pts · 1y (1 reply)

There's a website for all your 1337 hax0r needs hackertyper.net

whyNotSquirrel@sh.itjust.works · 5 pts · 1y

but when I'm in?

Routhinator@startrek.website · 21 pts · 1y (7 replies)

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?

octopus_ink@lemmy.ml · 20 pts · 1y (1 reply)

Also… why are ‘hackers’ always using a shell in some gui program?

An actual CLI would frighten the windows users watching the show.

MonkeMischief@lemmy.today · 7 pts · 1y

"Scary how hackers are always using DOS prompts isn't it?"

--Confused Windows Viewers

HiddenLayer555@lemmy.ml · 18 pts · 1y (2 replies)

Yeah everyone knows the real way to hack Linux is to do tree /

Lots of weird looking text output means lots of hacking

xorollo@leminal.space · 8 pts · 1y (1 reply)
[ removed ]
Dkarma@lemmy.world · 7 pts · 1y

This guy pythons

xtapa@discuss.tchncs.de · 12 pts · 1y (1 reply)

I guess I just used bash as deonym for shell. Sry. It was late and I was tired.

Routhinator@startrek.website · 8 pts · 1y

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

dingdongitsabear@lemmy.ml · 15 pts · 1y (1 reply)
[ removed ]
ryedaft@sh.itjust.works · 2 pts · 1y

Thank God actual cops haven't watched those TV shows and movies.

A_Union_of_Kobolds@lemmy.world · 15 pts · 1y

It makes me happy that I actually understand this stuff now lol

i_am_not_a_robot@feddit.uk · 13 pts · 1y (3 replies)

I'm sure there's a community for nonsense TV/film hacking/Linux screens. I can't remember what it's called.

IsoKiero@sopuli.xyz · 11 pts · 1y (2 replies)

I don't know if equivalent exists on fediverse, but r/itsaunixsystem is available on $that_other_platform.

i_am_not_a_robot@feddit.uk · 15 pts · 1y (1 reply)

Ah, that's the clue I needed.

!itsaunixsystem@lemmy.federated.club

Think that instance is dead though.

smeg@feddit.uk · 1 pts · 1y

We do have !veryrealtechpics@lemmy.world but it's not exactly the same thing

HexesofVexes@lemmy.world · 13 pts · 1y

And here we see an expert hacker at work, with just a few commands as a root user, they managed to gain root access.

Kangy@lemmy.dbzer0.com · 12 pts · 1y (1 reply)

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

ocassionallyaduck@lemmy.world · 5 pts · 1y

TBH, on ancient insecure systems that might work.

Not very exciting though

Coreidan@lemmy.world · 11 pts · 1y (10 replies)

How is changing directories “hacking”???

rmz504@lemm.ee · 5 pts · 1y

Just keep changing directories and the mainframe will be confused and overwhelmed and tHeN ThE SyStEm cOlLaPsEs, MaN!!!

xtapa@discuss.tchncs.de · 0 pts · 1y (8 replies)

Who said it was?

Coreidan@lemmy.world · 1 pts · 1y (7 replies)

You did

xtapa@discuss.tchncs.de · 0 pts · 1y (6 replies)

Where?

Coreidan@lemmy.world · 0 pts · 1y (5 replies)

Where the fuck do you think?

xtapa@discuss.tchncs.de · 0 pts · 1y (4 replies)

I don't know. Tell me.

Coreidan@lemmy.world · 2 pts · 1y (3 replies)

Well according to you changing directories is “pro Linux hacking”.

But yes let’s keep pretending it’s a big mystery.

xtapa@discuss.tchncs.de · 0 pts · 1y

Well, since obviously no one ever has, let me introduce you to the concept of "sarcasm", which everyone else here understood. Just keep getting angry for no reason.

Endymion_Mallorn@kbin.melroy.org · 10 pts · 1y

Heresy indeed. The Codex does not support this shell.

TimeSquirrel@kbin.melroy.org · 10 pts · 1y (1 reply)

Just wait until they discover rm, mv, and mkdir!

undefined@lemmy.hogru.ch · 8 pts · 1y
mkdir /dir
cd /dir
cd /dir
mkdir 2
cd /dir
cd /dir/2
cd /dir
mv 2 /2
cd /2
mkdir /dir/3
rm -f 3
vk6flab@lemmy.radio · 8 pts · 1y (3 replies)

Bones shows an "Amiga", that looks suspiciously like an IBM PC-AT complete with 5.25” floppy playing Doom.

nightwatch_admin@feddit.nl · 5 pts · 1y (2 replies)

It’s not an Amiga, looks more like an old grubby fvwm or dec osf1 with uuhhh what was that window manager again?

vk6flab@lemmy.radio · 8 pts · 1y (1 reply)

The OP screenshot is from the TV series "Criminal Minds". My comment is about a TV series "Bones".

The UI in the OP screenshot looks like an X11 window manager from the mid to late 1990's.

nightwatch_admin@feddit.nl · 4 pts · 1y

Ah indeed, I was talking about the screenshot. Sorry about the confusion.

MyNameIsRichard@lemmy.ml · 7 pts · 1y
MonkeMischief@lemmy.today · 5 pts · 1y

Ah look at the cute little Viewsonic birds on the upper left. :D

HiddenLayer555@lemmy.ml · 4 pts · 1y

Viewsonic monitor tho. Nostalgic AF

bruhsoulz@lemmy.ml · 1 pts · 1y

Shoutout whatever the fuck this de is, is it lxqt?