331
Pro Linux hacking (discuss.tchncs.de)
submitted 5 days ago by xtapa@discuss.tchncs.de to c/linux@lemmy.ml

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

top 50 comments
sorted by: hot top controversial new old
[-] Steamymoomilk@sh.itjust.works 105 points 5 days ago* (last edited 5 days ago)

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 points 4 days ago
[-] Sorse@discuss.tchncs.de 6 points 4 days ago

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

[-] HexesofVexes@lemmy.world 14 points 4 days ago

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

[-] Shady_Shiroe@lemmy.world 90 points 5 days ago

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

[-] BCsven@lemmy.ca 32 points 5 days ago

pwd even when the bash prompt tells me where I am

[-] wuphysics87@lemmy.ml 17 points 5 days ago

I forget pwd

load more comments (1 replies)
[-] hamburger@discuss.tchncs.de 64 points 5 days ago
[-] intensely_human@lemm.ee 23 points 5 days ago
[-] SidewaysHighways@lemmy.world 9 points 5 days ago* (last edited 4 days ago)

In root

In root again

Where am i? Let's go to root

cd /

[-] shasta@lemm.ee 3 points 4 days ago

I think you mean cd /root dummy

[-] EonNShadow@pawb.social 57 points 5 days ago

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

[-] LunarLoony 1 points 20 hours ago

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

[-] z3rOR0ne@lemmy.ml 55 points 5 days ago

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 points 5 days ago

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 points 5 days ago* (last edited 5 days ago)

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 points 4 days ago

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 11 points 4 days ago

This still makes me laugh:

[-] Agent641@lemmy.world 10 points 5 days ago

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

[-] HiddenLayer555@lemmy.ml 5 points 4 days ago* (last edited 4 days ago)

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.

load more comments (2 replies)
[-] laurelraven@lemmy.zip 29 points 5 days ago

OMG, they just got root access!!!

[-] Agent641@lemmy.world 8 points 5 days ago

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

load more comments (1 replies)
[-] Coreidan@lemmy.world 10 points 4 days ago

How is changing directories “hacking”???

[-] rmz504@lemm.ee 5 points 4 days ago

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

[-] Routhinator@startrek.website 22 points 5 days ago

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?

[-] HiddenLayer555@lemmy.ml 20 points 4 days ago* (last edited 4 days ago)

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 9 points 4 days ago

Making a new python environment

[-] Dkarma@lemmy.world 7 points 4 days ago

This guy pythons

[-] octopus_ink@lemmy.ml 25 points 5 days ago

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 points 4 days ago

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

--Confused Windows Viewers

[-] xtapa@discuss.tchncs.de 12 points 5 days ago

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

[-] Routhinator@startrek.website 8 points 5 days ago

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

[-] masterofn001@lemmy.ca 37 points 5 days ago* (last edited 5 days ago)

/root
root

~/../root

root/

ls /root/

I'm in!

[-] SynopsisTantilize@lemm.ee 18 points 5 days ago

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

[-] Classy@sh.itjust.works 11 points 5 days ago* (last edited 5 days ago)

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

load more comments (1 replies)
[-] umbrella@lemmy.ml 27 points 5 days ago* (last edited 5 days ago)

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.

[-] Nemoder@lemmy.ml 20 points 5 days ago

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

load more comments (1 replies)
[-] Ludrol@szmer.info 25 points 5 days ago

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

[-] ped_xing@hexbear.net 10 points 5 days ago

I don't know, I tried it and it commented its code. Who does that?

load more comments (1 replies)
[-] dingdongitsabear@lemmy.ml 16 points 5 days ago

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.

load more comments (1 replies)
[-] Kangy@lemmy.dbzer0.com 13 points 5 days ago

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 points 4 days ago

TBH, on ancient insecure systems that might work.

Not very exciting though

[-] MonkeMischief@lemmy.today 5 points 4 days ago

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

[-] A_Union_of_Kobolds@lemmy.world 15 points 5 days ago

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

[-] i_am_not_a_robot@feddit.uk 14 points 5 days ago

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 12 points 5 days ago

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 16 points 5 days ago

Ah, that's the clue I needed.

!itsaunixsystem@lemmy.federated.club

Think that instance is dead though.

load more comments (1 replies)
[-] TimeSquirrel@kbin.melroy.org 10 points 5 days ago

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

[-] undefined@lemmy.hogru.ch 8 points 5 days ago* (last edited 5 days ago)
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
load more comments
view more: next ›
this post was submitted on 09 Dec 2024
331 points (97.4% liked)

Linux

48590 readers
667 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS