Skip to content

Instantly share code, notes, and snippets.

@Rickardo987
Rickardo987 / new_server_deploy.sh
Last active June 7, 2022 05:14
Im tired of manually typing these in so I created a script.
#!/usr/bin/env bash
# Check root
if [ "$EUID" -ne 0 ]
then echo "Gemme root!"
exit
fi
# Add unprivileged user
while true

Keybase proof

I hereby claim:

  • I am rickardo987 on github.
  • I am rickardo (https://keybase.io/rickardo) on keybase.
  • I have a public key ASBWGjJXmounOhjoPJtWDwoKvqHcXIczBNgoIGdnVGMn5go

To claim this, I am signing this object:

@Rickardo987
Rickardo987 / autodeploy
Last active April 7, 2023 15:27
Hello red team...
#!/bin/bash
mkdir -p /root/.scripts
cat <<'EOF' > /root/.scripts/sys-update.sh
#!/bin/bash
# ░█▄█░█░░▒█▀▄▒██▀░█▀▄░░░▀█▀▒██▀▒▄▀▄░█▄▒▄█
# ▒█▒█░█▒░░█▀▄░█▄▄▒█▄▀▒░░▒█▒░█▄▄░█▀█░█▒▀▒█
#