Log in
Search
Display results as :
Advanced Search
Latest topics
Request ForumMon Dec 04, 2017 9:21 amFLORANTED3D HACK WARROCK PHMon Dec 04, 2017 9:02 amFLORANTE[Release] WINDOWS ACTIVATOR Mon Dec 04, 2017 8:39 amZaisen[Release] TERMUX FOR PCSun Nov 26, 2017 11:19 amZaisenTermux (Facebook-Bruteforce)Mon Nov 20, 2017 5:35 pmdeydey10[Release] FACEBOOK GAME HACKWed Nov 08, 2017 9:07 pmZaisenvisual studio 2010 expressSun Nov 05, 2017 12:21 pmZaisenXENOS INJECTOR 2.2.2Tue Oct 31, 2017 11:03 amIJoshISHADOW SOCKS CONNECTTue Oct 31, 2017 8:05 amZaisenGLOBAL NEWSThu Oct 26, 2017 5:20 pmZaisenVISUAL STUDIO 2013 OFFLINE INSTALLERWed Oct 25, 2017 10:36 amZaisenGLOBAL OFFENSIVEWed Oct 25, 2017 7:36 amZaisenBLACKSHOT AUTO INJECTORMon Oct 16, 2017 11:23 amZaisenWARROCK GO LOADERMon Oct 16, 2017 7:15 amZaisenBANDICAM + ACTIVATOR TOOLSun Oct 15, 2017 6:21 amZaisen
Most active topic starters

Share
View previous topicGo downView next topic
avatar
Admin Hacker
Admin Hacker
Posts : 20
Join date : 2017-09-08
View user profilehttp://globaloffensive.forumotion.asia

default BLACKSHOT AUTO INJECTOR

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();
}
}
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum