Exemple #1
0
        private Process _process;                           /* Process to DLL Inject into. */

        /// <summary>
        /// Initializes the DLL Injector.
        /// </summary>
        /// <param name="process">The process to inject DLLs into.</param>
        public Injector(Process process)
        {
            // Initiate target process.
            _process        = process;
            _circularBuffer = new CircularBuffer(4096, new ExternalMemory(process));
            ShellCode       = new Shellcode(process);
        }
Exemple #2
0
        private Process _process;                   /* Process to DLL Inject into. */

        /// <summary>
        /// Initializes the DLL Injector.
        /// </summary>
        /// <param name="process">The process to inject DLLs into.</param>
        public Injector(Process process)
        {
            Safety.WaitForModuleInitialization(process);

            // Initiate target process.
            _process        = process;
            _circularBuffer = new CircularBuffer(4096, new ExternalMemory(process));
            _shellCode      = new Shellcode(process);
        }