VirusTotal请求头x-vt-anti-abuse-header加密

This commit is contained in:
luzhisheng 2023-01-28 21:47:17 +08:00
parent 0b7603d84e
commit 994b9a8c74

View File

@ -0,0 +1,10 @@
function computeAntiAbuseHeader(){
const t = Date.now() / 1e3;
return btoa(`${(() => {
const t = 1e10 * (1 + Math.random() % 5e4);
return t < 50 ? "-1" : t.toFixed(0)
}
)()}-ZG9udCBiZSBldmls-${t}`)
}
console.log(computeAntiAbuseHeader());