Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - str0nghack

#1
Estoy leyendo algunos codigos por github pero no entiendo esta parte que os enseñare mas abajo
glow_currentPlayerGlowIndex * 0x34) + 0x4

por que multiplica por 0x34? y entonces suma 0x4? son offsets que hay que sacar con el cheat engine? o son simplemente bytes de la estructura? no lo entiendo...

#include <Windows.h>
#include "ProcMem.h"
#include "Offsets.h"

#pragma region Settings
//Stealth
bool StealthActive = true;

//Glow
bool GlowActive = true;
bool GlowTeamCheck = true;
float GlowTerroristRed = 1.f;
float GlowTerroristGreen = 0.f;
float GlowTerroristBlue = 0.f;
float GlowTerroristAlpha = 1.f;

float GlowCounterTerroristRed = 0.f;
float GlowCounterTerroristGreen = 0.f;
float GlowCounterTerroristBlue = 1.f;
float GlowCounterTerroristAlpha = 1.f;
#pragma endregion

ProcMem proM;
DWORD Client;

int main();
void GlowEsp();
void Stealth();

int main()
{
proM.Process("csgo.exe");
Sleep(200);
Client = proM.Module("client.dll");
if (StealthActive)
Stealth();

while (true)
{
if (GlowActive)
GlowEsp();
}
}

void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth, 0);
}


void GlowEsp()
{
DWORD glow_LocalBase = proM.Read<DWORD>(Client + m_dwLocalPlayerIndex);
DWORD glow_Pointer = proM.Read<DWORD>(Client + m_dwGlowObject);
int MyTeamID = proM.Read<int>(glow_LocalBase + m_iTeamNum);

for (int i = 0; i < 32; i++)
{
int glow_currentPlayer = proM.Read<int>(Client + m_dwEntityList + i * 0x10);
bool glow_currentPlayerDormant = proM.Read<bool>(glow_currentPlayer + m_bDormant);
int glow_currentPlayerGlowIndex = proM.Read<int>(glow_currentPlayer + m_iGlowIndex);
int EntityBaseTeamID = proM.Read<int>(glow_currentPlayer + m_iTeamNum);

if (glow_currentPlayerDormant == 1 || EntityBaseTeamID == 0)
continue;
else
if (MyTeamID != EntityBaseTeamID || GlowTeamCheck == false)
switch (EntityBaseTeamID) // 1 GoTV; 2 T; 3 CT
{
case 2:
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x4)), GlowTerroristRed);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x8)), GlowTerroristGreen);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0xC)), GlowTerroristBlue);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x10)), GlowTerroristAlpha);
proM.Write<BOOL>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x24)), true);
proM.Write<BOOL>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x25)), false);
break;
case 3:
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x4)), GlowCounterTerroristRed);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x8)), GlowCounterTerroristGreen);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0xC)), GlowCounterTerroristBlue);
proM.Write<float>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x10)), GlowCounterTerroristAlpha);
proM.Write<BOOL>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x24)), true);
proM.Write<BOOL>((glow_Pointer + ((glow_currentPlayerGlowIndex * 0x34) + 0x25)), false);
break;
}
}
}


el codigo completo aqui

https://github.com/Kyrr0/GlowESP/blob/master/main.cpp
#2
He intentado por todas las maneras compilar el programa pero no puedo, aqui github del mismo https://github.com/werkamsus/Lilith




#3
estoy intentado instalar X aplicaciones y no puedo por que hay problemas de espacio y no entiendo el por que, he buscado por internet y aparentemente tengo instalado diferentes kernels, mire y efectivamente tengo dos kernels instalados uno Generic y otro Generic + mi version actual.

¿Cual debo eliminar?
#4
Cita de: BloodSharp en 13 Agosto 2018, 01:09 AM
Ahí está especificando que no encuentra los imports necesarios de otra librería que está siendo utilizada en tu código, podrías contactar al desarrollador/a de la librería para que te provean una librería estática adecuada para MinGW. Alternativamente si conocés las funciones necesarias a importar podés generar la librería estática manualmente...


B#

leyendo la documentación en su pagina ofical pone lo siguiente.


Setup
Prerequisites
The library is supported on Linux, OS X, FreeBSD, and Windows.

The following compilers are supported to compile both the library and the tests:

GCC 4.9+ (Can be relaxed to GCC 4.6+ when not using C++)
Clang 3.4+
MSVC 14+ (Included in Visual Studio 2015 or later)
#5
Cita de: MAFUS en 12 Agosto 2018, 17:09 PM
El problema podría estar en Search directores de la última foto: añade la ruta a la biblioteca como en la foto anterior, a ver qué pasa.

me sigue saliendo ese error



MOD: Imagenes adaptadas a lo permitido. (2da. vez)
#6
Criterion es una librería de testeo que se usa en codewars y que me gustaría añadirla a codeblocks pero da múltiples errores de compilación y no entiendo por que.







MOD: Imagenes adaptadas a lo permitido.
#7
Cita de: ThunderCls en 22 Junio 2018, 15:00 PM
Ahora mismo no te tengo ningún link pero supongo que cualquier libro o curso de c++ avanzado que trate tema de punteros te servirá, supongo que google te podría dar algunos urls. Los paréntesis son usados más que nada para el casting y la dereferencia del puntero.

Muchas gracias de todas formas
#8
Cita de: ThunderCls en 21 Junio 2018, 22:31 PM
la linea

Código (cpp) [Seleccionar]
irc = *((ircs *)param);

simplemente hace un casting del parametro enviado (param) a tipo puntero de variable "ircs" y luego dereferencia dicho puntero  a una variable tipo ircs (irc), por lo que en otras palabras terminas teniendo una variable "irc" del parametro "param"

Sabes algun libro,pdf o video donde expliquen este tipo de punteros o la sintaxis de los paréntesis.
#9
Código (cpp) [Seleccionar]
DWORD WINAPI irc_connect(LPVOID param)
{
SOCKET sock;
SOCKADDR_IN ssin;
IN_ADDR iaddr;
LPHOSTENT hostent;
int err, rval;
char nick[16];
char *nick1;
char login[64];
char str[64];
BYTE spy;
DWORD id;
ircs irc;

irc = *((ircs *)param);


No entiendo muy bien a que esta apuntando aqui. En esta estructura
Código (cpp) [Seleccionar]
*((ircs *)param);

#10
Estoy deacuerdo, Muchas gracias por tu ayuda. Posteare aquí algúnos source codes hechos por mi mas adelante.