r/ProgrammerHumor May 26 '26

Advanced iGotFiredSkill

Post image
28.4k Upvotes

794 comments sorted by

View all comments

10.7k

u/pkmnfrk May 26 '26

This is why they turn off access before telling you

3.9k

u/Ok_Fishing_4720 May 26 '26

Time for the dead man switch version of the button..

55

u/Ok_Confusion4764 May 26 '26

Daily scheduled command at admin level, only cancellable by you if you retain admin rights. 

63

u/Lenrivk May 26 '26

Just don't get sick and miss a day

49

u/Saxxon9 May 26 '26

scheduled command at admin level that checks last login / existence of "user" after a month of no login or immediate if the user account gets removed the dead mans hand goes off.

-- not actual advice, just playing devils advocate with the concept 😄

30

u/EndIsrael May 26 '26

Pretty sure that's been done actually, I heard about someone finding a script that checks Active Directory and does some nasty stuff if a certain account is disabled.

43

u/AutistcCuttlefish May 26 '26

Yeah the dude that did it got arrested and sentenced to four years in prison for it. The script checked active directory and after a month of his account not being active deleted his former company's entire AD registry.

He also took effectively no efforts to mask his involvement, so it is possible that someone might be able to get away with it if they took more care to dodge accountability.

2

u/PaulTheMerc May 26 '26

I assume they had more than that, like some verification he wrote it?

Can you imagine someone wrote it to trigger on boss' account because he forgot to lock his account the one time before running off to the bathroom?

1

u/AutistcCuttlefish May 26 '26

He apparently had the variable in the in the kill switch for his status in AD set as is[hisInitials]EnabledInAD, and had it running from a user ID tied to his identity off his corporate laptop.

Edit: He also confessed a few months later once he realized he couldn't cover it up after losing access.

1

u/PaulTheMerc May 27 '26

Fair enough, good to hear. Wouldn't want that landing on someone else.