{% embed url="https://sirensecurity.io/blog/break-out-get-that-tty/" %}
What is rbash?
- rbash is a restricted bash that blocks many commands and special characters
- Designed to make privilege escalation more difficult for an attacker
{% embed url="https://www.hacknos.com/rbash-escape-rbash-restricted-shell-escape/" %}
"ed" Editor Escape
cd /home
echo $SHELL
ed
!'/bin/bash'
pwd