Skip to content

Instantly share code, notes, and snippets.

@0chroma
Last active January 25, 2024 18:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0chroma/574b33836f8b9c2ea76b to your computer and use it in GitHub Desktop.
Save 0chroma/574b33836f8b9c2ea76b to your computer and use it in GitHub Desktop.
a systemd service that hacks the pentagon when ur system turns on, turns ur pc into a sick 1337 hacking machine
#a systemd service that hacks the pentagon when ur system turns on
#turns ur pc into a sick 1337 hacking machine
[Unit]
Description=Hacking into the pentagon
[Service]
Type=simple
ExecStart=/bin/sh -c "ping defense.gov"
[Install]
WantedBy=multi-user.target
install:
[root@kazamori ~]# cd /usr/lib/systemd/system/
[root@kazamori ~]# wget https://gist.githubusercontent.com/0chroma/574b33836f8b9c2ea76b/raw/hacking-into-the-pentagon.service
usage:
[root@kazamori ~]# systemctl start hacking-into-the-pentagon
Jun 16 12:15:54 kazamori systemd[1]: Starting Hacking into the pentagon...
Jun 16 12:15:54 kazamori systemd[1]: Started Hacking into the pentagon.
[root@kazamori ~]# systemctl stop hacking-into-the-pentagon
Jun 16 12:15:58 kazamori systemd[1]: Stopping Hacking into the pentagon...
Jun 16 12:15:58 kazamori systemd[1]: Stopped Hacking into the pentagon.
to run on boot:
[root@kazamori ~]# systemctl enable hacking-into-the-pentagon.service
run this when this joke isn't funny anymore:
[root@kazamori ~]# systemctl disable hacking-into-the-pentagon.service
[root@kazamori ~]# rm /usr/lib/systemd/system/hacking-into-the-pentagon.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment