Beispiel #1
0
        public void ReloadModule(string mName)
        {
            Module module = GetModuleByName(mName);

            DetachModule(module);
            EXEC.AttachModule(File.ReadAllBytes(module.ModuleAssembly.Location));
        }
Beispiel #2
0
 static void Main(string[] args)
 {
     exec = new Executer();
     exec.Initialize(true, "");
     exec.AttachModule(Assembly.GetExecutingAssembly());
     Interactor        = new Interactor();
     Interactor.Logger = new ConsoleLogger();
     Interactor.Simulate();
     for (; ;)
     {
         exec.CommandHandler(Console.ReadLine());
     }
     //Task.Delay(-1).Wait();
 }