Вы находитесь на странице: 1из 5

1.

COMMAND PROMT Codes


Here are some of the codes in command promt to do the jobs simple, CMD or command.com = to open command prompt in the run command. EXIT = exit the command prompt PATH = displays the places that if will look for if not in the name first CLS = clears up everything on command prompt page TIME = displays time and you can change it if you want HELP = displays help, more commands DIR OR DIR /? = Shows a lot of information CD\PROGRA~1 ENTER THEN DIR = Programs installed (1) CD\ ENTER THEN DIR = shows installations of programs (DEL OR COPY OR DIR) *.* C:\TARGET = you can either delete, copy or dir a program NET = you get options to use it SHUTDOWN ?LETTER OR SHUTDOWN/? = you can shutdown Your computer or another computer NETSTAT = view the stats of the computers one feature is to get people?s I.P. for more type netstat/? FSUTIL AND FSUTIL FSINFO = shows you things like list of all drives BASIC OF CMD PART 2 ERASE C:\PROGRAM FILES = erases all program files or leave just the c delete everything NBTSTAT = GETTING INFORMATION ON YOUR COMPUTER AND OTHERS TREE = displays all files on program files and desktop good for seeing if you have any keyloggers TRACERT (IP) = to see if the I.P. exist NET USE C: \\PCNAME\C$ /USER: PCNAME\ADMINISTRATOR = to sign in as an administrator that?s not signed in NSLOOKUP SET TYPE=MX EXP:HOTMAIL.COM = getting ips from web sites /WHOIS (SCREENAME) = only on a chat room, to find information a that person which owns the screename an I.P. For use in command prompt for path chanching DISKPART = shows you stuff like the computer name and takes you to disk part option CD\PROGRA~1 ENTER THEN DIR = Programs installed (2) CD \WINDOWS \SYSTEM = to look for stuff in this folders BASIC OF CMD PART3 TELNET : remote controlling NET START MESSENGER = start net send when it is disable For use in command prompt only on a network or hacking BOOTCFG = you can make changes to boot the computer , boot it mess it up

GPRESULT = shows all the information of a computer DRIVERQUERY = list of drives and their properties GETMAC = this gets the Mac (media access control) address NETSH = good for hacking a network configuration tool type netsh /? For more OPENFILES = only for windows professional allows an administrator to display or disconnect open files REG = THE CONSOLE REGISTRY TOOL SYSTEMINFO = info TASKLIST AND TASKKILL = LIKE PRESING CTRL+ALT+DELETE open corresponding programs: cmd - To run MS - DOS calc - To run calculator control - To open Control Panel defrag - To defrag the hard disk drives dialer - For dialing seups dosprompt - To get a minimized DOS window explorer - To open Windows Explorer net - For net information cum help ping - For bytes information and bandwidth of internet connection information regedit - To open Registry (.exe) telnet - Command runner if the system is conncected in a UNIX system network tuneup - For Task Scheduling wizard, i.e. Task Maintanance notepad - To run Notepad write - To run WordPad scanregw - To scan the Registry and to backup it progman - To maintain, run and view the files in all drives directcc - To join your computer in cable connection with other computers scandskw - To open Scandisk to scan the hard drives winfile - Windows File Manager taskman - To manage current running open programs or files. Nice replacement for default Windows taskbar msconfig - To maintain the configuration of computer. winrep - To run Windows Report Tool winver - To know the version of Windows packager - Insert objects in documents, presentations or worksheets winfile - Another Windows Explorer Code: Code:
nslookup net view net use net user ping tracert arp route nbtstat netstat ipconfig

In case you don't know some of them, then just type the command on CMD and hit enter. A little help will show up in your screen. Read it and understand what the command does. 1) ping : This command will allow you to know if the host you pinging is alive, which means if it is up at the time of executing the "ping" command.
ping x.x.x.x (x is the IP address)

ping www.whatever.com (www.whatever.com is the website you want to ping, but you don't know the IP)

OBS: Keep in mind that if the host you pinging is blocking ICMP packets, then the result will be host down. 2) nslookup : This command has many functionalities. One is for resolving DNS into IP. Lets say you know the website URL but you don't know its IP(and you want to find out). nslookup www.whatever.com (www.whatever.com is the website you want to find out the IP) Now, another really nice function of nslookup is to find out IP of specific Mail Severs.
nslookup (enter) set type=mx (enter) yahoo.com

This command will give you the mail server IP of yahoo.com. You can use whatever server you want and if it is listed on DNS, then you get the IP. Simple, isn't it? OK, now why would you want to have an IP of a mail server? To send spoofed mail to your friends or even for SE. In case you looking for "How to spoof email", then look for my "How to spoof email tutorial" http://www.infowar.com/forums/showth...&threadid=2360 3) tracert : This command will give you the hops that a packet will travel to reach its final destination. OBS: This command is good to know the route a packet takes before it goes to the target box.
tracert x.x.x.x (x is the IP address) tracert www.whatever.com (www.whatever.com is the website you don't know the IP)

4) arp : This command will show you the arp table. This is good to know if someone is doing arp poisoning in your LAN.
arp -a

5) route : This command will show you the routing table, gateway, interface and metric.
route print

6) ipconfig : This command will show tons of very helpful things. Your IP, gateway, dns in use.
ipconfig

ipconfig /all

this command will give all that info but for all networks you might have it. Also, in case you have a dynamic IP and want to change it, then type...
ipconfig /release (this will release your IP) ipconfig /renew (this will renew your iP)

OBS: Keep in mind that those commands will change your IP, but the new IP will still be tighed up to you. So don't do anything stupid. 7) netstat : This command will show you connection to your box.
netstat netstat -a (this will show you all the listening ports and connection with DNS names) netstat -n (this will show you all the open connection with IP addresses) netstat -an (this will combined both of the above)

8)nbtstat : This command will show you the netbios name of the target box.
nbtstat -A x.x.x.x (x is the IP address) nbtstat -a computername

net view x.x.x.x or computername (will list the available sharing folders on the target box)
net use \ipaddressipc$ "" /user:administrator

(this command will allow you to connect to the target box as administrator) Now if you want to connect to the target box and browse the entire C drive, then use this command:
net use K: \computernameC$

(this will create a virtual drive on your "my computer" folder) OBS: Keep in mind that this will only works if the target box doesn't have an administrator password set. And least but not last, the "help" command.
whatevercommand /help whatevercommand /?

This command will help you to understand what it does and all the switchs available for each command. Very useful if you know the command, but forgot the right switch.

Вам также может понравиться