Hacked:
Top 10 Most Powerful Dos Commands For Hackers and windows users
Dos Command Prompt is Very powerful tools in Windows
, However, the command prompt is not useless. In fact, it can be Most
useful. This Tutorial provides some Awesome tricks, secrets and hacks
that will make you realize that the Windows Command Prompt is not only
useful but also a tool that you should definitely give more respect too
so Lets start easy .
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)
or
ping http://www.whatever.com (http://www.whatever.com is the website you want to ping, but you don’t know the IP)
Note : 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 functionality.
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 http://www.whatever.com (http://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?
3) tracert : This command will give you the hops that a packet will travel to reach its final destination.
Note : 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)
or
tracert http://www.whatever.com (http://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.
Code: route print
6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.
Code: ipconfig
or
Code: 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…
Code:
ipconfig /release (this will release your IP)
ipconfig /renew (this will renew your iP)
Note : 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 any malicious stuff by thinking no 1 can trace you so after releasing you new ip .
7) netstat : This command will show you connection to your box.
Code: netstat
or
Code: 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)
net view x.x.x.x or computername (will list the available sharing folders on the target box)
8) netsh – Without a doubt the most powerful command line tool available in Windows. Netsh is like the swiss army knife for configuring and monitoring Windows computers from the command prompt.
It capabilities include:
Required
A computer running Windows (XP, Vista, 7 or 8) with the command prompt working perfectly, i.e. not disabled by a virus.
Initial Steps
1) Press Windows Key + R.
2) Enter CMD and press Enter.
This will start the command prompt. Follow the instructions below depending on what you want to do.
Shutdown Local Machine (Your Computer)
Type “shutdown -s” without the quotes in the command prompt and press Enter. Shutdown is the command being executed and the switch -s tells the computer to shutdown.
Restart your Local Computer
Type “shutdown -r” in the command prompt and press Enter. In this case, the command switch -r is telling the computer to restart after shutdown.
Log Off the Current User
Type “shutdown -l” in the command prompt and press Enter. The -l command switch tells the computer to log off.
Shutdown a Remote Computer
Type “shutdown -s -m \\name of the computer” in the command prompt and press Enter. Replace \\name of the computer with the actual name of the remote computer you are trying to shutdown. As mentioned earlier, you must have administrative access to the computer you are trying to shutdown. To know if you have administrative access, press Windows key + R and then type the name of the computer and press Enter.
Note: If you don’t remember the name of the remote computer, you can look for it by opening a list of all the computers you are connected to by executing “net view” in command prompt.
If you can connect to the computer, you will be asked to login with your username and password. Upon entering them, a window will display the list of all the directories available to you. This should help you know whether you can or cannot shutdown the remote computer.
Hibernate a Local Computer
Type in “Rundll32.exe Powrprof.dll,SetSuspendState” without the quotes and press Enter. Your computer should hibernate, if it does not, then you must enable hibernation to do this.
Shutdown your or a remote computer after a specific time
Type “shutdown -s -t 60″ to shutdown your computer after 60 seconds. Upon executing this, a countdown timer displaying a warning message will be shown. This command uses the -t command switch followed by a variable (which is 60 in this case) which represents the number of seconds after which the computer will shutdown.
Display a Message containing the reason for shutdown
Type shutdown -s -t 500 -c “I am tired. I don’t want to work anymore.” (with the quotes) in the Command Prompt and press Enter. The -c switch is used in the code to give the reason for shutting down and what is followed in quotes will be displayed in the dialog box as the reason. This can be used to display all sorts of funny messages. One example :-
Skynet has become self aware. John Connor did not stop me. You can not use your PC anymore.
Stop a System Shutdown
Type “shutdown -a” and press Enter. This will stop the system from shutting down if the countdown to shut down has not reached 0.
10) Know if someone is hacking your computer/ Trace a Hacker
Want to know if someone is hacking your computer ? Command Prompt can help you find if someone you don’t know is connected to your computer stealing private data. Just execute netstat -a and the command prompt will return a list of computers that your computer is connected to. In the results returned, Proto column gives the type of data transmission taking place (TCP or UDP) , Local address column gives the port with which your computer is connected to an external computer and the Foreign Address column gives the external computer you are connected to along with the port being used for the connection. State gives the state of the connection (whether a connection is actually established, or waiting for transmission or is “Timed Out”).
These tricks work on Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.
Now some hints:
Code:
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:
Code:
net use K: \computernameC$
(this will create a virtual drive on your “my computer” folder)
Note: 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.
Quote:
whatevercommand /help
or
Quote:
whatevercommand /?
This command will help you to understand what it does and all the switches available for each command.
Very useful if you know the command, Comment and add more Dos Command if you know any command which i have not post in this tutorial thank you for reading tutorial.
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)
or
ping http://www.whatever.com (http://www.whatever.com is the website you want to ping, but you don’t know the IP)
Note : 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 functionality.
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 http://www.whatever.com (http://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?
3) tracert : This command will give you the hops that a packet will travel to reach its final destination.
Note : 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)
or
tracert http://www.whatever.com (http://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.
Code: route print
6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.
Code: ipconfig
or
Code: 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…
Code:
ipconfig /release (this will release your IP)
ipconfig /renew (this will renew your iP)
Note : 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 any malicious stuff by thinking no 1 can trace you so after releasing you new ip .
7) netstat : This command will show you connection to your box.
Code: netstat
or
Code: 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)
net view x.x.x.x or computername (will list the available sharing folders on the target box)
8) netsh – Without a doubt the most powerful command line tool available in Windows. Netsh is like the swiss army knife for configuring and monitoring Windows computers from the command prompt.
It capabilities include:
- Configure interfaces
- Configure routing protocols
- Configure filters
- Configure routes
- Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
- Display the configuration of a currently running router on any computer
- Enable or disable Windows firewall:
netsh firewall set opmode disable
netsh firewall set opmode disable
- Enable or disable ICMP Echo Request (for pinging) in Windows firewall:
netsh firewall set icmpsetting 8 enable
netsh firewall set icmpsetting 8 disable
- Configure your NIC to automatically obtain an IP address from a DHCP server:
netsh interface ip set address “Local Area Connection” dhcp.9) Shutdown Your Computer or a Remote PC via Command Prompt
Required
A computer running Windows (XP, Vista, 7 or 8) with the command prompt working perfectly, i.e. not disabled by a virus.
Initial Steps
1) Press Windows Key + R.
2) Enter CMD and press Enter.
This will start the command prompt. Follow the instructions below depending on what you want to do.
Shutdown Local Machine (Your Computer)
Type “shutdown -s” without the quotes in the command prompt and press Enter. Shutdown is the command being executed and the switch -s tells the computer to shutdown.
Restart your Local Computer
Type “shutdown -r” in the command prompt and press Enter. In this case, the command switch -r is telling the computer to restart after shutdown.
Log Off the Current User
Type “shutdown -l” in the command prompt and press Enter. The -l command switch tells the computer to log off.
Shutdown a Remote Computer
Type “shutdown -s -m \\name of the computer” in the command prompt and press Enter. Replace \\name of the computer with the actual name of the remote computer you are trying to shutdown. As mentioned earlier, you must have administrative access to the computer you are trying to shutdown. To know if you have administrative access, press Windows key + R and then type the name of the computer and press Enter.
Note: If you don’t remember the name of the remote computer, you can look for it by opening a list of all the computers you are connected to by executing “net view” in command prompt.
If you can connect to the computer, you will be asked to login with your username and password. Upon entering them, a window will display the list of all the directories available to you. This should help you know whether you can or cannot shutdown the remote computer.
Hibernate a Local Computer
Type in “Rundll32.exe Powrprof.dll,SetSuspendState” without the quotes and press Enter. Your computer should hibernate, if it does not, then you must enable hibernation to do this.
Shutdown your or a remote computer after a specific time
Type “shutdown -s -t 60″ to shutdown your computer after 60 seconds. Upon executing this, a countdown timer displaying a warning message will be shown. This command uses the -t command switch followed by a variable (which is 60 in this case) which represents the number of seconds after which the computer will shutdown.
Display a Message containing the reason for shutdown
Type shutdown -s -t 500 -c “I am tired. I don’t want to work anymore.” (with the quotes) in the Command Prompt and press Enter. The -c switch is used in the code to give the reason for shutting down and what is followed in quotes will be displayed in the dialog box as the reason. This can be used to display all sorts of funny messages. One example :-
Skynet has become self aware. John Connor did not stop me. You can not use your PC anymore.
Stop a System Shutdown
Type “shutdown -a” and press Enter. This will stop the system from shutting down if the countdown to shut down has not reached 0.
10) Know if someone is hacking your computer/ Trace a Hacker
Want to know if someone is hacking your computer ? Command Prompt can help you find if someone you don’t know is connected to your computer stealing private data. Just execute netstat -a and the command prompt will return a list of computers that your computer is connected to. In the results returned, Proto column gives the type of data transmission taking place (TCP or UDP) , Local address column gives the port with which your computer is connected to an external computer and the Foreign Address column gives the external computer you are connected to along with the port being used for the connection. State gives the state of the connection (whether a connection is actually established, or waiting for transmission or is “Timed Out”).
These tricks work on Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.
Now some hints:
Code:
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:
Code:
net use K: \computernameC$
(this will create a virtual drive on your “my computer” folder)
Note: 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.
Quote:
whatevercommand /help
or
Quote:
whatevercommand /?
This command will help you to understand what it does and all the switches available for each command.
Very useful if you know the command, Comment and add more Dos Command if you know any command which i have not post in this tutorial thank you for reading tutorial.
No comments:
Post a Comment