root@tomovic-Satellite-L300:/home/tomovic/Dokumente/hack# gcc -g -fno-stack-protector -z execstack -o tinyweb tinyweb.c
root@tomovic-Satellite-L300:/home/tomovic/Dokumente/hack# chown root ./tinyweb
root@tomovic-Satellite-L300:/home/tomovic/Dokumente/hack# chmod u+s ./tinyweb
root@tomovic-Satellite-L300:/home/tomovic/Dokumente/hack# ./tinyweb
Accepting web requests on port 80
Got request from 127.0.0.1:36514 "GET / HTTP/1.1"
 Opening './webroot/index.html'  404 Not Found
Got request from 127.0.0.1:36515 "GET /favicon.ico HTTP/1.1"
 Opening './webroot/favicon.ico'  404 Not Found
Got request from 127.0.0.1:36516 "GET /favicon.ico HTTP/1.1"
 Opening './webroot/favicon.ico'  404 Not Found
Got request from 127.0.0.1:36517 "GET / HTTP/1.1"
 Opening './webroot/index.html'  404 Not Found

Ich habe den Ordner webroot vergessen zu sichern. Er fehlt einfach :-)

   

Metasploit  

   
© ALLROUNDER