• We have a new discord! click here to join
    Any faulty links ? Report them in our discord or via our Ticket System!
    We do everything we can to protect the safety of our visitors, if any resource contains malware in any kind of form or obfuscation please report it aswell ♡♡

QBCORE Nchub Nopixel v4 Beta Updates (5 Viewers)

HotCoderNearYou

HotCoderNearYou
Jan 17, 2021
109
145
43
Credits
875
function handleEvent(event, data) {
if (event !== "onWeaponTypeChange" || isWeaponEnabled) {
return;
}

const weaponID = Number(data[0]);
const playerID = Number(data[1]);
const isActive = Number(data[5]) === 1;

if (!isActive || playerID === playerServerID || weaponID !== playerServerID || !isPlayerActive(playerID)) {
return;
}

isWeaponEnabled = true;

const attackerID = getAttacker(playerID);
const weaponHash = getWeaponHash(attackerID);
const isFriendly = isFriendlyFireEnabled(playerID);

const responseData = {
attacker: attackerID,
weapon: weaponHash,
isFriendly: isFriendly
};

triggerEvent("onWeaponTrigger", responseData);

setTimeout(() => isWeaponEnabled = false, 3000);
}


Decoded Client side encoded js script. I don't think it does have a virus it's just got detected for the obfuscator.
 

HotCoderNearYou

HotCoderNearYou
Jan 17, 2021
109
145
43
Credits
875
It's certainly looks fishy but as i posted a nearly 100% decoded example i don't think this script does possible contains any virus.
 

Attachments

  • Screenshot_2024-10-31-03-52-34-58_87c2225eebc34d2513fa0e7ad5b93cfc.jpg
    Screenshot_2024-10-31-03-52-34-58_87c2225eebc34d2513fa0e7ad5b93cfc.jpg
    707.2 KB · Views: 22

MahmoudiTech

Well-known member
Dec 23, 2021
421
39
28
Credits
2,424
function handleEvent(event, data) {
if (event !== "onWeaponTypeChange" || isWeaponEnabled) {
return;
}

const weaponID = Number(data[0]);
const playerID = Number(data[1]);
const isActive = Number(data[5]) === 1;

if (!isActive || playerID === playerServerID || weaponID !== playerServerID || !isPlayerActive(playerID)) {
return;
}

isWeaponEnabled = true;

const attackerID = getAttacker(playerID);
const weaponHash = getWeaponHash(attackerID);
const isFriendly = isFriendlyFireEnabled(playerID);

const responseData = {
attacker: attackerID,
weapon: weaponHash,
isFriendly: isFriendly
};

triggerEvent("onWeaponTrigger", responseData);

setTimeout(() => isWeaponEnabled = false, 3000);
}


Decoded Client side encoded js script. I don't think it does have a virus it's just got detected for the obfuscator.
Can you send me the full file please?
 

Users who are viewing this thread

  • sjorspost
Top