diff options
| -rw-r--r-- | csgo-loader/csgo-client/Client.cpp | 12 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/Login/RemoteLogin.cpp | 4 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp | 2 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/Security/SyscallManager.cpp | 2 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h | 8 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/UserExperience/UserInterface.hpp | 2 | ||||
| -rw-r--r-- | csgo-loader/csgo-server/Server.cpp | 4 | ||||
| -rw-r--r-- | legacy/loader/new 1.txt | 87 |
8 files changed, 91 insertions, 30 deletions
diff --git a/csgo-loader/csgo-client/Client.cpp b/csgo-loader/csgo-client/Client.cpp index 3fc15fd..dc08da2 100644 --- a/csgo-loader/csgo-client/Client.cpp +++ b/csgo-loader/csgo-client/Client.cpp @@ -9,6 +9,8 @@ #define SERVER_IP 0xE53CA523 // Hexadecimal representation of the server IP, obtained by inet_addr()
#define SERVER_PORT 0xF2C // Hexadecimal representation of the server port.
+// hey nave just wanna let u know u r epic
+// yea
#if 0
void hhahahaha()
{
@@ -43,11 +45,18 @@ void hhahahaha() }
#endif
-void OpenConsole()
+// is this loss/
+__forceinline void OpenConsole()
{
+#ifdef DEBUG
+ // ;ddDDDDdDDDd
AllocConsole();
+
+ // yo dude
+ // get this handles
FILE *file;
freopen_s(&file, "CONOUT$", "w", stdout);
+#endif // DEBUG
}
int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow)
@@ -77,7 +86,6 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) // Attempt to connect to the remote server.
if(!Client.Start(LOCAL_IP, SERVER_PORT))
ERROR_ASSERT("[000F:0002A000] Server did not accept the connection.");
-
// Allow the user to input their log-in data.
UserInterface->m_Data.m_ExecutionState = UserExperience::EXECUTION_LOG_IN;
diff --git a/csgo-loader/csgo-client/Login/RemoteLogin.cpp b/csgo-loader/csgo-client/Login/RemoteLogin.cpp index 2f82744..b6912d8 100644 --- a/csgo-loader/csgo-client/Login/RemoteLogin.cpp +++ b/csgo-loader/csgo-client/Login/RemoteLogin.cpp @@ -57,9 +57,6 @@ namespace Login case RemoteLoginResponse::OUTDATED_CLIENT:
INFO_ASSERT("[000A:%08x] Your client is outdated.\nPlease download the latest client at 'moneybot.cc'.", m_Header.m_HardwareId);
break;
- case RemoteLoginResponse::INTEGRITY_FAILURE:
- UserInterface->m_Data.m_Error = UserExperience::ERROR_SHADOW_BAN;
- break;
case RemoteLoginResponse::USER_BANNED:
INFO_ASSERT("[000D:%08x] Your account is banned.\nPlease contact 'admin@moneybot.cc' for additional information.", m_Header.m_HardwareId);
break;
@@ -69,6 +66,7 @@ namespace Login case RemoteLoginResponse::INVALID_CREDENTIALS:
INFO_ASSERT("[000C:%08x] Your credentials are invalid. Please check your spelling and try again.", m_Header.m_HardwareId);
break;
+ case RemoteLoginResponse::INTEGRITY_FAILURE:
case RemoteLoginResponse::NO_SUBSCRIPTION:
INFO_ASSERT("[000G:%08x] No active subscription found.", m_Header.m_HardwareId);
break;
diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp index 969f907..8d2509f 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp @@ -85,7 +85,7 @@ namespace RemoteCode while(Module32Next(Toolhelp, &ModuleEntry))
{
- printf("%s\n", ModuleEntry.szModule);
+ //printf("%s\n", ModuleEntry.szModule);
if(strstr(ModuleEntry.szModule, ModuleName))
{
CloseHandle(Toolhelp);
diff --git a/csgo-loader/csgo-client/Security/SyscallManager.cpp b/csgo-loader/csgo-client/Security/SyscallManager.cpp index 9de2459..bab2d5f 100644 --- a/csgo-loader/csgo-client/Security/SyscallManager.cpp +++ b/csgo-loader/csgo-client/Security/SyscallManager.cpp @@ -8,7 +8,7 @@ namespace Wrapper {
void SyscallStub::SetIndex(uint32_t Index)
{
- unsigned long OldProtection{};
+ DWORD OldProtection{};
// Make the code executable and set the index.
if(VirtualProtect(m_Shellcode, sizeof m_Shellcode, PAGE_EXECUTE_READWRITE, &OldProtection))
diff --git a/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h b/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h index 661ef1f..b061cd5 100644 --- a/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h +++ b/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h @@ -84,20 +84,20 @@ namespace ui { auto choose_form = menu->add_item(std::make_shared<ui::c_form>(120, 20, 190, 115, "select a cheat"));
{
// Change these if you want to.
- static std::vector<dropdowns::dropdown_item_t<int>> m_beta_items{
+ static std::vector<dropdowns::dropdown_item_t<uint16_t>> m_beta_items{
{ "cs:go (release)", 0 },
{ "cs:go (beta)", 1 },
{ "cs:go (debug)", 2 },
};
- static std::vector<dropdowns::dropdown_item_t<int>> m_normal_items{
+ static std::vector<dropdowns::dropdown_item_t<uint16_t>> m_normal_items{
{ "cs:go", 0 },
};
- choose_form->add_item(std::make_shared<ui::c_dropdown<int>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_beta_items))->set_cond([] {
+ choose_form->add_item(std::make_shared<ui::c_dropdown<uint16_t>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_beta_items))->set_cond([] {
return UserInterface->m_Data.m_SpecialAccess;
});
- choose_form->add_item(std::make_shared<ui::c_dropdown<int>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_normal_items))->set_cond([] {
+ choose_form->add_item(std::make_shared<ui::c_dropdown<uint16_t>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_normal_items))->set_cond([] {
return !UserInterface->m_Data.m_SpecialAccess;
});
diff --git a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp index d855c85..e905b3b 100644 --- a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp +++ b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp @@ -45,7 +45,7 @@ namespace UserExperience bool m_SpecialAccess = false;
// Holds the selected game.
- SelectedGame m_SelectedGame = GAME_CSGO;
+ uint16_t m_SelectedGame = GAME_CSGO;
// Holds the current error message.
ErrorReason m_Error = ERROR_GENERIC_ERROR;
diff --git a/csgo-loader/csgo-server/Server.cpp b/csgo-loader/csgo-server/Server.cpp index bf8404d..ada748b 100644 --- a/csgo-loader/csgo-server/Server.cpp +++ b/csgo-loader/csgo-server/Server.cpp @@ -1,6 +1,7 @@ #include <Networking/TCPServer.hpp>
#include <Login/RemoteLogin.hpp>
+// ik inda like penigs tbh
void ConnectionHandler(Networking::TCPConnection &Connection)
{
Login::RemoteLoginServer LoginServer;
@@ -12,6 +13,9 @@ void ConnectionHandler(Networking::TCPConnection &Connection) Connection.SendBytes(RawServerResponse);
}
+
+// cIUT <Y :LIFE INOT MAPIECES
+// THJIS IS MYLEAST REAPSPONTRE
int main()
{
Networking::TCPServer Server;
diff --git a/legacy/loader/new 1.txt b/legacy/loader/new 1.txt index 6985716..fde038e 100644 --- a/legacy/loader/new 1.txt +++ b/legacy/loader/new 1.txt @@ -1,37 +1,88 @@ +// todo:
+// add .text hash checking, DbgUiRemoteBreakIn, DbgBreakPoint hooks
+// hook recv/send on server, check if return address is valid
+// (also check commonly abused functions for hooks)
+// make release mode use themida macros :^)
SecurityWrapper {
Start( ) // Dispatch security thread to periodically check for blacklisted processes.
Patch( ) // Bytepatch often abused functions to call ExitProcess directly.
Check( ) // Check if dummy functions have been bytepatched (OpenProcess, WriteProcessMemory, VirtualQuery)
}
-RemoteCodeParameters {
- m_dwEndScene
- m_dwEndSceneOrig
- //m_dwImportCode
- m_dwEntryPoint
- m_dwCheatHeader
- m_dwVirtualProtect
-}
-
-RemoteCodeServer {
- Start( RemoteCodeParameters *Parameters )
- GetBytes( )
-}
+// todo:
+// make shellcode jump out to custom address (pass cheat header to it)
+// cheat itself will be invoked via TLS callback
+RemoteCodeClient { }
+RemoteCodeServer { }
-RemoteCodeClient {
- Start( ByteArray &RemoteCode )
- Dispatch( )
-}
+// todo:
+// get this finished off tomorrow along with HWID
RemoteInjectionServer {
Start( ByteArray &DllData )
ProcessRelocation( uint32_t RemoteAddress )
ProcessHeader( RemoteHeader *Header )
+ DumpImports( )
+ ProcessImports( ImportHeader *Header )
GetBytes( )
}
RemoteInjectionClient {
Start( RemoteProcess &Process )
AllocateMap( uint32_t SizeOfImage )
+ DumpImports( ImportRequest *Request )
WriteToMap( ByteArray &Data )
-}
\ No newline at end of file +}
+
+// this section will be posted on forums:
+[000F:xxxxxxxx]
+The following error code indicates a critical loader failure.
+Please ensure that Windows Firewall is allowing the loader to communicate over the Internet,
+the Operating System you're using is supported and that no anti-virus software is blocking the loader.
+
+[000F:00001A00]
+[000F:00001B00]
+Your operating system is not supported.
+Only 64-bit versions of Windows 8, 8.1 and 10 are officially supported by the loader.
+
+[000F:00002A00]
+There was an issue connecting to the loader backend.
+This could be due to numerous reasons, most usually it would be Windows Firewall blocking the client.
+
+[000F:00002B00]
+The server decided to drop your connection.
+Please make sure you are not running any blacklisted programs.
+
+[000F:00001C00]
+There was an error with accessing a process.
+Please make sure that anti-virus software is not blocking the loader.
+
+[000F:00002C00]
+[000F:00003C00]
+The integrity check on the process has failed.
+Please make sure that the copy of the game is up to date and that you are not running any software
+that could be tampering with the game's execution flow.
+
+[000A:xxxxxxxx]
+The following error indicated that your client is either corrupted or outdated.
+The error might appear if the loader is undergoing maintenance.
+
+If the problem persists, please download the latest version from here.
+
+[000G:xxxxxxxx]
+The server does not recognize your subscription as valid. This could be due to numerous factors including:
+ - You do not have a subscription.
+ - You have attempted to tamper with the loader.
+ - Your machine is infected with malware that triggered a loader integrity check.
+ - You have another account on the same IP address/hardware ID.
+
+To trouble-shoot this issue, try changing your password on the forums to force a database update.
+If the issue persists, contact an administator.
+
+[000C:xxxxxxxx]
+The server does not recognize your credentials as valid.
+To trouble-shoot this issue, please take note of the following:
+ - CAPS LOCK is not parsed as valid input by the loader.
+ - Pressing TAB will insert a character into the text input field.
+
+If the issue persists, contact an administrator.
\ No newline at end of file |
