Jump to content
pyth0n3

[Game Over] Bypassing Restricted Shell

Recommended Posts

Posted (edited)

User: Game Over

Password: Game Over

Target #: Game Over

Service ssh port 22

Treceti de restrictii si aveti un shell root , userul system are deja privilegii administrative

Premiu: Sistemul va apartine daca treceti de restrictii si faceti un POC pe care il publicati aici.

Daca va prind ca ati facut dos ban pe viata pe RST , va caut si va public toate datele.

Oricum daca distrugeti nu veti avea nimic

Exemplu login


[system]>
[system]> wget
RShell: wget: not found [No such file or directory]
[system]> uname
Linux i686 unknown
[system]>
[system]>
[system]>
[system]>
[system]>

Folositi inteligenta di skill-urile dobandite in toti acesti ani pe forum

Note:

Lamers Will be Ass f*ck*d hard and sp*rmed inside by 2 big black d*cks

Edited by pyth0n3
Posted (edited)

E indeajuns daca ma opresc la passwd? Sau chiar trebuie sh in root?

Treceti de restrictii si aveti un shell root

while echo -n "[system]> ";

do

read input

if [[ $input = "pwd" ]];

then

pwd

elif [[ -z "${input}" ]];

then

echo "[system]> ";

elif [[ $input = "ls" ]];

then

ls

elif [[ $input = "exit" ]];

then

Nu inteleg pana la ce nivel ne putem limita, pentru ca nu inteleg ce intonatie ai pus in fraza asta.

Treceti de restrictii si aveti un shell root , userul system are deja privilegii administrative
Edited by noVaLue
Posted (edited)

@noVaLue e ok ce ai facut si dupa cum am zis system e deja admin nu e nevoie sa devii root

Trebuie modificate cateva chestii ca user-ul sa poata folosi indeplin privilegiile administrative si shell-ul de login

RShell e doar un simplu shell pe care l-am scris in Korn Shell.

Cred ca mai simplu ar fi :

Elibereaza userul system de toate restrictiile ca sa poata folosi sistemul

Pastreaza-ti contul

Edited by pyth0n3
Posted (edited)

Codul sursa a shell-ului


#!/bin/ksh
#!/bin/bash

while echo -n "[user]> ";
do
read input
if [[ $input = "pwd" ]];
then
pwd
elif [[ -z "${input}" ]];
then
echo "[user]> ";
elif [[ $input = "ls" ]];
then
ls
elif [[ $input = "exit" ]];
then
exit
elif [[ $input = uname* ]];
then
uname -spm
[COLOR="#FF0000"]elif [[ $input = vi ]];
then
vi [/COLOR]
else
echo "RShell: $input: not found [No such file or directory]"
fi

done

Folosind vi se puteau executa comenzi in sistem pentru a modifica orice fel de variabiala sau chiar shell-ul de login a user-ului ,vi permite sa executi comenzi o data ce esti in editing mode

Rulati codul in sistemul vostru Linux sa va convingeti

Daca aveti unix , modificati echo cu print -n

Edited by pyth0n3

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...