Log in

I forgot my password

Search
 
 

Display results as :
 

 


Rechercher Advanced Search

Latest topics
» [Release] rules of Survival Hack v1.7
by Zaisen Wed Apr 25, 2018 4:43 pm

» ros bisaya hack bot bot nimo
by mansera213 Mon Apr 16, 2018 3:29 pm

» [Release] ROS D3D undetected until patch
by Raml[ZIi] Wed Mar 21, 2018 12:20 pm

» [Release] WARROCK D3D BASE
by tokoynwa Mon Mar 12, 2018 5:47 pm

» [Info] FACEBOOK LOGIN PROBLEM ( FIX )
by Zaisen Sat Mar 10, 2018 3:46 pm

» [Release] Simple Hack 2k18!!
by FLORANTE Tue Mar 06, 2018 2:24 am

» [Request] FULL SOURCE GoLoader latest Version...
by Zaisen Sun Mar 04, 2018 5:11 pm

» [Help] please Release a Simple Wall Hack with menu guys
by FLORANTE Wed Feb 28, 2018 12:57 am

» [Info] Release Later.. D3D Hack
by FLORANTE Wed Feb 28, 2018 12:55 am

» Request Forum
by FLORANTE Tue Feb 27, 2018 5:09 am

» [Project] Crossfire Ecoin Debugger
by FLORANTE Tue Feb 27, 2018 5:08 am

» [Info] DDOS ATTACK ( PINOY DDOS )
by FLORANTE Tue Feb 27, 2018 4:32 am

» [Release] ROS BISAYA AIMBOT
by FLORANTE Tue Feb 27, 2018 4:28 am

» [Preview] WIFI HACKING USING ANDROID ( ROOT )
by Zaisen Sun Feb 25, 2018 9:39 am

» [Help] How to use Termux??
by Raml[ZIi] Thu Feb 15, 2018 5:28 pm


BLACKSHOT AUTO INJECTOR

Go down

default BLACKSHOT AUTO INJECTOR

Post by Zaisen on Mon Oct 16, 2017 11:23 am



Code:
using System.Diagnostics;
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;



[DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int ReadProcessMemory(int hProcess, int lpBaseAddress, string lpBuffer, int nSize, ref int lpNumberOfBytesWritten);

[DllImport("kernel32", EntryPoint = "LoadLibraryA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int LoadLibrary(string lpLibFileName);

[DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int WriteProcessMemory(System.IntPtr hProcess, int lpBaseAddress, string lpBuffer, int nSize, int lpNumberOfBytesWritten);

[DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int VirtualAllocEx(System.IntPtr hProcess, int lpAddress, int dwSize, int flAllocationType, int flProtect);

[DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int GetProcAddress(int hModule, string lpProcName);

[DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int CreateRemoteThread(System.IntPtr hProcess, int lpThreadAttributes, int dwStackSize, int lpStartAddress, int lpParameter, int dwCreationFlags, int lpThreadId);

[DllImport("Kernel32", EntryPoint = "GetModuleHandleA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int GetModuleHandle(string lpModuleName);

[DllImport("kernel32.dll")]
public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId);

[DllImport("kernel32", EntryPoint = "CloseHandle")]
private static extern int CloseHandle(System.IntPtr hObject);

[DllImport("user32", EntryPoint = "FindWindowA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int FindWindow(string lpClassName, string lpWindowName);

void Inject()
{
System.IntPtr TargetProcessHandle;
int TargetBufferSize;
String pszLibFileRemote;
int pfnStartAddr;
Process[] TargetProcess = Process.GetProcessesByName("BlackShot");
TargetProcessHandle = OpenProcess(0x1F0FFF, false, TargetProcess[0].Id);
pszLibFileRemote = Application.StartupPath + ("\\SILK.dll");
pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32.dll"), "LoadLibraryA");
TargetBufferSize = 1 + pszLibFileRemote.Length;
int Rtn;
int LoadLibParamAdr;
LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, 4096, 4);
Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0);
CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0);
CloseHandle(TargetProcessHandle);
}

private void timer1_Tick(object sender, EventArgs e)
{
Process[] TargetProcess = Process.GetProcessesByName("BlackShot");
if (TargetProcess.Length == 0)
{ }
else
{
Inject();
timer1.Stop();
this.Close();
}
}
avatar
Zaisen
Admin Hacker
Admin Hacker

Posts : 37
Join date : 2017-09-08

View user profile http://globaloffensive.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum