Go Back   FileForums > Games > Game Coders

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2011, 15:21
zeroc0der zeroc0der is offline
Registered User
 
Join Date: Sep 2011
Location: US
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
zeroc0der is on a distinguished road
[Release] Cellbot Injector 1.1 (Really Neat!)

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);
        }
    }
}
Attached Files
File Type: rar Cellbot Injector vaA1.1.rar (276.7 KB, 43 views)
Reply With Quote
Sponsored Links
  #2  
Old 30-10-2011, 04:50
greasyape greasyape is offline
Registered User
 
Join Date: Oct 2011
Location: Sweden
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
greasyape is on a distinguished road
Pretty sweet, but how about the proxy settings? Think I get stuck there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 12:25.


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