├── ConsoleApp1
├── obj
│ ├── Debug
│ │ ├── ConsoleApp1.csproj.CoreCompileInputs.cache
│ │ ├── ConsoleApp1.exe
│ │ ├── ConsoleApp1.pdb
│ │ ├── ConsoleApp1.csprojAssemblyReference.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ └── ConsoleApp1.csproj.FileListAbsolute.txt
│ └── Release
│ │ ├── ConsoleApp1.csproj.CoreCompileInputs.cache
│ │ ├── ConsoleApp1.exe
│ │ ├── ConsoleApp1.pdb
│ │ ├── ConsoleApp1.csprojAssemblyReference.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ └── ConsoleApp1.csproj.FileListAbsolute.txt
├── Modules
│ ├── help.cs
│ ├── Ping.cs
│ ├── psn.cs
│ ├── geo.cs
│ ├── ports.cs
│ └── ddos.cs
├── App.config
├── Properties
│ └── AssemblyInfo.cs
├── Program.cs
├── packages.config
└── ConsoleApp1.csproj
├── APIs
├── attacks.php
├── psn.php
├── geo.php
├── nmap.php
├── class.IPInfoDB.php
└── api.php
├── README.md
├── .gitignore
└── ConsoleApp1.sln
/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | a9fdc3065e0fa99217423df77a22bebf91219db6
2 |
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/ConsoleApp1.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 7faeee01e1f40d1348d8744e434d2a201d08349f
2 |
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Debug/ConsoleApp1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Debug/ConsoleApp1.exe
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Debug/ConsoleApp1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Debug/ConsoleApp1.pdb
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/ConsoleApp1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Release/ConsoleApp1.exe
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/ConsoleApp1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Release/ConsoleApp1.pdb
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Debug/ConsoleApp1.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Debug/ConsoleApp1.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/ConsoleApp1.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Release/ConsoleApp1.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Ethosec/Discord-DOS-Bot/HEAD/ConsoleApp1/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/APIs/attacks.php:
--------------------------------------------------------------------------------
1 | psn.lst");
3 | if($error = "
")
4 | {
5 | $username = $_GET['psn'];
6 | system("curl https://psnresolver.org/resolve/$username | grep ' | ' > /tmp/resolve.txt");
7 | system('sed -i -e "s# | ##g" /tmp/resolve.txt;sed -i -e "s# | ##g" /tmp/resolve.txt;cat /tmp/resolve.txt');
8 | }
9 | ?>
10 |
--------------------------------------------------------------------------------
/APIs/geo.php:
--------------------------------------------------------------------------------
1 | getCity($_GET['target']);
9 |
10 | // Getting the result
11 | echo "Result
12 | \n";
13 | if (!empty($results) && is_array($results)) {
14 | foreach ($results as $key => $value) {
15 | echo $key . ' : ' . $value . "
16 | \n";
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Prerequisites
2 | *.d
3 |
4 | # Object files
5 | *.o
6 | *.ko
7 | *.obj
8 | *.elf
9 |
10 | # Linker output
11 | *.ilk
12 | *.map
13 | *.exp
14 |
15 | # Precompiled Headers
16 | *.gch
17 | *.pch
18 |
19 | # Libraries
20 | *.lib
21 | *.a
22 | *.la
23 | *.lo
24 |
25 | # Shared objects (inc. Windows DLLs)
26 | *.dll
27 | *.so
28 | *.so.*
29 | *.dylib
30 |
31 | # Executables
32 | *.exe
33 | *.out
34 | *.app
35 | *.i*86
36 | *.x86_64
37 | *.hex
38 |
39 | # Debug files
40 | *.dSYM/
41 | *.su
42 | *.idb
43 | *.pdb
44 |
45 | # Kernel Module Compile Results
46 | *.mod*
47 | *.cmd
48 | .tmp_versions/
49 | modules.order
50 | Module.symvers
51 | Mkfile.old
52 | dkms.conf
53 |
--------------------------------------------------------------------------------
/APIs/nmap.php:
--------------------------------------------------------------------------------
1 | apiKey = $apiKey;
14 | }
15 |
16 | public function getCountry($ip)
17 | {
18 | $response = @file_get_contents('http://api.ipinfodb.com/v3/ip-country?key=' . $this->apiKey . '&ip=' . $ip . '&format=json');
19 |
20 | if (($json = json_decode($response, true)) === null) {
21 | $json['statusCode'] = 'ERROR';
22 |
23 | return false;
24 | }
25 |
26 | $json['statusCode'] = 'OK';
27 |
28 | return $json;
29 | }
30 |
31 | public function getCity($ip)
32 | {
33 | $response = @file_get_contents('http://api.ipinfodb.com/v3/ip-city?key=' . $this->apiKey . '&ip=' . $ip . '&format=json');
34 |
35 | if (($json = json_decode($response, true)) === null) {
36 | $json['statusCode'] = 'ERROR';
37 |
38 | return false;
39 | }
40 |
41 | $json['statusCode'] = 'OK';
42 |
43 | return $json;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/help.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Discord.Commands;
7 | using System.Net.NetworkInformation;
8 | using Discord;
9 |
10 | namespace ConsoleApp1.Modules
11 | {
12 | public class HELP : ModuleBase
13 | {
14 | [Command("help")]
15 | public async Task help([Remainder]string Input = "Empty")
16 | {
17 | EmbedBuilder Portscan = new EmbedBuilder();
18 | Portscan.WithAuthor("");
19 | Portscan.WithColor(40, 200, 150);
20 | Portscan.WithFooter(" - Brought to You by DevilsExploits ");
21 | Portscan.WithDescription("**PING** : d!ping 1.3.3.7 | Ping\n\n**DDOS** d!ddos 1.3.3.7 80 60 [HOME/VPN] | SLAMMER\n\n**STOP** : d!ddosstop 1.3.3.7 | STOP\n\n**PORTSCAN**: d!portscan 1.3.3.7 | Port Scanner\n\n\n");
22 |
23 | await Context.Channel.SendMessageAsync("", false, Portscan.Build());
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ConsoleApp1/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/Ping.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Discord.Commands;
7 | using System.Net.NetworkInformation;
8 |
9 | namespace ConsoleApp1.Modules
10 | {
11 | public class Ping2 : ModuleBase
12 | {
13 | [Command("ping")]
14 | public async Task PingAsync([Remainder]string Input = "Empty")
15 | {
16 | if (Input == "Empty")
17 | {
18 | await ReplyAsync("Invalid Usage: d!ping 1.3.3.7");
19 | }
20 | else
21 | {
22 | Ping ping = new Ping();
23 | PingReply reply = ping.Send(Input, 1000);
24 |
25 |
26 | if (reply.Status.ToString().Equals("Success"))
27 | {
28 | await ReplyAsync(Input+" Returned 5 Packets [HOST ONLINE]");
29 | }
30 | else {
31 | await ReplyAsync(Input+ " Returned 0 Packets [HOST OFFLINE]");
32 | }
33 | }
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/ConsoleApp1.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.421
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{C2E35568-7D77-4E9A-BCD6-38311961EC46}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C2E35568-7D77-4E9A-BCD6-38311961EC46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C2E35568-7D77-4E9A-BCD6-38311961EC46}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C2E35568-7D77-4E9A-BCD6-38311961EC46}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C2E35568-7D77-4E9A-BCD6-38311961EC46}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {1A98A588-AD61-4C00-8E8B-B32724323DB6}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/psn.cs:
--------------------------------------------------------------------------------
1 | using Discord;
2 | using Discord.Commands;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.IO;
6 | using System.Linq;
7 | using System.Net;
8 | using System.Text;
9 | using System.Threading.Tasks;
10 |
11 | namespace ConsoleApp1.Modules
12 | {
13 | public class PSNResolver : ModuleBase
14 | {
15 | [Command("psn")]
16 | public async Task PSN([Remainder]string psn = "Empty")
17 | {
18 | if (psn == "Empty")
19 | {
20 | await ReplyAsync("Invalid Usage: d!psn PSN");
21 | }
22 | else
23 | {
24 | string sURL;
25 | sURL = "http://127.0.0.1/psn.php?psn=" + psn;
26 | WebRequest wrGETURL;
27 | wrGETURL = WebRequest.Create(sURL);
28 | Stream objStream;
29 | objStream = wrGETURL.GetResponse().GetResponseStream();
30 | StreamReader objReader = new StreamReader(objStream);
31 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
32 | Stream dataStream = response.GetResponseStream();
33 | StreamReader reader = new StreamReader(dataStream);
34 | string responseFromServer = reader.ReadToEnd();
35 | await ReplyAsync("IP for "+psn+" : "+responseFromServer);
36 | }
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/geo.cs:
--------------------------------------------------------------------------------
1 | using Discord;
2 | using Discord.Commands;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.IO;
6 | using System.Linq;
7 | using System.Net;
8 | using System.Text;
9 | using System.Threading.Tasks;
10 |
11 | namespace ConsoleApp1.Modules
12 | {
13 | public class GEOLoc : ModuleBase
14 | {
15 | [Command("geo")]
16 | public async Task GeoLoc([Remainder]string IP = "Empty")
17 | {
18 | if (IP == "Empty")
19 | {
20 | await ReplyAsync("Invalid Usage: d!portscan 1.3.3.7");
21 | }
22 | else
23 | {
24 | string sURL;
25 | sURL = "http://127.0.0.1/geo.php?target=" + IP;
26 | WebRequest wrGETURL;
27 | wrGETURL = WebRequest.Create(sURL);
28 | Stream objStream;
29 | objStream = wrGETURL.GetResponse().GetResponseStream();
30 | StreamReader objReader = new StreamReader(objStream);
31 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
32 | Stream dataStream = response.GetResponseStream();
33 | StreamReader reader = new StreamReader(dataStream);
34 | string responseFromServer = reader.ReadToEnd();
35 | await ReplyAsync(responseFromServer);
36 | await ReplyAsync("\t - Brought to you by DevilsExploits");
37 | }
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/ConsoleApp1/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ConsoleApp1")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ConsoleApp1")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("c2e35568-7d77-4e9a-bcd6-38311961ec46")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/ports.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Discord.Commands;
7 | using System.Net.NetworkInformation;
8 | using Discord;
9 | using System.Net;
10 | using System.IO;
11 |
12 | namespace ConsoleApp1.Modules
13 | {
14 | public class Ports : ModuleBase
15 | {
16 | [Command("portscan")]
17 | public async Task Portscan([Remainder]string IP = "Empty")
18 | {
19 | if(IP == "Empty")
20 | {
21 | await ReplyAsync("Invalid Usage: d!portscan 1.3.3.7");
22 | }
23 | else {
24 | string sURL;
25 | sURL = "http://127.0.0.1/nmap.php?target=" + IP;
26 | WebRequest wrGETURL;
27 | wrGETURL = WebRequest.Create(sURL);
28 | Stream objStream;
29 | objStream = wrGETURL.GetResponse().GetResponseStream();
30 | StreamReader objReader = new StreamReader(objStream);
31 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
32 | Stream dataStream = response.GetResponseStream();
33 | StreamReader reader = new StreamReader(dataStream);
34 | string responseFromServer = reader.ReadToEnd();
35 | await ReplyAsync(responseFromServer);
36 | await ReplyAsync("- Brought to you by DevilsExploits");
37 | EmbedBuilder Portscan = new EmbedBuilder();
38 | }
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/APIs/api.php:
--------------------------------------------------------------------------------
1 |
128 |
--------------------------------------------------------------------------------
/ConsoleApp1/Program.cs:
--------------------------------------------------------------------------------
1 | using Discord;
2 | using Discord.Commands;
3 | using Discord.WebSocket;
4 | using Microsoft.Extensions.DependencyInjection;
5 | using System;
6 | using System.Reflection;
7 | using System.Threading.Tasks;
8 |
9 | namespace ConsoleApp1
10 | {
11 | class Program
12 | {
13 | static void Main(string[] args) => new Program().RunBotAsync().GetAwaiter().GetResult();
14 | private DiscordSocketClient _client;
15 | private CommandService _commands;
16 | private IServiceProvider _services;
17 | public async Task RunBotAsync()
18 | {
19 | _client = new DiscordSocketClient();
20 | _commands = new CommandService();
21 |
22 | _services = new ServiceCollection()
23 | .AddSingleton(_client)
24 | .AddSingleton(_commands)
25 | .BuildServiceProvider();
26 | string botToken = "MzIyNzY4ODE4MDkzMDMxNDI0.D13dQQ.EoBRnErB8XW5XkOBXKcsGEOaGsw";
27 |
28 | //event subscriptions
29 | _client.Log += Log;
30 |
31 | await _client.LoginAsync(Discord.TokenType.Bot, botToken);
32 |
33 | await RegisterCommandsAsync();
34 |
35 | await _client.LoginAsync(Discord.TokenType.Bot, botToken);
36 |
37 | await _client.SetGameAsync("d!help | By @DevilsExploits0970", null, ActivityType.Playing);
38 |
39 | await _client.StartAsync();
40 |
41 | await Task.Delay(-1);
42 | }
43 |
44 |
45 | private Task Log(LogMessage arg)
46 | {
47 | Console.WriteLine(arg);
48 |
49 | return Task.CompletedTask;
50 | }
51 |
52 | public async Task RegisterCommandsAsync()
53 | {
54 | _client.MessageReceived += HandleCommandAsync;
55 |
56 | await _commands.AddModulesAsync(Assembly.GetEntryAssembly(), _services);
57 | }
58 |
59 | public async Task HandleCommandAsync(SocketMessage arg)
60 | {
61 | var message = arg as SocketUserMessage;
62 |
63 | if (message is null || message.Author.IsBot) return;
64 |
65 | int argPos = 0;
66 |
67 | if (message.HasStringPrefix("d!", ref argPos) || message.HasMentionPrefix(_client.CurrentUser, ref argPos))
68 | {
69 | var context = new SocketCommandContext(_client, message);
70 |
71 | var result = await _commands.ExecuteAsync(context, argPos, _services);
72 |
73 | if (!result.IsSuccess)
74 | {
75 | Console.WriteLine(result.ErrorReason);
76 | }
77 | }
78 | }
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
2 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
3 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
4 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Commands.dll
5 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Core.dll
6 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Rest.dll
7 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Webhook.dll
8 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.WebSocket.dll
9 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.dll
10 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Microsoft.Extensions.DependencyInjection.dll
11 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Microsoft.Win32.Primitives.dll
12 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Newtonsoft.Json.dll
13 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.AppContext.dll
14 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Collections.Immutable.dll
15 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Console.dll
16 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Diagnostics.DiagnosticSource.dll
17 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Globalization.Calendars.dll
18 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Interactive.Async.dll
19 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.IO.Compression.dll
20 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.IO.Compression.ZipFile.dll
21 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.IO.FileSystem.dll
22 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.IO.FileSystem.Primitives.dll
23 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Net.Http.dll
24 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Net.Sockets.dll
25 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
26 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Security.Cryptography.Algorithms.dll
27 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Security.Cryptography.Encoding.dll
28 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Security.Cryptography.Primitives.dll
29 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Security.Cryptography.X509Certificates.dll
30 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Xml.ReaderWriter.dll
31 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Commands.xml
32 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Core.xml
33 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Rest.xml
34 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.Webhook.xml
35 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Discord.Net.WebSocket.xml
36 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Microsoft.Extensions.DependencyInjection.xml
37 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.xml
38 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\Newtonsoft.Json.xml
39 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Collections.Immutable.xml
40 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Diagnostics.DiagnosticSource.xml
41 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\System.Interactive.Async.xml
42 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csprojAssemblyReference.cache
43 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
44 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CopyComplete
45 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.exe
46 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
47 |
--------------------------------------------------------------------------------
/ConsoleApp1/obj/Release/ConsoleApp1.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\ConsoleApp1.exe.config
2 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\ConsoleApp1.exe
3 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\ConsoleApp1.pdb
4 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Commands.dll
5 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Core.dll
6 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Rest.dll
7 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Webhook.dll
8 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.WebSocket.dll
9 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Microsoft.Extensions.DependencyInjection.Abstractions.dll
10 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Microsoft.Extensions.DependencyInjection.dll
11 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Microsoft.Win32.Primitives.dll
12 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Newtonsoft.Json.dll
13 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.AppContext.dll
14 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Collections.Immutable.dll
15 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Console.dll
16 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Diagnostics.DiagnosticSource.dll
17 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Globalization.Calendars.dll
18 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Interactive.Async.dll
19 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.IO.Compression.dll
20 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.IO.Compression.ZipFile.dll
21 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.IO.FileSystem.dll
22 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.IO.FileSystem.Primitives.dll
23 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Net.Http.dll
24 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Net.Sockets.dll
25 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Runtime.InteropServices.RuntimeInformation.dll
26 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Security.Cryptography.Algorithms.dll
27 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Security.Cryptography.Encoding.dll
28 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Security.Cryptography.Primitives.dll
29 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Security.Cryptography.X509Certificates.dll
30 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Xml.ReaderWriter.dll
31 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Commands.xml
32 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Core.xml
33 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Rest.xml
34 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.Webhook.xml
35 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Discord.Net.WebSocket.xml
36 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Microsoft.Extensions.DependencyInjection.xml
37 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Microsoft.Extensions.DependencyInjection.Abstractions.xml
38 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\Newtonsoft.Json.xml
39 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Collections.Immutable.xml
40 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Diagnostics.DiagnosticSource.xml
41 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\bin\Release\System.Interactive.Async.xml
42 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Release\ConsoleApp1.csproj.CoreCompileInputs.cache
43 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Release\ConsoleApp1.csproj.CopyComplete
44 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Release\ConsoleApp1.exe
45 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Release\ConsoleApp1.pdb
46 | C:\Users\spano\source\repos\ConsoleApp1\ConsoleApp1\obj\Release\ConsoleApp1.csprojAssemblyReference.cache
47 |
--------------------------------------------------------------------------------
/ConsoleApp1/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/ConsoleApp1/Modules/ddos.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Discord.Commands;
3 | using System.Net;
4 | using System.IO;
5 | using System;
6 |
7 | namespace ConsoleApp1.Modules
8 | {
9 | public class ddos : ModuleBase
10 | {
11 | [Command("ddos")]
12 | public async Task DDOSAsync(string IP = "Empty",string PORT = "Empty", double TIME = 0, string method = "Empty")
13 | {
14 |
15 | if (IP == "Empty" || TIME == 0 || PORT == "Empty" || method == "Empty")
16 | {
17 | await ReplyAsync("Invalid Usage: d!ddos 1.3.3.7 80 60 [VPN/HOME]");
18 | }
19 | else
20 | {
21 | if (TIME < 20001)
22 | {
23 | string sURL;
24 | string username = Context.Guild.GetUser(Context.User.Id).Username;
25 | sURL = "http://127.0.0.1/api.php?target=" + IP + "&time=" + TIME + "&port=" + PORT + "&method="+method+"&username=" + username + "&action=ON";
26 | WebRequest wrGETURL;
27 | wrGETURL = WebRequest.Create(sURL);
28 | Stream objStream;
29 | objStream = wrGETURL.GetResponse().GetResponseStream();
30 | StreamReader objReader = new StreamReader(objStream);
31 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
32 | Stream dataStream = response.GetResponseStream();
33 | StreamReader reader = new StreamReader(dataStream);
34 | string responseFromServer = reader.ReadToEnd();
35 | await ReplyAsync(responseFromServer);
36 | Console.Write("Attack sent to " + IP+"\n");
37 |
38 | }
39 | if (TIME > 20001)
40 | {
41 | await ReplyAsync("Remember the Max Time Limit is 20,000!.\nYou used : "+TIME);
42 | }
43 |
44 |
45 | }
46 |
47 | }
48 |
49 | [Command("running")]
50 | public async Task runningAsync(string target = "Empty")
51 | {
52 | if (target == "Empty")
53 | {
54 | await ReplyAsync("Invalid Usage: d!running Name");
55 | }
56 | else
57 | {
58 | string sURL;
59 | sURL = "http://127.0.0.1/attacks.php?target=" + target;
60 | WebRequest wrGETURL;
61 | wrGETURL = WebRequest.Create(sURL);
62 | Stream objStream;
63 | objStream = wrGETURL.GetResponse().GetResponseStream();
64 | StreamReader objReader = new StreamReader(objStream);
65 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
66 | Stream dataStream = response.GetResponseStream();
67 | StreamReader reader = new StreamReader(dataStream);
68 | string responseFromServer = reader.ReadToEnd();
69 | await ReplyAsync(target+" Attacks running : "+responseFromServer);
70 | }
71 | }
72 |
73 | [Command("ddosstop")]
74 | public async Task PingAsync2([Remainder]string IP = "Empty")
75 | {
76 | if (IP == "Empty")
77 | {
78 | await ReplyAsync("Invalid Usage: d!ddosstop 1.3.3.7");
79 | }
80 | else
81 | {
82 | string sURL;
83 | sURL = "http://127.0.0.1/api.php?username=" + IP+"&action=OFF";
84 | WebRequest wrGETURL;
85 | wrGETURL = WebRequest.Create(sURL);
86 | Stream objStream;
87 | objStream = wrGETURL.GetResponse().GetResponseStream();
88 | StreamReader objReader = new StreamReader(objStream);
89 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
90 | Stream dataStream = response.GetResponseStream();
91 | StreamReader reader = new StreamReader(dataStream);
92 | string responseFromServer = reader.ReadToEnd();
93 | await ReplyAsync(responseFromServer +" Attacks Running");
94 | }
95 | }
96 |
97 | [Command("killall")]
98 | public async Task KillAsync()
99 | {
100 | string sURL;
101 | sURL = "http://127.0.0.1/api.php?&action=SAVE";
102 | WebRequest wrGETURL;
103 | wrGETURL = WebRequest.Create(sURL);
104 | Stream objStream;
105 | objStream = wrGETURL.GetResponse().GetResponseStream();
106 | StreamReader objReader = new StreamReader(objStream);
107 | HttpWebResponse response = (HttpWebResponse)wrGETURL.GetResponse();
108 | Stream dataStream = response.GetResponseStream();
109 | StreamReader reader = new StreamReader(dataStream);
110 | string responseFromServer = reader.ReadToEnd();
111 | await ReplyAsync(responseFromServer);
112 | }
113 |
114 | }
115 | }
116 |
--------------------------------------------------------------------------------
/ConsoleApp1/ConsoleApp1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {C2E35568-7D77-4E9A-BCD6-38311961EC46}
8 | Exe
9 | ConsoleApp1
10 | ConsoleApp1
11 | v4.6.1
12 | 512
13 | true
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 | ..\packages\Discord.Net.Commands.2.0.1\lib\net46\Discord.Net.Commands.dll
38 |
39 |
40 | ..\packages\Discord.Net.Core.2.0.1\lib\net46\Discord.Net.Core.dll
41 |
42 |
43 | ..\packages\Discord.Net.Rest.2.0.1\lib\net46\Discord.Net.Rest.dll
44 |
45 |
46 | ..\packages\Discord.Net.Webhook.2.0.1\lib\netstandard1.3\Discord.Net.Webhook.dll
47 |
48 |
49 | ..\packages\Discord.Net.WebSocket.2.0.1\lib\net46\Discord.Net.WebSocket.dll
50 |
51 |
52 | ..\packages\Microsoft.Extensions.DependencyInjection.1.1.1\lib\netstandard1.1\Microsoft.Extensions.DependencyInjection.dll
53 |
54 |
55 | ..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.1.1.1\lib\netstandard1.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
56 |
57 |
58 | ..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll
59 |
60 |
61 | ..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll
62 |
63 |
64 |
65 | ..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll
66 |
67 |
68 | ..\packages\System.Collections.Immutable.1.3.1\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll
69 |
70 |
71 |
72 | ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll
73 |
74 |
75 |
76 | ..\packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll
77 |
78 |
79 | ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll
80 |
81 |
82 | ..\packages\System.Interactive.Async.3.1.1\lib\net46\System.Interactive.Async.dll
83 |
84 |
85 | ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
86 |
87 |
88 |
89 | ..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll
90 |
91 |
92 | ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
93 |
94 |
95 | ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
96 |
97 |
98 | ..\packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll
99 |
100 |
101 | ..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll
102 |
103 |
104 |
105 | ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll
106 |
107 |
108 | ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net461\System.Security.Cryptography.Algorithms.dll
109 |
110 |
111 | ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
112 |
113 |
114 | ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
115 |
116 |
117 | ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 | ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
--------------------------------------------------------------------------------