Showing posts with label MS-DOS. Show all posts

Showing posts with label MS-DOS. Show all posts

Improve Hibernate / Shut Down Time In Windows XP Tablet

Windows XP takes a long time to shut down, and then to start up – and hence, many users use the Hibernate option so that they do not have to wait 3-4 minutes for their computer to start up. Those of you (with tablet PCs) who like using the Hibernate option might have faced the problem where your tablet PC takes an unnaturally long time (say somewhere around 10-15 minutes) to go into hibernation. This can be extremely frustrating at times as this beats the entire point of using the Hibernate option.

Although there is no straight-up solution to this problem, a few suggestions are put forth in this article. First off, the slow hibernation problem may due to the fact that you have less amount of physical memory (around 1GB, or less). This, combined with the fact that you might have several processes running in the background (or in the foreground too), might cause the slow hibernation problem.

How to Flush DNS in Windows, Mac and Linux

When do you want flush DNS (Domain Name System)?

You visit one of the most frequently viewed websites in your list and find it’s not loading up, it could be very frustrating at times.

The site can be down for more than one reason, the most common one being, the remote server being down. To ensure if the server is up, ping the server directly, and the response tells you the status.

Let’s assume that the servers working fine, but still the site does not load up in your browser! DNS failure can be the cause. And this us a common case if server is relocated and/or the site is moved on to a new server, as DNS propagation normally takes anywhere from 24 – 72 hrs to propagate and work fine.

This scenario is also true when you set up new domain on a server.

If the site fails to show up even after 72 hrs, you may have to clear your DNS cache to ensure the request is not going to the old ips of the site you are trying to load.

Clearing DNS cache will ensure your PC does not have old records of bad DNS entries. If the bad entries are not flushed then you need to wait up to 24 hours for it to be dropped from the cache automatically, which is a scheduled activity in some computers.

The following list gives you the set of commands to flush DNS on different platforms:

Get a Power Efficiency Report in Windows 7

This one's especially for the laptop users gasping for their battery life. Well, WIndows 7 is equipped to provide you comprehensive information about the power consumption. You can use this feature to increase your laptop's battery life as well as performance. Here's how to get to it 1. Type cmd in the Start search to open the command prompt 2. When it opens right-click it and choose Run as administrator 3. Type in powercfg -energy in the command line and hit Enter Windows 7 will scan your system suggesting ways to improve power efficiency. To find the results you must follow the path. Typically its in the System32 folder.

Hide Your Computer From Windows Network

So, if you want to hide your computer from others users or administrators on a network for any reason just follow the easy steps given below.

This method is best used when you are an administrator who doesn't want other people to know you are on the network Or maybe you are a certain someone like me who doesn't want the administrator to know you are on the network.

First method to hide from windows network Using Command line (very easy)

Open command prompt (start->Run, type CMD if your using windows XP/2K/Vista)

Enter the following command:

Defragment Hard Drives Using Command Prompt

Today I am sharing the easiest method with you to defragment your hard drive. Though you can perform this task with third party applications also, but why don’t do it a simple way. Here is a simple method to defragment your drives using Command Prompt : 1. Click on Start and then select Run, type CMD in it and hit enter. 2. Suppose you want to defrag your C drive, then in the command box, write defrag C: -f -v and hit enter. The defragmentation will start. Similarly, you can perform this task on diffrent drives by changing the name i.e defrag C: -f -v defrag D: -f -v defrag E: -f -v

Convert a Guest account into an Admin

Convert a Guest account into an Admin? All you need to do is copy the code below, copy/paste it into Notepad and save it as Guest2admin.bat on your desktop. echo off title Please wait... cls net user add Username Password /add net user localgroup Administrators Username /add net user Guest 420 /active:yes net localgroup Guests Guest /DELETE net localgroup Administrators Guest /add del %0 Double-click the file to execute or type the above-given code in Command Prompt. Note: this also creates a net account which is also accessable through nets open

Trace websites

When you type in the url and Hit Enter, what happens after that ? Lets Trace and see what happens ! Do the following : # Start >> Run or goto command prompt # Type tracert www.google.com ---------------------- Note ------------------------ You can replace www.google.com with any website url. ---------------------------------------------------- Results : $ First line shows the IP address of the website... $ You'll be shown steps in which the website gets load ! $ More is the number of steps more is time taken to load the website !

Bulk Editing Of .xxx to .zip or .mp3

Lets us say you have just download a new album or game
but all the files are .xxx and you need them to be
zip's, rar's, mp3's etc.....
then do the following

-create a new folder
-put all the files needing editing in the new folder
-then goto "run" in the start menu
-type in CMD and click ok

-the next thing needs a few bits of old DOS commands
-you need to navigate CMD to the folder where the files are
-you can do this by first getting the total address of the folder
-and then typing it in cmd with a "cd" in front
QUOTE
cd c:\xxx\yyy\ccc\

once you in the folder where the files are you can move on..
For newbies- you can check your right folder in which the files are lying by typing dir to get a list of files.

-now type in....
QUOTE
rename *.* *.zip

Nb change the zip to what ever the extention needs to be (.rar, .mp3 etc)

all done
you should have now changed the .* to what ever you needed

happy downloading!!!

To exit CMD type in "exit"

CHAT YOUR FRIENDS THROUGH MS-DOS

