It implies your implementation is not good.Higor wrote:The 'security' reasons to obfuscate in this case, ...
But again it is different topic altogether (with different views). I apologise for I have started to hijack the thread
It implies your implementation is not good.Higor wrote:The 'security' reasons to obfuscate in this case, ...
Patreon: https://www.patreon.com/FreeandOpenFeralidragon wrote:Trial and error is sometimes better than any tutorial, because we learn how it works for ourselfs, which kills any doubts about anything
So I'm an inquisitor now? Instead of actually trying to think up an argument you just hand wave it away?Higor wrote:And seriously, some ppl seems to treat the obfuscation issue like inquisitors did back in the middle ages: speak and we burn you, everyone stay ignorant!!!!
This concept is very interesting ...I'm not a coder but I like the idea behind it.Feralidragon wrote: Furthermore, if you truly want to hide code and whatnot, and if you have an online server, here's the working recipe:Spoiler
- build a client package (the package the client needs)
- build a server package that depends on the client package
- do all the server-side only processing from the server package (which only exists in the server itself), while the client one has the other ones it needs and the graphical resources
- ???
- profit
Obfuscation level: 0%
Security level: 99% (the only way to get the code is if someone takes the package from the server and hands it to you or if someone manages to break in your server in some way, in other words, a leak caused by lack of security caused by the admin or the machine itself, but then again, if something like that happens, the server package is the least of your worries at that stage)
Maybe I had my reasons ??!!!JackGriffin wrote:"OMG! Did you see paper's new mod? He *Obfuscated* his code! Can you believe that? Damn, I thought I knew him and he goes and does this!"
One of the public |uK| servers is running an inventory profiler I made of that sort, all the client module does is scan the player's inventory and weapon, and the server... well thes the point of the server only package lel.Feralidragon wrote:- build a server package that depends on the client package
- do all the server-side only processing from the server package (which only exists in the server itself), while the client one has the other ones it needs and the graphical resources
- ???
- profit
Code: Select all
//continued
bool bObfuscating = false;
for ( int i=0 ; i<Remaining ; i++ )
{
if ( bObfuscating )
{ //OBFEND
if ( Buffer[i] == 79 && Buffer[i+1] == 66 && Buffer[i+2] == 70 && Buffer[i+3] == 69 && Buffer[i+4] == 78 && Buffer[i+5] == 68 )
{
bObfuscating = false;
appMemzero( &Buffer[i], 6);
i += 5;
}
else
Buffer[i] = 0;
}
else
{ //OBFSTART
if ( Buffer[i] == 79 && Buffer[i+1] == 66 && Buffer[i+2] == 70 && Buffer[i+3] == 83 && Buffer[i+4] == 84 && Buffer[i+5] == 65 && Buffer[i+6] == 82 && Buffer[i+7] == 84 )
{
bObfuscating = true;
appMemzero( &Buffer[i], 8);
i += 7;
}
}
if ( i == 8191 && Size) //Looks like file is bigger than expected
{
Dest->Serialize( &Buffer, 8192);
i=-1;
Remaining = Size;
if ( Remaining < 8192 )
{
Src->Serialize( &Buffer, Remaining);
Size = 0;
}
else
{
Src->Serialize( &Buffer, 8192);
Size = Remaining - 8192;
}
}
}
Dest->Serialize( &Buffer, Remaining);
}
if ( Src ) Src->Close();
if ( Dest ) Dest->Close();
unguard;
}
Yet all servers run an obfuscated mapvote, ZP, NewNet... cheats fucked the game, and anth's 'obfuscated' ACE brought it back to life.Wises wrote:TBH I'm over this game , and its this shit that fucks it..
Ppl still think I care if Siege is hacked or whatever?Wises wrote:as for siege ultimate its been ripped and hacked already.Cheers.
All true.Wises wrote:No zp limits your client base.. which is kinda bummer.. as more would like to play there..
Pure is more for competative play which u have stated that you design your servers not to be competative so no need.
Ace blocks 90% of cheats.. again competative stuff.
In fact tbh ,, most ppl here are into monsterhunt type games not competative game play.
With the exception of a few.