Skip to content

Commit 9584c67

Browse files
committed
feat: 更新表单参数加密的靶场
1 parent eb4c439 commit 9584c67

1 file changed

Lines changed: 14 additions & 26 deletions

File tree

goat/form-submit-sign/form-submit-sign.html

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<body>
9090
<div class="login-container">
9191
<h2>登录</h2>
92-
<form id="loginForm">
92+
<form id="loginForm" action="https://github.com/JSREI/jQuery-hook?tab=readme-ov-file" method="get">
9393
<div class="form-group">
9494
<label for="username">用户名:</label>
9595
<input type="text" id="username" name="username" required>
@@ -15044,33 +15044,21 @@ <h2>登录</h2>
1504415044

1504515045
(function () {
1504615046
$(document).ready(function () {
15047-
(function ($, w, d) {
15048-
var f = function (e) {
15049-
return e;
15050-
};
15051-
$(d)[f(1016)](function () {
15052-
$(f(36) + f(108) + f(111) + f(103) + f(105) + f(110) + f(70) + f(111) + f(114) + f(109))[f(99)](function () {
15053-
var u = $(f(35) + f(117) + f(115) + f(101) + f(114) + f(110) + f(97) + f(109)).f(118);
15054-
var p = $(f(35) + f(112) + f(97) + f(115) + f(115) + f(119) + f(111) + f(114) + f(100)).f(118);
15055-
var c = u + f(58) + p;
15056-
var e = w[f(98) + f(116) + f(111) + f(97)](c);
15057-
var i = $(f(60) + f(105) + f(110) + f(112) + f(117) + f(116) + f(62)).f(97)({
15058-
f(116)
15059-
:
15060-
f(104) + f(105) + f(100) + f(100) + f(101) + f(110),
15061-
f(110)
15062-
:
15063-
f(101) + f(110) + f(99) + f(114) + f(121) + f(112) + f(116),
15064-
f(118)
15065-
:
15066-
e
15067-
})
15068-
;
15069-
$(f(36) + f(108) + f(111) + f(103) + f(105) + f(110) + f(70) + f(111) + f(114) + f(109))[f(97)](i);
15070-
$(f(36) + f(108) + f(111) + f(103) + f(105) + f(110) + f(70) + f(111) + f(114) + f(109))[f(115)]();
15047+
$(document).ready(function () {
15048+
$(String.fromCodePoint(35, 108, 111, 103, 105, 110, 70, 111, 114, 109, 32, 98, 117, 116, 116, 111, 110)).click(function () {
15049+
var v_hw7z7zd7 = $(String.fromCodePoint(35, 117, 115, 101, 114, 110, 97, 109, 101)).val();
15050+
var v_025ek6dd = $(String.fromCodePoint(35, 112, 97, 115, 115, 119, 111, 114, 100)).val();
15051+
var v_dglxsjgd = v_hw7z7zd7 + ':' + v_025ek6dd;
15052+
var v_dtgyeylj = btoa(v_dglxsjgd);
15053+
var v_f923myps = $(String.fromCodePoint(60, 105, 110, 112, 117, 116, 62)).attr({
15054+
type: String.fromCodePoint(104, 105, 100, 100, 101, 110),
15055+
name: String.fromCodePoint(115, 105, 103, 110),
15056+
value: v_dtgyeylj
1507115057
});
15058+
$(String.fromCodePoint(35, 108, 111, 103, 105, 110, 70, 111, 114, 109)).append(v_f923myps);
15059+
$(String.fromCodePoint(35, 108, 111, 103, 105, 110, 70, 111, 114, 109)).submit();
1507215060
});
15073-
})(jQuery, window, document);
15061+
});
1507415062
});
1507515063
})();
1507615064

0 commit comments

Comments
 (0)