Tibia Hack 8.74 for dummies :)
 |
c# Applications |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace ShowMe
{
public partial class Form1 : Form
{
String logueado = "08";
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
[DllImport("Kernel32.dll")]
public static extern bool ReadProcessMemory
(
IntPtr hProcess,
IntPtr lpBaseAddress,
byte[] lpBuffer,
UInt32 nSize,
ref UInt32 lpNumberOfBytesRead
);
public static byte[] FromHex(string hex)
{
hex = hex.Replace("-", "");
byte[] raw = new byte[hex.Length / 2];
for (int i = 0; i < raw.Length; i++)
{
raw[i] = Convert.ToByte(hex.Substring(i * 2, 2), 16);
}
return raw;
}
private void button1_Click(object sender, EventArgs e)
{
try
{
Process[] processList = null;
Process targetProcess = null;
String processName = "Tibia";
processList = Process.GetProcessesByName(processName);
if (processList == null || processList.Length == 0)
{
MessageBox.Show("Cliente "+processName+" no encontrado");
return;
}
else
{
targetProcess = processList[0];
byte[] buffer = new byte[32];
byte[] Logueado = new byte[1];
uint bytesRead = 0;
int addressPass = Convert.ToInt32("007CA258", 16);
int addressAcc = Convert.ToInt32("007CA278", 16);
int addressLogueado = Convert.ToInt32("007CA29C", 16);
ReadProcessMemory(targetProcess.Handle, (IntPtr)addressLogueado, Logueado, 1, ref bytesRead);
if (logueado == BitConverter.ToString(Logueado, 0))
{
ReadProcessMemory(targetProcess.Handle, (IntPtr)addressAcc, buffer, 32, ref bytesRead);
string CadenaHex = BitConverter.ToString(buffer, 0).Replace("-00", "");
byte[] data = FromHex(CadenaHex);
textBox1.Text = "" + Encoding.ASCII.GetString(data);
ReadProcessMemory(targetProcess.Handle, (IntPtr)addressPass, buffer, 32, ref bytesRead);
string CadenaHexP = BitConverter.ToString(buffer, 0).Replace("-00", "");
byte[] dataP = FromHex(CadenaHexP);
textBox2.Text = Encoding.ASCII.GetString(dataP);
}
}
}
catch (Exception ex)
{
MessageBox.Show(""+ex);
}
}
}
}
Que es lo que hace al ser compilado?
El programa lee la memoria del cliente de Tibia para encontrar el password y el
account number (no es un adivinador ni nada de eso, esas cosas no existen),
eso es lo unico que hace este pedaso de codigo que he colgado. La idea era que
ustedes lo terminaran y tuvieran algo como esto o mejor :P {TTH}.
4 comentarios:
Amigo Tengo que descargar el visual studio 2008 no se puede usar el visual basic?
Visual Studio C# 2010 o 2008.
Afuerzas se tiene que crear no lo puedes poner ya hecho??
enseña a usarlo plx xfa neta =D
Publicar un comentario
Aqui puedes publicar algun comentario, duda, sugerencia, problema, agradecimiento o lo que quieras. Ten en cuenta que el comentario será moderado antes de salir publico.