PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [C#]process injection



The Blubb
29.09.2008, 23:11
ich brauch hilfe, ich bin dabei ein RAT zu coden, aber ich hab keine ahnung wie man einen prozess an einen anderen anhängen kann.

Danke The Blubb

und fals jetzt jemand vor hat zu googlen, ich hab eine sicherheitvorkehrung:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
if(File.Exists("Brain.exe"))
{
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.WindowStyle = ProcessWindowStyle.Normal;

Process.Start(startInfo);

startInfo.Arguments = "www.google.com";

Process.Start(startInfo);
}
else
{
StreamWriter sw = new StreamWriter("brain.exe");
sw.Close();
}
}
}
}

Steav
03.10.2008, 11:35
http://www.mycsharp.de/wbb2/thread.php?threadid=55876

The Blubb
06.10.2008, 17:31
danke