Hello,
I'm trying to fix the authentification bypass exploit on my 3.3.5a server BUT I've custom core and it's different between this :
Core/Auth: Resolved authentication bypass * TrinityCore/TrinityCore@ed2cd6b * GitHub
And my files..
Anyone know how can I fix this with my different files?
This is my AuthSession.cpp : AuthSession.cpp - Pastebin.com
And my AuthSession.h : AuthSession.h - Pastebin.com
Thanks in advance, sorry for bad english
EDIT :
I've this problem when I compil my fix
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:130:31: error: ‘ACE_Based’ has not been declared
class PatcherRunnable: public ACE_Based::Runnable
^
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:130:42: error: expected ‘{’ before ‘Runnable’
class PatcherRunnable: public ACE_Based::Runnable
^
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:131:1: error: invalid type in declaration before ‘{’ token
{
^
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:132:1: error: expected primary-expression before ‘public’
public:
^
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:132:1: error: expected ‘}’ before ‘public’
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:132:1: error: expected ‘,’ or ‘;’ before ‘public’
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:136:1: error: expected unqualified-id before ‘private’
private:
^
/wow/sources2/src/server/authserver/Server/AuthSocket.cpp:138:1: error: expected declaration before ‘}’ token
};
^
src/server/authserver/CMakeFiles/authserver.dir/build.make:146: recipe for target 'src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSocket.cpp.o' failed
make[2]: [src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSocket.cpp.o] Error 1
CMakeFiles/Makefile2:895: recipe for target 'src/server/authserver/CMakeFiles/authserver.dir/all' failed
make[1]: [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2
Makefile:107: recipe for target 'all' failed
make: *** [all] Error 2
root@vps405533:/wow/sources2/build#