Results 1 to 3 of 3
  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)

  3. #2
    'SmoLL's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    EASY WAY TO GET BANNED
    Posts
    292
    Reputation
    10
    Thanks
    153
    My Mood
    Twisted
    Now I'm starting with C #, although I already know a little about vb.net to facilitate, I'll start with this tutorial ^ ^

  4. #3
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    Thanks for the tutorial, hopefully I can expand on it and release a Skype bot with more features.


    MPGH Staff History:
    Minion: 02-12-2013 - 6-28-2013
    Former Staff: 6-28-2013 - 7-14-2014
    Minion: 7-14-2014 - 1-3-2015
    Minion+: 1-3-2015 - 6-1-2015
    Moderator: 6-1-2015 - 10-2-2016
    Global Moderator: 10-2-2016 - Current

    Current Sections:
    DayZ Mod & Standalone Hacks & Cheats
    BattleOn Games Hacks, Cheats & Trainers
    Minecraft Hacks
    Other Semi-Popular First Person Shooter Hacks
    Blackshot Hacks & Cheats
    Need For Speed World Hacks
    Other First Person Shooter Hacks
    CounterStrike: Global Offensive Hacks
    Garry's Mod Hacks & Cheats


    Donating:
    If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
    Top Donators: (Awesome People)
    FanticSteal $75.00
    smurf_master $58.00 <- Best DayZ Gear Seller
    Fujiyama $25.00
    [MPGH]Black $10.00
    [MPGH]Hova $10.00
    xJudgez $4.54
    [MPGH]Normen's Sheep $3.50
    eminemlover $1.50


    Brony?
    https://www.mpgh.net/forum/groups/1728-mpgh-bronies.html

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