Rabu, 10 Februari 2010

Power Behind Command Prompt (CMD)

Command Prompt is a tool that available on all version of Windows based system. This is a small but powerful text-based application that let us running so many task in our system, Such as : copying and paste it, making directory (folder), show windows version, prints, and many other task that very useful when we try to hack a system. One great hacker ever told his experience when he was follow “Capture the flag Game contest” (Hacking Competition) in Bali. when he almost finish and winning the



competition, he facing the most unpredictable situation in that competition. Do you know what?... yes, all of the participant must to hack into committee system using windows command prompt. Because of it he just won in the second position in that competition. his rival that won in first position is a master in Command Prompt and have no problem to finish the task.

So?.. why we must to learn this old-fashioned application. It’s not cool… right?. Oh.. dear, don’t be stupid, you must to know that all task we do in text-based application is faster than graphical user interface. That’s why many network administrator prepare to use this such application than using full graphic ones. when using GUI (Graphical User Interface) Application, we don’t know what process that happen.

Command Prompt (CMD) divide to two major class. The first is “internal command” and the second is “external command”. internal command is all command that come with that application and no-need other tool to use (ex: copy, rmdir, del, rename). And external command is all command that need other tool to working properly (ex: format, ipconfig, defrag, hostname).

Ok, that’s all we need to know for now. Let’s practice.. to start using Command Prompt we can go to “start menu => all programs => accessories => Command Prompt”. Or you can go to “Start Menu => Run” and fill the textfield with “cmd”. The new window will appear like this :

The command list is at the left side and the information about it is at the right side. Now, type one of that command and press enter. For example, I type “dir”. From information table we know that dir is used to “Displays a list of files and subdirectories in a directory”.


You see.. command prmpt now display all of the file or directory in “C:\Documents and Settings\The SON>”. Text “
” mean it is a folder. From that information we know this location have 7 file and 10 Directory (folder).
Now, open location “C:\Documents and Settings\The SON>” using windows explorer and compare it.

List of file and folder here is same with the one we got from command prompt.. right?..
Ok, back to command prompt and type “mkdir Daniel” then press enter. This command used to make a directory or folder in the location. Check it using command “dir” again. You see?, know we have a new directory by name “Daniel”. Or go to “C:\Documents and Settings\The SON” using windows explorer, you’ll found it. Now, how to delete the folder that we made?, just type “rmdir Daniel” and press enter, it will delete folder named Daniel. Just check it again with “dir” to see if folder named Daniel really deleted.

To know the syntax of the command you can type “dir /?”. from it we know that if we type “dir /A:d” the command only will show folder from “C:\Documents and Settings\The SON”. If we type “dir /a:h” the command prompt will show hidden file and folder. Just explore it yourself and you’ll find that using command prompt is interesting.

Just information, if we type “help” and press enter, it would not show you all of the command that you can use. Now, type “ipconfig” and press enter. It will show you the ip configuration of your computer. From “help” command we don’t see “ipconfig” at the list.

To make it easier to learn, this is the table of command prompt that usually used by me..

Conclusion :

There’s so many function in CMD that we can get if we explore it. Moreover it can use to making computer virus. The power of Command Prompt is depend on the user do.

I think this article is enough to you, just explore it yourself and become master in cmd. Close this article and try to turn off your computer now using “shutdown –s” in CMD windows. By the way, “Shutdown” command is able to turn off the computers in one network with you. In my college class I have ever made half of class shocked because I turn off their computer using cmd command. hehehehe….. so fun..
I will not let you know now. Maybe I will post it in my next article about Command Prompt power.
Next I will show you a few command that useful to hack into other computer system too.
Ok?.. Have a nice day… GBU


Life is not about finding yourself, but to make yourself…

Kecoak_cyber

3 komentar:

Suka dengan artikel diatas?, atau masih ada pertanyaan?, silahkan lampirkan komentar anda dibawah ini: