Use `su -c` in LPE


su -c

su -c is convenient to use, but, when you use it in your LPE exploit, hoping it to execute your command, you will probably get

su: must be run from a terminal

the obvious solution is give it a "terminal" to run from

there's a forkpty function provided by pty …

View comments.

more ...

emp3r0r - 0x01

get root

happy Chinese new year!

the coronavirus outbreak in Wuhan keeps me from going outside, actually i have cancelled all travel plans in this holiday. what do i do at home then?


this module can help you get root via:

  • kernel exploits
  • userland LPE exploits, such as exim, sudo
  • previously-implemented …

View comments.

more ...