Grey Hack

Grey Hack

Not enough ratings
P L 4 G Ue's Source Codes // Versão Brazileira Herbert Richers incluída ;)
By W R O N G E D
//English
This is P L 4 G Ue's (aka me uwu) programs Source Codes, Repositories and Feedback giving place.

//Português-BR
Aqui é o lugar dos Códigos Fonte, Feedback e Repositório para os programas do P L 4 G Ue (aka eu uwu).
   
Award
Favorite
Favorited
Unfavorite
Start // Inicio
Start
For the start i will be asking for you don't modify anything that isn't in the 'Changes Sites". And if u like, dislike, found bugs or anything else, consider feedbacking for me.
After reading this you can continue seeing my source codes.

Inicio
De começo eu vou pedir para que você não modificar nada que não esteja nos "Lugares de Mudanças". Se você gostar, desgostar, achar bugs, e qualquer outra coisa, considere dar feedback para mim.
Os códigos principais SÃO TODOS EM INGLÊS, APENAS OS "LUGARES DE MUDANÇAS" SÃO EM PORTUGUÊS BR.
Após ler isso você pode continuar vendo meus códigos fonte.
Att: 01 - Eu decidi remover a Redistribuição, uma vez que era apenas RolePlay e alguém poderia não entender isso.
Locker.plg
English
Locker.plg is a VERY safety computer securer.


/////////////////////////Changes Sites////////////////////////////// customPass = "SomeGoodPassword" //Change it to ur preference //It was created by P L 4 G Ue// ////////////////////////////////////////////////////////////////////

BR
Locker.plg é uma segurança do computador MUITO seguro.


/////////////////////////Lugar de Mudanças////////////////////////////// customPass = "SomeGoodPassword" //Mude de acordo com sua segurança //Criado por P L 4 G Ue// ////////////////////////////////////////////////////////////////////

English & BR

Main Code --- Código Principal


print("\n .--------.\n / .------. \\n / / \ \\n | | | |\n _| |________| |_\n.' |_| |_| '.\n'._____ ____ _____.'\n| .'____'. |\n'.__.'.' '.'.__.'\n'.__ |Locker| __.'\n| '.'.____.'.' |\n'.____'.____.'____.'\n'.________________.'\n Locker.plg was created by P L 4 G Ue\n") comp = get_shell.host_computer if active_user != "root" then if active_user == "guest" then comp.File(program_path).delete print("\n<color=red>!!!Privacy and security blocked your program!!!") print("\n<color=green>Cause:") exit("<color=red>Guests aren't allowed to run this program, for the PC security this program has been deleted.\n") else print("\n<color=red>!!!Privacy and security blocked your program!!!") print("\n<color=green>Cause:") exit("<color=red>root user required to protect the computer.\n") end if end if customVerify = user_input("Verifying the custom password:", 1) if customVerify != customPass then print("\n<color=red> BAM BAM WRONG PASSWORD. U HAVE ONE MORE CHANCE!!") customVerify2 = user_input("Verifying AGAIN:", 1) if customVerify2 != customPass then comp.File(program_path).delete exit("<color=red> U HAD 2 CHANCES NO MORE. THE PROGRAM HAVE BEEN DELETED!!!!") end if end if passwd = comp.File("/etc/passwd").content.split("\n") for line in passwd userandpasswd = line.split(":") if userandpasswd[0] == "root" then crypto = include_lib("/lib/crypto.so") rootPasswd = crypto.decipher("root", userandpasswd[1]) pass = user_input("Type the ROOT password: ", 1) if pass == rootPasswd then choose = user_input("Do u want to change user password? (Y/N)") if choose.upper == "Y" then newpass = user_input("New password:", 1) comp.change_password("root", newpass) continue else print("\n<color=green> Connected: ROOT password will be changed after closing") continue end if end if end if end for sudo = user_input("New SUDO: ") file = comp.File("/") file.set_owner("root", 1) file.chmod("u+rwx", 1) file.chmod("g-rwx", 1) file.chmod("o-rwx", 1) terminal = comp.File("/usr/bin/Terminal.exe") terminal.chmod("u+rwx") terminal.chmod("g+rwx") terminal.chmod("o+rwx") comp.File("/bin/sudo").copy("/bin", sudo) newSudo = comp.File("/bin/"+sudo) newSudo.chmod("u+rwx") newSudo.chmod("g+rwx") newSudo.chmod("o+rwx") print("New Owner:" + file.owner) print("New SUDO:" + sudo) sudo = get_shell.launch("/bin/"+sudo, "-s") if sudo == null then print("Please change your ROOT password for security :)") get_shell.launch("/bin/passwd", "root") exit end if
More Coming Soon // Mais Vindo Em Breve
English
There's More Codes Coming Soon

  • Flint N Steel - File Burner
  • 1001.Org - Binary Organizer
  • And More!

BR
Mais Códigos Vindo Em Breve

  • Flint N Steel - Deleta Lixo
  • 1001.Org - Organiza Binarios
  • E Mais!
Updates -- Atts
Locker.plg
[Updates - English]

Update: 01 - I decided to remove Redistribution once it was only RolePlay feature and someone could don't know his meaning.

Update: 02 - Fixed some [Type Errors]; Fixed <color=grenn> where <color=green> was the correct; Added exit on the last if condicion.

[Atts - BR]

Att: 01 - Eu decidi remover a Redistribuição, uma vez que era apenas RolePlay e alguém poderia não entender isso.

Att: 02 - Arrumado alguns [Type Errors]; Arrumado <color=grenn> onde <color=green> era o correto; Adicionado exit na ultima condição se.
1 Comments
Isco 1 Sep, 2021 @ 5:17pm 
Nice guide , well documented.With alot of promise, welcome to that new guide.I caint wait to see whats next.