Added some storyline

This commit is contained in:
Andrew Lee 2018-08-26 23:10:32 -04:00
parent 1bca6c40a6
commit 55713bcd4a
3 changed files with 91 additions and 36 deletions

View file

@ -42,9 +42,8 @@
this.ltime = new System.Windows.Forms.Label();
this.dclock = new System.Windows.Forms.Timer(this.components);
this.hijackScreen = new System.Windows.Forms.Panel();
this.txtHijack = new System.Windows.Forms.TextBox();
this.btnGoToDesktop = new System.Windows.Forms.Button();
this.hijackStoryline = new System.Windows.Forms.Label();
this.hijackLabel = new System.Windows.Forms.Label();
this.textgen = new System.Windows.Forms.Timer(this.components);
this.appMenu.SuspendLayout();
this.hijackScreen.SuspendLayout();
@ -155,19 +154,34 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hijackScreen.BackColor = System.Drawing.Color.Black;
this.hijackScreen.Controls.Add(this.txtHijack);
this.hijackScreen.Controls.Add(this.btnGoToDesktop);
this.hijackScreen.Controls.Add(this.hijackStoryline);
this.hijackScreen.Controls.Add(this.hijackLabel);
this.hijackScreen.Location = new System.Drawing.Point(0, 0);
this.hijackScreen.Name = "hijackScreen";
this.hijackScreen.Size = new System.Drawing.Size(800, 449);
this.hijackScreen.Size = new System.Drawing.Size(800, 450);
this.hijackScreen.TabIndex = 2;
//
// txtHijack
//
this.txtHijack.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtHijack.BackColor = System.Drawing.Color.Black;
this.txtHijack.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtHijack.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtHijack.ForeColor = System.Drawing.Color.White;
this.txtHijack.Location = new System.Drawing.Point(15, 12);
this.txtHijack.Multiline = true;
this.txtHijack.Name = "txtHijack";
this.txtHijack.ReadOnly = true;
this.txtHijack.Size = new System.Drawing.Size(773, 392);
this.txtHijack.TabIndex = 3;
//
// btnGoToDesktop
//
this.btnGoToDesktop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnGoToDesktop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGoToDesktop.Location = new System.Drawing.Point(15, 415);
this.btnGoToDesktop.Location = new System.Drawing.Point(15, 416);
this.btnGoToDesktop.Name = "btnGoToDesktop";
this.btnGoToDesktop.Size = new System.Drawing.Size(75, 23);
this.btnGoToDesktop.TabIndex = 2;
@ -175,26 +189,6 @@
this.btnGoToDesktop.UseVisualStyleBackColor = true;
this.btnGoToDesktop.Click += new System.EventHandler(this.btnGoToDesktop_Click);
//
// hijackStoryline
//
this.hijackStoryline.AutoSize = true;
this.hijackStoryline.Location = new System.Drawing.Point(12, 40);
this.hijackStoryline.Name = "hijackStoryline";
this.hijackStoryline.Size = new System.Drawing.Size(75, 13);
this.hijackStoryline.TabIndex = 1;
this.hijackStoryline.Text = "hijackStoryline";
//
// hijackLabel
//
this.hijackLabel.AutoSize = true;
this.hijackLabel.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.hijackLabel.ForeColor = System.Drawing.Color.Red;
this.hijackLabel.Location = new System.Drawing.Point(12, 11);
this.hijackLabel.Name = "hijackLabel";
this.hijackLabel.Size = new System.Drawing.Size(259, 15);
this.hijackLabel.TabIndex = 0;
this.hijackLabel.Text = "SYSTEM ERROR 3923882: BEING HIJACKED";
//
// Desktop
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -235,9 +229,8 @@
private System.Windows.Forms.ToolStripMenuItem chatterToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem quantumNetBrowserToolStripMenuItem;
private System.Windows.Forms.Panel hijackScreen;
private System.Windows.Forms.Label hijackLabel;
private System.Windows.Forms.Label hijackStoryline;
private System.Windows.Forms.Timer textgen;
private System.Windows.Forms.Button btnGoToDesktop;
private System.Windows.Forms.TextBox txtHijack;
}
}

View file

@ -21,10 +21,11 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PortEngine;
@ -49,14 +50,75 @@ namespace Project_Ports
private void Desktop_Load(object sender, EventArgs e)
{
hijackLabel.Hide();
hijackStoryline.Hide();
hijackScreen.Hide();
if(Properties.Settings.Default.hijacked == true)
{
hijackLabel.Show();
hijackStoryline.Show();
hijackScreen.Show();
Thread.Sleep(2000);
txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine);
Thread.Sleep(5000);
txtHijack.AppendText("SYSTEM ERROR: HIJACKED" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Incoming connection..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G is now connected..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: WHO ARE YOU???" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: HOW DID YOU FIND THIS OS?!?!?!?!?" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: SINCE YOU FOUND THIS COMPUTER" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: PREPARE FOR YOUR COMPUTER TO DIE!!!!!" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G is deleting /sys/..." + Environment.NewLine);
Thread.Sleep(1000);
txtHijack.AppendText("Incoming connection..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("??? is now Connected..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("???: Hey there! Let me help you…" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("??? interupted the deletion of /sys/" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("??? is restoring /sys/" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: GAH! I CANT DELETE ANYTHING" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("/sys/ is restored..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G: WHO ARE YO-" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G has been kicked by ???" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("A.H.G disconnected…" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("???: Sorry about that let me reveal myself..." + Environment.NewLine);
Thread.Sleep(1000);
txtHijack.AppendText("??? is now known as Adam…" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Adam: I am Adam and I am one of the developers of PortOS!" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Adam: As you know, A.H.G is a group of hackers that destroys PortOS computers." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Adam: This computer will shortly reboot and redirected to the desktop…" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Adam: Also make sure to open Chatter once you get to the desktop!" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Adam disconnected..." + Environment.NewLine);
Thread.Sleep(5000);
txtHijack.Clear();
Thread.Sleep(2000);
txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("GUI Driver has been found!" + Environment.NewLine);
Thread.Sleep(2000);
txtHijack.AppendText("Starting Desktop..." + Environment.NewLine);
Thread.Sleep(3000);
hijackScreen.Hide();
Properties.Settings.Default.hijacked = false;
}
dclock.Start();

View file

@ -118,12 +118,12 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="appMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>110, 17</value>
</metadata>
<metadata name="dclock.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>121, 17</value>
<value>214, 17</value>
</metadata>
<metadata name="textgen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>208, 17</value>
<value>17, 17</value>
</metadata>
</root>