0% found this document useful (0 votes)
3 views

Code

Uploaded by

ramiwiv168
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Code

Uploaded by

ramiwiv168
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Beyondmem;

namespace AimbotOnOff
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

public static MemMirza Memlib = new MemMirza();

private void Form1_Load(object sender, EventArgs e)


{

private void label2_Click(object sender, EventArgs e)


{
Environment.Exit(0);
}
public string PID;
Dictionary<long, byte[]> originalValues = new Dictionary<long, byte[]>();
private async void guna2GradientButton1_Click(object sender, EventArgs e)
{
Int32 proc = Process.GetProcessesByName("HD-Player")[0].Id;
Memlib.OpenProcess(proc);

Memlib.OpenProcess(Convert.ToInt32(PID));

IEnumerable<long> longs = await Memlib.AoBScan2(("FF FF FF FF 00 00 00


00 00 00 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 43 00 00 00
00 ?? ?? ?? ?? 00 00 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?? ?? ?? ?? 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 80 BF"), true);

if (longs == null)
label5.Text = "No Address Found";

foreach (long num in longs)


{
string str = num.ToString("X");
{
Byte[] originalBytes = Memlib.AhReadMeFucker((num +
0x5c).ToString("X"), 4);

originalValues.Add(num, originalBytes);

Byte[] valueBytes = Memlib.AhReadMeFucker((num +


0x60).ToString("X"), 4);

Memlib.WriteMemory((num + 0x5c).ToString("X"), "int",


BitConverter.ToInt32(valueBytes , 0).ToString());

}
label3.Text = "Aimbot Done";
label3.ForeColor = Color.AliceBlue;
}

private async void guna2ToggleSwitch1_CheckedChanged(object sender,


EventArgs e)
{

if (guna2ToggleSwitch1.Checked)
{
Int32 proc = Process.GetProcessesByName("HD-Player")[0].Id;
Memlib.OpenProcess(proc);

Memlib.OpenProcess(Convert.ToInt32(PID));

IEnumerable<long> longs = await Memlib.AoBScan2(("FF FF FF FF 00 00


00 00 00 00 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 43 00 00
00 00 ?? ?? ?? ?? 00 00 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?? ?? ?? ?? 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 80 BF"), true);

if (longs == null)
label5.Text = "No Address Found";

foreach (long num in longs)


{
string str = num.ToString("X");
{
Byte[] originalBytes = Memlib.AhReadMeFucker((num +
0x5c).ToString("X"), 4);

originalValues.Add(num, originalBytes);

Byte[] valueBytes = Memlib.AhReadMeFucker((num +


0x60).ToString("X"), 4);

Memlib.WriteMemory((num + 0x5c).ToString("X"), "int",


BitConverter.ToInt32(valueBytes, 0).ToString());

}
label3.Text = "Aimbot Done";
label3.ForeColor = Color.AliceBlue;
}

}
else
{
Memlib.OpenProcess(Convert.ToInt32((PID)));
foreach (var entity in originalValues)
{
Memlib.WriteMemory((entity.Key + 0x5c).ToString("X"), "int",
BitConverter.ToInt32(entity.Value, 0).ToString());
}
originalValues.Clear();
label3.Text = "Disable Done";
label3.ForeColor = Color.AliceBlue;

Memlib.CloseProcess();

}
}

private void guna2GradientButton2_Click(object sender, EventArgs e)


{
Memlib.OpenProcess(Convert.ToInt32((PID)));
foreach(var entity in originalValues)
{
Memlib.WriteMemory((entity.Key + 0x5c).ToString("X"), "int" ,
BitConverter.ToInt32(entity.Value, 0).ToString());
}
originalValues.Clear();
label3.Text = "Disable Done";
label3.ForeColor = Color.AliceBlue;

Memlib.CloseProcess();

}
}
}

You might also like