elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Como proteger una cartera - billetera de Bitcoin


  Mostrar Mensajes
Páginas: [1] 2 3 4 5 6 7 8
1  Programación / Ingeniería Inversa / Ayuda con external glow hack CS.GO en: 3 Septiembre 2018, 20:52 pm
Estoy leyendo algunos codigos por github pero no entiendo esta parte que os enseñare mas abajo
Código:
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...

Código:
#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  Programación / Programación C/C++ / EL programa no compila en VIsual Studio en: 20 Agosto 2018, 22:35 pm
He intentado por todas las maneras compilar el programa pero no puedo, aqui github del mismo https://github.com/werkamsus/Lilith




3  Sistemas Operativos / GNU/Linux / No hay suficiente espacio , problema ubuntu en: 14 Agosto 2018, 20:10 pm
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  Programación / Programación C/C++ / Re: error de compilacion al instalar criterion en codeblocks en: 13 Agosto 2018, 17:05 pm
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  Programación / Programación C/C++ / Re: error de compilacion al instalar criterion en codeblocks en: 12 Agosto 2018, 21: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  Programación / Programación C/C++ / error de compilacion al instalar criterion en codeblocks en: 11 Agosto 2018, 19:31 pm
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  Programación / Programación C/C++ / Re: Ayuda con una estructura y puntero //winsock// en: 22 Junio 2018, 18:17 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  Programación / Programación C/C++ / Re: Ayuda con una estructura y puntero //winsock// en: 22 Junio 2018, 01:31 am
la linea

Código
  1. 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  Programación / Programación C/C++ / Ayuda con una estructura y puntero //winsock// en: 21 Junio 2018, 16:16 pm
Código
  1. DWORD WINAPI irc_connect(LPVOID param)
  2. {
  3. SOCKET sock;
  4. SOCKADDR_IN ssin;
  5. IN_ADDR iaddr;
  6. LPHOSTENT hostent;
  7. int err, rval;
  8. char nick[16];
  9. char *nick1;
  10. char login[64];
  11. char str[64];
  12. BYTE spy;
  13. DWORD id;
  14. ircs irc;
  15.  
  16. irc = *((ircs *)param);

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

10  Programación / Programación C/C++ / Re: Conseguir compilar antiguos proyectos en visual Studio en: 16 Junio 2018, 18:18 pm
Estoy deacuerdo, Muchas gracias por tu ayuda. Posteare aquí algúnos source codes hechos por mi mas adelante.
Páginas: [1] 2 3 4 5 6 7 8
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines