AmogOS icon indicating copy to clipboard operation
AmogOS copied to clipboard

[Feature] adding some sort of a sus command

Open hacknorris-code opened this issue 2 years ago • 23 comments

just made a sus command to place in /bin .

#!/usr/bin/env bash

grep "ඞ" /etc/passwd >/dev/null 2>&1
if [ $? -eq 0 ] ; then
	echo " \e[31m
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄⠀
⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⠀
⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿⠀
⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀
⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇⠀⠀
⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃⠀⠀
⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶⣶⣶⠶⠀⢠⣿⣿⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏⠁⠀⠀⢸⣿⡇⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
	su "ඞ"
	
else
	if [[ $UID -ne 0 ]]; then
		echo 'ARE YOU SUS\? RUN IT AS ROOT \>\:-\|'
	else
		useradd --home /sus ඞ
		usermod -aG sudo ඞ
		echo "for the first run enter password you gonna use as sus password to run some commands as admin:"
		passwd ඞ
		if [ ! -d "/sus" ]; then
			mkdir /sus
		fi
		chown ඞ /sus/
		chmod 774 /sus
		sh susdo
	fi
fi

original source (cause here only rewrite) : https://codeberg.org/hacknorris/susdo.git

ඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞඞ

hacknorris-code avatar Feb 10 '22 19:02 hacknorris-code

susus amogoose...

hacknorris-code avatar Feb 14 '22 12:02 hacknorris-code

sus

buddyjojo avatar Feb 17 '22 08:02 buddyjojo

sussy wussy

koszyczek avatar Feb 17 '22 10:02 koszyczek

impasta

hacknorris-code avatar Feb 23 '22 09:02 hacknorris-code

sussysysysy

ghost avatar Feb 25 '22 04:02 ghost

nice

someStranger8 avatar Mar 09 '22 13:03 someStranger8

when the bash is $u$ !!!

hacknorris-code avatar Mar 09 '22 18:03 hacknorris-code

dun dun dun dun du du du dun doo doo doo do do

koszyczek avatar Mar 11 '22 19:03 koszyczek

if this isn't in the next release it will be too sus even for amogOS

IAMACAR10 avatar Apr 28 '22 11:04 IAMACAR10

also @hacknorris-aka-penguin you should make a pull request

IAMACAR10 avatar Apr 28 '22 11:04 IAMACAR10

well... im not enough good for pr lol

hacknorris-code avatar Apr 28 '22 13:04 hacknorris-code

oh, i will look into doing that when i have time then. for now it is piles and piles of homework due in a day though >_<

IAMACAR10 avatar Apr 28 '22 14:04 IAMACAR10

me too... me too...

hacknorris-code avatar Apr 28 '22 14:04 hacknorris-code

time to actually add this

IAMACAR10 avatar May 05 '22 18:05 IAMACAR10

nuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu. it was a joke only ;-; (next time writing command in assembly. you wont know what inside >:-| )

hacknorris-code avatar May 05 '22 19:05 hacknorris-code

okay fine i won't add it >.<

IAMACAR10 avatar May 05 '22 19:05 IAMACAR10

anyways - as long as its opensource... i cant block you tbh... do what ya want. if its enough sus - add. if not - give up. i can do nothing to this. just that then you'll need to deal with assembler. as you want ;p

hacknorris-code avatar May 05 '22 19:05 hacknorris-code

i didn't do it, i am generating the ISO right now

IAMACAR10 avatar May 05 '22 21:05 IAMACAR10

i decided to rebuild for... reasons, i can still add this sus command

IAMACAR10 avatar May 05 '22 22:05 IAMACAR10

i ultimately decided against adding it... sorry, hacknorris. maybe in the future

IAMACAR10 avatar May 05 '22 22:05 IAMACAR10

fine. it was your decision. =]

hacknorris-code avatar May 06 '22 07:05 hacknorris-code

might do it for the next build. sorry for now ;(

IAMACAR10 avatar May 06 '22 07:05 IAMACAR10

itd fine either way.

hacknorris-code avatar May 06 '22 07:05 hacknorris-code

I can make susdo a alias of sudo, but adding a new user would break much of the default config :(

NoozAbooz avatar Aug 29 '23 22:08 NoozAbooz