GCHQ.msc | Auto Firewall | Partial Autohack.

Ping_Wing

Civil Gamers Expert
Feb 24, 2021
11
0
91
Here's a little script I created in a couple of hours.. It's not the best, but edit as you please...
Note, all libraries are included for flexibility... you can remove some of them to speed up compiling time

using Application;
using Array;
using Device;
using Encoding;
using Event;
using File;
using Player;
using String;
using Surface;
using Util;
using System;
using Console;
// Program BSOD admin issue : // GCHQ image: // This program is created by Ping Wing, open source for anyone
StringResult result = Application.RequestAdminPrivilege();
if(result.GetResult() == true){
Console.WriteLine("Admin Privileges granted.");
Console.WriteLine("This account is linked to STEAM_0:0:166554719");
Console.WriteLine("Redistribution is UNAUTHORISED");
//
}else{
// If the request was denied, the reason will be contained in the result's string.
string reason = result.GetString();
Console.WriteLine("Admin Privileges denied: "..reason);
Console.WriteLine("Please Remember:");
Console.WriteLine("This program is dependant on admin privileges");
Console.WriteLine("The program will not function without it.");
MNGuiFrame frame = Surface.CreateApplicationFrame();
MNGuiPanel pnl = frame.GetPanel();

// Creates an image and fills the screen.
MNGuiImage img = Surface.CreateImage(pnl);
img.DockFill();
img.SetUrl(" ");
Surface.Update();
Application.Exit();
}
// Seperates Between Admin & ID

Console.WriteLine("Please enter your GCHQ ID.");
string text = Console.ReadLine();
if(text == "PW101"){
Console.WriteLine("You inputted the correct ID.");
}else{
Console.WriteLine("You have put in the wrong ID");
Console.WriteLine("Without the correct ID, the program will not function.");
MNGuiFrame frame2 = Surface.CreateApplicationFrame();
MNGuiPanel pnl2 = frame2.GetPanel();

// Creates an image and fills the screen.
MNGuiImage img = Surface.CreateImage(pnl2);
img.DockFill();
img.SetUrl(" ");

// Update to add the new UI to the screen.
Surface.Update();

// Keep the program alive so the UI stays.
while(true){
System.Sleep(1);
System.Lock();
Application.Exit();
}
}
// Keep the program alive so the UI stays.


Console.WriteLine("GCHQ Firewall now being enabled...");
System.RunCommand("router settings admin_password 6saD01scr120Ks");
System.RunCommand("router login 6saD01scr120Ks");
System.RunCommand("router settings hide_terminals true");
System.RunCommand("router settings firewall_enabled true");
System.RunCommand("router firewall block MN_PROTOCOL_REMOTE false");
System.RunCommand("router firewall block MN_PROTOCOL_REMOTE_ATTEMPT false");
System.RunCommand("router firewall block MN_PROTOCOL_MESSAGE false");
System.RunCommand("router firewall block MN_PROTOCOL_MANAGER_SCAN false");
System.RunCommand("router firewall block MN_PROTOCOL_COMMAND false");
System.RunCommand("firewall enable");
System.RunCommand("firewall block MN_PROTOCOL_REMOTE false");
System.RunCommand("firewall block MN_PROTOCOL_REMOTE_ATTEMPT false");
System.RunCommand("firewall block MN_PROTOCOL_MESSAGE false");
System.RunCommand("firewall block MN_PROTOCOL_MANAGER_SCAN false");
System.RunCommand("firewall block MN_PROTOCOL_COMMAND false");
Application.CreateDesktopIcon(" ");
System.RunCommand("cls");
Console.WriteLine("GCHQ Firewall has been enabled");


System.Sleep(3); // Pauses the program for 1 second
System.RunCommand("cls");

// Seperation between FIREWALL and HACKING EXECUTION

Console.WriteLine("Would you like to use GCHQ HACK?");
Console.WriteLine("This is not fully automated. You must still getchar/cshift or remote connect");
Console.WriteLine("Yes/No");
Console.WriteLine("This is case sensitive");
Console.WriteLine("ONLY FOR HACKING PD AND DHCP!!!");


string text1 = Console.ReadLine();
if(text1 == "Yes"){
Console.WriteLine("Do you want to hack into DHCP or PD?");
}else{
Console.WriteLine("Thank you for using the program.");
Console.WriteLine("It shall now terminate");
Application.Exit();
}


Console.WriteLine("Type either DHCP or PD");
Console.WriteLine("THIS IS CASE SENSITIVE");
string text2 = Console.ReadLine();
if(text2 == "DHCP"){
Console.WriteLine("Hacking into DHCP... Please wait");
System.RunCommand("cd r/programs");
System.RunCommand("run hash_conceal.exe");
System.RunCommand("run bf_password.exe 8.8.8.8");
}else{
Console.WriteLine("Hacking into PD... Please wait.");
System.RunCommand("cd r/programs");
System.RunCommand("run hash_conceal.exe");
System.RunCommand("run bf_password.exe 175.132.87.59");
}
 

NeptuneColony

CG Super VIP
Donator
Jan 3, 2021
7
3
91
Hiya, this is a decent script but there are a couple things that I think you can improve on.
First is the fact you have all these verifications even though you are releasing the source code for the script but I think you are just doing that for the asthetic reason and just to make it look nice.

Second is the router password, because you have released the source you are relying on people to change the router password in the code, however to improve it you could try to add a randomly generated password which shouldn't be to difficult and this means that they will get a different password every time they use the program.

Finally, at the end you have a few auto hack features which are ok however you state that the inputs are case sensitive however you can fix that by using String.Lower();. If you take the Console.ReadLine(); string and make it lowercase you don't have to have it be lowercase.

Example:

Code:
using String;
using Console;

string input = Console.ReadLine();

if(String.Lower(input) == "yes"){
    Console.WriteLine("Input: "..input);
}