Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button15_Click(object sender, EventArgs e)
- {
- if (openFileDialog1.ShowDialog() == DialogResult.OK && IsProcessOpen("PointBlank"))
- {
- Process[] pid = Process.GetProcessesByName("PointBlank");
- black.OpenProcessAndThread(pid[0].Id);
- if (black.IsProcessOpen)
- {
- /* foreach (ProcessThread threads in pid[0].Threads)
- {
- int thread_id = threads.Id;
- if (thread_id == 4264)
- {
- // black.SuspendThread(threads);
- alert("Thread suspended");
- // black.SuspendThread(thread_name.StartAddress);
- }
- }
- */
- black.InjectDllCreateThread(openFileDialog1.FileName);
- Environment.Exit(0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement