Fix uncorrect image path
This commit is contained in:
parent
3923503b28
commit
b88d23a1bf
|
@ -23,13 +23,13 @@ Tools: Kali-linux 64 bit Virtual Machine, Tomcat-8.5.32, JRE8 environment.
|
|||
|
||||
the command of docker installation: `apt install docker.io`
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/search image.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/search image.png?raw=true)
|
||||
|
||||
1. Pull image of tomcat and load it to local virtual machine.
|
||||
|
||||
command: `docker search duonghuuphuc/tomcat-8.5.32`
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/pull image.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/pull image.png?raw=true)
|
||||
|
||||
1. Run ports 8080 and 8009 after create the container of this image.
|
||||
|
||||
|
@ -41,17 +41,17 @@ Tools: Kali-linux 64 bit Virtual Machine, Tomcat-8.5.32, JRE8 environment.
|
|||
|
||||
--name: specify the name of container.
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/run tomcat.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/run tomcat.png?raw=true)
|
||||
|
||||
1. Use the tool Nmap[6] to scan whether the ports 8080 and 8009 of the local IP address are open.
|
||||
|
||||
command: `nmap <IP address>`
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/check ports.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/check ports.png?raw=true)
|
||||
|
||||
1. Check if the Tomcat environment is working properly in web browser.
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/tomcat-8.5.32.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/tomcat-8.5.32.png?raw=true)
|
||||
|
||||
1. Run python vulnerability script in the host port 8009 to read files which are in the webapp directory.
|
||||
|
||||
|
@ -61,8 +61,8 @@ Tools: Kali-linux 64 bit Virtual Machine, Tomcat-8.5.32, JRE8 environment.
|
|||
|
||||
-f: specify the location of the file to be read
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/exploit script.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/exploit script.png?raw=true)
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/read files.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/read files.png?raw=true)
|
||||
|
||||
[](https://github.com/Siyang9065/img/blob/main/read index file.png?raw=true)
|
||||
[](https://github.com/Siyang9065/img/blob/main/read index file.png?raw=true)
|
Loading…
Reference in New Issue