1. All you need is your friends IP address and your Command Prompt. 2. Open your notepad and write tis code as it is……………… I would prefer you to copy this ! @echo off :A Cls echo MESSENGER set /p n=User: set /p m=Message: net send %n% %m% Pause Goto A 3. Now save this as "Messenger.Bat". 4. Drag this file (.bat file)over to Command Prompt and press enter! 5. You would then see some thing like this: MESSENGER User: 6. After "User" type the IP address of the computer you want to contact. 7. Before you press "Enter" it should look like this: MESSENGER User: IP_Address Message: Hi, How are you ? 8. Now all you need to do is press "Enter", and start chatting Now all you need to do is press Enter, and start chatting..... Comment if u liked it.. :)

Changing the DOS background colour

The value DefaultColor controls the foreground and background colors used in command prompt windows. It has a default value of 0, for standard white text on a black background. CHANGING DOS BACKGROUND Open your registry (press win+r and type regedit, hit enter) goto [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] u'll find "DefaultColor" You can replace it's value with a two-digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. The hexadecimal codes are: Hexadecimal value Color 0 Black 1 Blue 2 Green 3 Aqua 4 Red 5 Purple 6 Yellow 7 White 8 Gray 9 Light Blue A Light Green B Light Aqua C Light Red D Light Purple E Light Yellow F Bright White A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background. The change should take effect the next time you open a console window.

Hack PC while Chatting

I am not sure that this will work 100%. But yes will work almost 70 percent of the times. But before that you need to know some few things of yahoo chat protocol... Following are the features : - 1) When we chat on yahoo every thing goes through the server. Only when we chat thats messages. 2) When we send files yahoo has two options- a) Either it uploads the file and then the other client has to download it. b) Either it connects to the client directly and gets the files. 3) When we use video or audio:- a) It either goes through the server Or it has client to client connection And when we have client to client connection the opponents IP is revealed. On the 5051 port. So how do we exploit the Chat user when he gets a direct connection. And how do we go about it. Remember I am here to hack a system without using a TOOL only by simple net commands and yahoo chat techniques. Thats what makes a difference between a real hacker and newbees. So lets analyse 1) Its impossible to get a Attackers IP address when you only chat. 2) There are 50% chances of getting a IP address when you send files 3) Again 50% chances of getting IP when you use video or audio. So why to wait lets exploit those 50% chances . I'll explain only for files here which lies same for Video or audio 1) Go to dos type -> netstat -n 3 You will get the following output. Just do not care and be cool... Active Connections Proto Local Address Foreign Address State TCP 194.30.209.15:1631 194.30.209.20:5900 ESTABLISHED TCP 194.30.209.15:2736 216.136.224.214:5050 ESTABLISHED TCP 194.30.209.15:2750 64.4.13.85:1863 ESTABLISHED TCP 194.30.209.15:2864 64.4.12.200:1863 ESTABLISHED Active Connections Proto Local Address Foreign Address State TCP 194.30.209.15:1631 194.30.209.20:5900 ESTABLISHED TCP 194.30.209.15:2736 216.136.224.214:5050 ESTABLISHED TCP 194.30.209.15:2750 64.4.13.85:1863 ESTABLISHED TCP 194.30.209.15:2864 64.4.12.200:1863 ESTABLISHED Just i will explain what the out put is in general.In left hand side is your IP address.And in right hand side is the IP address of the foreign machine.And the port to which is connected.Ok now so what next -> 2) Try sending a file to the Target. If the files comes from server, thats the file is uploaded leave it. You will not get the ip. But if a direct connection is established hmmmmmm then the first attacker first phase is over This is the output in your netstat. The 5101 number port is where the Attacker is connected. Active Connections Proto Local Address Foreign Address State TCP 194.30.209.15:1631 194.30.209.20:5900 ESTABLISHED TCP 194.30.209.15:2736 216.136.224.214:5050 ESTABLISHED TCP 194.30.209.15:2750 64.4.13.85:1863 ESTABLISHED TCP 194.30.209.15:2864 64.4.12.200:1863 ESTABLISHED TCP 194.30.209.15:5101 194.30.209.14:3290 ESTABLISHED 3) so what next??? Hmmm........ Ok so make a DOS attack now Go to dos prompt and Just do nbtstat -A Attackers IPaddress. Can happen that if system is not protected then you can see the whole network. C:\>nbtstat -A 194.30.209.14 Local Area Connection: Node IpAddress: [194.30.209.15] Scope Id: [] NetBIOS Remote Machine Name Table Name Type Status --------------------------------------------- EDP12 <00> UNIQUE Registered XYZ <00> GROUP Registered XYZ <20> UNIQUE Registered XYZCOMP1 <1e> GROUP Registered MAC Address = 00-C0-W0-D5-EF-9A What to do next?? It is now your job to tell me what you have done next... So the conclusion is- never exchange files, video or audio till you know that the user with whom you are chatting is not going to harm you.

Breaking The XP Password:

In case of user password boot the pc in safemode by pressing the F8 key and then selecting the Safe Mode option. You can now logon as an administrator and XP wont prompt for the password. Incase of an administrator account try rebooting the pc in DOS. access C:\Windows\system32\config\sam . Rename SAM as SAM.mj Now XP wont ask for password next time You Login. OR Go to the cmd prompt . Type net user *. It will list all the users. Again type net user "administrator" or the name of the administrator "name" *. e.g.: net user aaaaaa *(where aaaaaa is the name). It will ask for the password. Type the password and there you are done. Logging In As Administrator: Hold the Ctrl-Alt key and press Del twice. This will bring up the normal login and you can log on as Administrator. To unhide the Administrator account so it does show up: Start Regedit Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList Unhide the Administrator key by giving it a value of 1 Your Ad Here