-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathwarning.txt
More file actions
54 lines (51 loc) · 1.6 KB
/
warning.txt
File metadata and controls
54 lines (51 loc) · 1.6 KB
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
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Virus_Destructive
{
public partial class Virus : Form
{
public Virus()
{
InitializeComponent();
this.TransparencyKey = this.BackColor;
TopMost = true;
}
private void Virus_Load(object sender, EventArgs e)
{
if (MessageBox.Show("Are you sure you want to run this program? This is malicious software. Click Yes to continue", "WARNING", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == DialogResult.No)
{
this.Close();
Application.Exit();
}
else
{
Last_Warning();
}
}
public void Last_Warning()
{
if (MessageBox.Show("THIS IS THE LAST WARNING!!! IF YOU RUN THIS PROGRAM, YOUR COMPUTER GET A LOT OF DAMAGE!!!", "WARNING", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == DialogResult.No)
{
this.Close();
Application.Exit();
}
else
{
go_to_payload();
}
}
public void go_to_payload()
{
this.Hide();
var NewForm = new Virus_payload(); //lunch virus
NewForm.ShowDialog();
this.Close();
}
}
}