Thread: Helper App

Results 1 to 4 of 4
  1. #1
    PPCINJ's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    NRF
    Posts
    317
    Reputation
    10
    Thanks
    1,674
    My Mood
    Innocent

    Helper App

    As I promised you, I will release the source code of the Helper App for ccman's Farmer. I must remark that the virusscan results are false positives. (How can a source Damage you in any way?). I would like the Minions to check and approve that this one is clean.

    Virusscans:
    https://www.virustotal.com/en/file/7...is/1365784118/
    helper_app_src.zip - Jottis Malwarescanner

    They both show over 50 % virus.

    For this i'm posting here the source in text format, too.

    Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Runtime.InteropServices;
    using System.Text;
    using System.Threading.Tasks;
    using System.Threading;
    using System.Windows.Forms;
    
    namespace mouse_clicker
    {
        public partial class Form1 : Form
        {
            delegate void mouse();
            int ms;
            int savedx, savedy, errorx = 0, errory = 0;
    
            enum mef : uint
            {
                LEFTDOWN = 0x00000002,
                LEFTUP = 0x00000004,
                MIDDLEDOWN = 0x00000020,
                MIDDLEUP = 0x00000040,
                MOVE = 0x00000001,
                ABSOLUTE = 0x00008000,
                RIGHTDOWN = 0x00000008,
                RIGHTUP = 0x00000010,
                WHEEL = 0x00000800,
                XDOWN = 0x00000080,
                XUP = 0x00000100
            }
    
            public Form1()
            {
                InitializeComponent();
                timer_helper.Start();
            }
    
            #region mouse
            [DllImport("user32.dll")]
            [return: MarshalAs(UnmanagedType.Bool)]
            static extern bool GetCursorPos(out POINT lpPoint);
    
            [DllImport("user32.dll")]
            static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey);
    
            [DllImport("user32.dll")]
            static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData,
              int dwExtraInfo);
    
            [DllImport("user32.dll")]
            static extern bool SetCursorPos(int X, int Y);
    
            struct POINT
            {
                public int x;
                public int y;
            }
    
            void Middown()
            {
                mouse_event((uint)mef.LEFTDOWN, 0, 0, 0, 0);
            }
            void Midup()
            {
                mouse_event((uint)mef.LEFTUP, 0, 0, 0, 0);
            }
    
            void Mousedu()
            {
                Middown();
                Midup();
            }
            #endregion
    
            private void xToolStripMenuItem_Click(object sender, EventArgs e)
            {
                this.Close();
            }
    
            private void timer_helper_Tick(object sender, EventArgs e)
            {
                int x = GetAsyncKeyState(Keys.F8);
                if ((x == 1) || (x == Int16.MinValue))
                {
                    ms = Convert.ToInt32(textBox1.Text);
                    try
                    {
                        timer_cooldown.Interval = ms;
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Not Valid number, interval has been set to 2000ms.");
                        textBox1.Text = "2000";
                        timer_cooldown.Interval = 2000;
                    }
                    timer_cooldown.Start();
                    pictureBox1.Image = Properties.Resources.green_light;
                    POINT position;
                    GetCursorPos(out position);
                    savedx = position.x;
                    savedy = position.y;
                    label5.Text = savedx.ToString() + ", " + savedy.ToString();
                }
                x = GetAsyncKeyState(Keys.F9);
                if ((x == 1) || (x == Int16.MinValue))
                {
                    timer_cooldown.Stop();
                    pictureBox1.Image = Properties.Resources.css_images_red_light;
                }
                x = GetAsyncKeyState(Keys.F10);
                if ((x == 1) || (x == Int16.MinValue))
                {
                    POINT position;
                    GetCursorPos(out position);
                    errorx = position.x;
                    errory = position.y;
                    label7.Text = errorx.ToString() + ", " + errory.ToString();
                }
            }
    
            private void timer_cooldown_Tick(object sender, EventArgs e)
            {
                SetCursorPos(savedx, savedy);
                Thread.Sleep(100);
                mouse ms = new mouse(Mousedu);
                ms();
                if (errorx != 0)
                {
                    SetCursorPos(errorx, errory);
                    Thread.Sleep(100);
                    ms();
                }
            }
        }
    }
    This isn't the full project, but should be enough.

    Minions:
    @Riddick, @Flengo, @BACKD00R

    Please Approve it, even if the Scans show so much false positives.

    Last edited by PPCINJ; 04-12-2013 at 11:43 AM.





  2. #2
    Riddick's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Delusional
    Posts
    7,734
    Reputation
    529
    Thanks
    5,130
    My Mood
    Devilish
    There's nothing to approve so why mention!!!

  3. #3
    PPCINJ's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    NRF
    Posts
    317
    Reputation
    10
    Thanks
    1,674
    My Mood
    Innocent
    @Riddick, Excuse me, I'm always doing everything fast and often forget to attach the attachment :P :3





  4. #4
    Riddick's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Delusional
    Posts
    7,734
    Reputation
    529
    Thanks
    5,130
    My Mood
    Devilish
    ccman32 exe inject has been patched and we are working on a new one, so this is useless. Sorry. Closed.

Similar Threads

  1. [Patched] Helper App for ccman32's Farmer V2
    By PPCINJ in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 31
    Last Post: 04-12-2013, 07:42 AM
  2. [Detected] Helper App for ccman32's Farmer
    By PPCINJ in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 14
    Last Post: 04-11-2013, 10:45 AM
  3. Need Helper
    By aznsul in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 09-20-2008, 08:47 PM
  4. Drawing Images into D3D apps?
    By ThePro in forum C++/C Programming
    Replies: 1
    Last Post: 09-03-2008, 12:13 AM
  5. Trading: Silkroad Accs. and Vb6 app.
    By blipi in forum Trade Accounts/Keys/Items
    Replies: 0
    Last Post: 10-17-2007, 10:29 AM