Results 1 to 3 of 3

Threaded View

  1. #1
    EliteMC's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    5

    Skype Spammer/Mass Messager

    Hey MPGH! This is my first post so I thought I'd make it worthwhile. Here is a quick tutorial on how to make a Skype Spammer in C#.

    First, you will need the Skype4Com library. I will provide a link at the end of the tutorial. Go ahead and make a new Windows form project in Visual Studio.
     


    Once that has been made, go ahead and reference the Skype4Com library. Follow the tutorial in the spoiler below if you don't know how to do that.
     

    First, go to "Project" -> "Add Reference".


    Then, click the "Browse" tab. Once there, find where you downloaded the Skype4COM library and select it.


    Once you've done that, click "OK". You're ready to begin coding!


    You need to now import the Skype4COM library so you can actually use it. You can do this by adding this to the top of your code.
    Code:
    using SKYPE4COMLib;
    Now you need to attach Skype. Double click on the form to get to the "Form1_Load" method. Once there, you need to declare the Skype variable. Do this by entering:
    Code:
    //I entered a message box so it doesn't crash instantly.
    MessageBox.Show("Please allow the program access to Skype.");
    Skype skype = new Skype();
    This allows you to use the Skype methods. After that, you need to attach the program to the Skype client. To do this, you need to enter:
    Code:
    skype.Attach();
    That will open up a yellow bar in the Skype client, saying something along the lines of "<Program name> is trying to access Skype - (allow button) (decline button)". Now you need to get the Skype contact list. I do this using a listbox and in a new method. So, make a listbox in your form and then in the code, make a new method called "getContacts(Skype skype)".

    Code:
    List<string> Contacts = new List<string>();
    
    public void getContacts(Skype skype) {
    
    }


    Now that's done, we need to get the contacts. We will do this using a for loop. Place the following in the getContacts method:
    Code:
    //This goes through all the contacts in the contacts list
    for (int i = 0; i < skype.HardwiredGroups.Count; i++)
    {
    //This checks if the user is a friend or not
    if (skype.HardwiredGroups[i + 1].Type == TGroupType.grpAllFriends)
    {
    //If they are, then do this loop
    for (int j = skype.HardwiredGroups[i + 1].Users.Count; j > 0; j--)
    {
    //This adds the contact to the Contacts list we declared before.
    Contacts.Add(skype.HardwiredGroups[i + 1].Users[j].Handle);
    }
    }           
    }
    //This makes the listBox show the contents of the Contact list.
    listBox1.DataSource = Contacts;
    Now we need to make getContacts run. We do this by putting the following in the Form1_Load void. (Below skype.Attach().
    Code:
    getContacts(skype);
    Once this has been done, we need to make a new void. This will actually send the message.
    Code:
    //aot stands for amount of times.
    public void sendMessage(string message, string user, int aot, Skype skype)
    {
    for(int i = 0; i < aot; i++)
    {
    skype.sendMessage(user, message);
    }
    }

    Now, we need to add 2 textboxes, and 2 buttons. (The highlighted text box is textBox2.)


    Double click on Button1 and enter the following code.
    Code:
    Skype skype = new Skype();
    
    int i = listBox1.SelectedIndex;
    string selectedUser = Contacts[i];
    
    string message = textBox1.Text;
    int aot = int.Parse(textBox2.Text);
    
    sendMessage(message, selectedUser, aot, skype);
    After this, you now need to make another void named "massMessage".
    Code:
    public void massMessage(string message, int aot, Skype skype)
    {
    for(int i = 0; i < aot; i++)
    {
    for(int i2 = 0; i < Contacts.Count; i2++)
    {
    skype.sendMessage(Contacts[i2], message);
    }
    }
    }
    Now, double click on Button2 to open the code for it. Enter the following:
    Code:
    Skype skype = new Skype();
    string message = textBox1.Text;
    int aot = int.Parse(textBox2.Text);
    
    massMessage(message, aot, skype);
    And that's it! You have now successfully made a working Skype Spammer/Mass messager! Please leave feedback/thanks if this has helped you or it isn't very good! I'm also sorry if this has been made before, I forgot to check.

  2. The Following 5 Users Say Thank You to EliteMC For This Useful Post:

    'SmoLL (04-12-2013),By_Hummet (01-30-2014),Jorndel (04-18-2013),riverstore (06-10-2013),Seldos0503 (09-30-2015)

Similar Threads

  1. [Source Code] InstantRespawn , Spammer , Lifetaker , Message Guaranteed
    By ~Silver~ in forum Combat Arms BR Hack Coding/Source Code
    Replies: 11
    Last Post: 01-27-2012, 01:56 PM
  2. Replies: 31
    Last Post: 03-12-2010, 01:40 PM
  3. SUPER Spammer + hotkeys + ingame message changer
    By hopefordope in forum Combat Arms Spammers, Injectors and Multi Tools
    Replies: 14
    Last Post: 01-30-2010, 05:59 AM
  4. [TuT]Your very own message spammer!
    By FpsTibble in forum Visual Basic Programming
    Replies: 5
    Last Post: 10-23-2009, 04:57 PM
  5. [Release] Spam PR0 - Ultimate Message Spammer!
    By bug_NOT_ME in forum Combat Arms Hacks & Cheats
    Replies: 18
    Last Post: 09-18-2009, 04:57 AM