Share
## https://sploitus.com/exploit?id=788F7DF8-01F3-5D13-9B3E-E4AA692153E6
# CVE-2021-41773
# Docker
```
$ sudo docker build -t <image_name> .
$ sudo docker run -d -t -p 80:80 --name <container_name> <image_name> /bin/bash
$ sudo docker exec -it <container_name> ./bin/apachectl -k restart
```
### To access docker container for custom config file
```
$ docker exec -it <container> /bin/bash
file config in /usr/local/apache2/conf/httpd.conf
after config run command
$ /usr/local/apache2/bin ./apachectl -k restart
```
## Usage Script
[+] python ./exploit.py [-OPTIONS] [Target/List of Targets]
[+] -h : help
[+] -url <target>: specifict the target to check
[+] -list <filename>: Scan multiple targets
# Example
**-h: help**
![image](https://user-images.githubusercontent.com/83699106/160898090-606cc8af-ed1b-4b89-bf8e-e6042eb86cb7.png)
**-url: url**
![image](https://user-images.githubusercontent.com/83699106/160897688-b5ccb973-6824-4329-9bcc-dea34a5dc8af.png)
**-list: path to file**
![image](https://user-images.githubusercontent.com/83699106/160897762-53d84a2a-b44e-4018-8429-1ac71c4cf185.png)
![image](https://user-images.githubusercontent.com/83699106/163481783-81205843-ae39-4f1f-af9d-d9329f9bd00b.png)