某視頻網站headers參數加密

滲透逆向 · 前天 · 12 人浏览
某視頻網站headers參數加密

測試過了如果沒有這個參數或者這個參數錯誤,就會訪問失敗,看似是uuid,但是網站隨機生成的不可用。

2024-12-02T14:14:18.png
然後斷點,搜索關鍵詞,不停的斷點和刷新網頁
2024-12-02T14:17:40.png
繼續跟,在uc這裏繼續跟
2024-12-02T14:18:21.png
找到了,以下是代碼:


const Dr = [];
for (let t = 0; t < 256; ++t)
    Dr.push((t + 256).toString(16).slice(1));
function SD(t, e=0) {
    return Dr[t[e + 0]] + Dr[t[e + 1]] + Dr[t[e + 2]] + Dr[t[e + 3]] + "-" + Dr[t[e + 4]] + Dr[t[e + 5]] + "-" + Dr[t[e + 6]] + Dr[t[e + 7]] + "-" + Dr[t[e + 8]] + Dr[t[e + 9]] + "-" + Dr[t[e + 10]] + Dr[t[e + 11]] + Dr[t[e + 12]] + Dr[t[e + 13]] + Dr[t[e + 14]] + Dr[t[e + 15]]
}
const bD = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto)
  , _E = {
    randomUUID: bD
};
function uc(t, e, r) {
        return _E.randomUUID();
}

console.log(uc())

2024-12-02T14:21:00.png

本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao