Well, the steal() function does more than just "steal" -- thus making it extra shitty. It also writes the info to a local file and then secure copies it up to a remote server. It then sends an email confirming success to OPs gmail account and then clears his browser cache (just to be safe).
yeah but basically this defines a function that just steals secret info. it doesn't even hack shit, it just presumes that you already have access to the info. it also takes a pointless argument after which it just generally takes some secret info. fucking hell, with this shit you might accidentally steal your neighbours bdsm dungeon or something. it's actually shittier than it was meant to be
but it's even shittier than jsut like normal shitty. actually, i think most of my points weren't even considered when making it so it was accidentally way shittier than it should have been, presuming it was made in the style of
So you’re presuming that you’re smarter than the OP and others because only you can truly see how shitty this intentionally shitting programming example actually is.
2
u/mrheosuper Sep 24 '18
What is return type of Hack function
44
u/dondreyt Sep 23 '18
You didn’t “return” the stolen info back to yourself. This would equivalent to stealing something but never leaving the store.
Should be
17
u/Kaze_Senshi Sep 24 '18
Absolutely disgusting
13
u/[deleted] Sep 23 '18 edited Sep 24 '18
Now i just need someone off craigslist to write the libraries for free!!
Imagine the exposure you'll get when the news report that WE hacked the NSA!!
1
u/JuhaJGam3R Sep 23 '18
yeah but basically this defines a function that just steals secret info. it doesn't even hack shit, it just presumes that you already have access to the info. it also takes a pointless argument after which it just generally takes some secret info. fucking hell, with this shit you might accidentally steal your neighbours bdsm dungeon or something. it's actually shittier than it was meant to be
2
u/definitelynotdaniel Sep 24 '18
Instructions unclear, hacked NASA.
1
u/melonangie Sep 23 '18
Try { getting.rich(); } catch { die(trying) }
1
u/scooty14 Sep 24 '18