Skip to content

ressources

NicolasReaItalo edited this page Sep 25, 2024 · 14 revisions

Ressources

Requete http custom avec netcat :

echo -e "GET /uri HTTP/1.1\nHost: server_name\n\n" | nc localhost 80

Requete POST upload d'un fichier

echo -e "POST /myconf.conf HTTP/1.1\r\nHost: localhost:8080\r\nAccept: */*\r\nContent-Type: text/plain\r\nContent-Length: $(cat conf.conf| wc -c)\r\n\r\n$(cat conf.conf)" | nc localhost 8080

Liens

Encoding URL

Comment traduire les %XX dans les uri https://www.w3schools.com/tags/ref_urlenc%6Fde.ASP http://www.geekhideout.com/urlcode.shtml

References

Outils

Clone this wiki locally