# CVE-2019-17662
Modified the CVE code
Used [Prepared Requests](https://requests.readthedocs.io/en/latest/api/#requests.PreparedRequest), as in python3 requests module normalize the `../` in URL such as:<br>
For code:
```python
r = requests.get("http://123.123.123.123/../../../../../../test")
print(str(r.status_code))
```
Results in:
```http
GET /test HTTP/1.1
Host: 123.123.123.123
Connection: close
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.22.0
```
---
Original Exploit:<br>
https://www.exploit-db.com/exploits/47519
[4.0K] /data/pocs/58b14d91591a823d6d49a22fd2a8fe2a99e72528
├── [ 719] CVE-2019-17662.py
└── [ 556] README.md
0 directories, 2 files