- 30 Eki 2023
- 1
- 1
Selamlar forum üyeleri bugün sizlere Dll İnjectoru C# diliyle nasıl kodlanır basit bir şekilde onu anlatıcam.
Anlamayanlar YouTube üzerindeki videomu izleyebilirler.
----------------------------------------------------------------------------------------------------------------------------------Project > Add Existing Item > Projenizin adı.cs seçin.
Sonra Form1 e çift tıklayıp en tepeye şu kodları ekleyin.
Kod:
using System.IO;
using System.Diagnostics;
using DllInject;
1 Adet textBox
3 Adet Button
1 Adet Listbox
1 Adet OpenFileDialog Ekliyoruz
Sonra Button1 in adını "Ekle" yapıyoruz. Button2 nin adını "Sil" Yapıyoruz. Button 3 ün adını "Inject" yapıyoruz.
Button1 Kod:
openFileDialog1.Filter = "DLL (*.dll) |*.dll";
openFileDialog1.ShowDialog();
string FileName;
FileName = openFileDialog1.FileName.Substring(openFileDialog1.FileName.LastIndexOf("\\"));
string DllFileName = FileName.Replace("\\", "\\");
listBox1.Items.Add(openFileDialog1.FileName);
Button2 Kod:
listBox1.Items.Remove(listBox1.SelectedItem);
Button3 Kod:
Process proc = Process.GetProcessesByName(textBox1.Text)[0];
Projeninadı.inject(listBox1.Text, proc);
----------------------------------------------------------------------------------------------------------------------------------
Moderatör tarafında düzenlendi: