Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
utilman
Accessibility Options or
control access.cpl
Programs and
Features
appwiz.cpl
(Add New Programs)
control appwiz.cpl,,1
(Add Remove Windows control appwiz.cpl,,2
Components) control appwiz.cpl,,3
(Set Program Access
& Defaults )
Advanced User
Accounts Control netplwiz
Panel
Authorization
azman.msc
Manager
Bluetooth Transfer
fsquirt
Wizard
Calculator calc
dcomcnfg
Component Services or
comexp.msc
CompMgmtLauncher.exe
Computer
or
Management compmgmt.msc
Credential
(passwords) Backup credwiz
and Restore Wizard
Prevention
Digitizer Calibration
Tool (Tablets/Touch tabcal
screens)
Direct X
dxdiag
Troubleshooter
dfrgui
Disk Defragmenter defrag
Disk Partition
diskpart
Manager
Display Color
dccw
Calibration
Display Properties
(Themes, Desktop, control desktop
Screensaver)
Display Properties
(Resolution, desk.cpl
Orientation)
Display Properties
control color
(Color & Appearance)
Downloads (open
downloads
'Downloads' folder)
Encrypting File
rekeywiz
System Wizard (EFS)
File Signature
Verification Tool sigverif
(Device drivers)
IP Configuration ipconfig
iSCSI Initiator
iscsicpl
configuration
Language Pack
lpksetup
Installer
Microsoft Malicious
Software Removal mrt
Tool
Microsoft
mmc
Management Console
Access (Microsoft
msaccess
Office)
Excel (Microsoft
Excel
Office)
Powerpoint (Microsoft
powerpnt
Office)
Description Run Command
Word (Microsoft
winword
Office)
Microsoft Support
msdt
Diagnostic Tool
control mouse
Mouse Properties or
main.cpl
control netconnections
Network Connections or
ncpa.cpl
Projector:
Connect to Network netproj
Projector
Switch projector displayswitch
display
Notepad notepad
ODBC configuration -
Install/configure odbcconf
MDAC drivers
Password - Create a
"C:\Windows\system32\rundll32.exe"
Windows Password keymgr.dll,PRShowSaveWizardExW
Reset Disk (USB)
Problem Steps
psr
Recorder
Description Run Command
Print Management
PrintManagement
(.msc)
Printer Migration
printbrmui and printbrm.exe
(backup/restore)
Private Character
eudcedit
Editor
Regional Settings -
Language, Date/Time
intl.cpl
format, keyboard
locale.
Resultant Set of
rsop.msc
Policy
Screenshot Snipping
snippingtool
Tool
Services services.msc
Software
slui
Licensing/Activation
Syncronization Tool
mobsync
(Offline files)
System Configuration
msconfig
Utility
sysdm.cpl SystemProperties
System Properties or
sysdm.cpl DisplaySYSDMCPL
System Properties -
SystemPropertiesPerformance
Performance
System Properties -
SystemPropertiesHardware
Hardware
System Properties -
SystemPropertiesAdvanced
Advanced
System Repair -
Create a System recdisc
Repair Disc
Trusted Platform
Module Initialization tpmInit
Wizard
Windows Firewall
firewall.cpl
Windows Firewall with wf.msc
Advanced Security
Windows Image
wiaacmgr
Acquisition (scanner)
Windows Management
wmimgmt.msc
Infrastructure
Windows Memory
mdsched
Diagnostic Scheduler
Windows Mobility
Center (Mobile PCs mblctr
only)
Windows PowerShell
powershell_ise
ISE
Windows Security
wscui.cpl
Action Center
Windows Script
wscript NAME_OF_SCRIPT.VBS
Host(VBScript)
Windows System
Security Tool. Encrypt
syskey
the SAM database.
(boot password.)
Windows Update
wusa
Standalone Installer
Windows Version
winver
(About Windows)
WordPad Write
Prefetch
1. Start Run
Win+R, then type cmd, then Start Command Prompt. Starts Traditional Run Window then
press enter Command Prompt, or any other run command
Win, then type cmd, then Start Command Prompt as Administrator. Start New Windows
press Ctrl+Shift+Enter Search, then Command Prompt, or any other application
▲ up
2. Control Panel Program Shortcuts
▲ up
3. Commonly used Windows Tools
c: Explorer C: Drive
notepad Notepad
▲ up
4. Microsoft System Configurations
▲ up
5. Other Windows Tools
▲ up
6. Applications (if installed)
write Wordpad
mspaint Paint
▲ up
7. IP Config Commands (leave Dos Windows open)
▲ up
8. System File Checker Utility
sfc /scanonce System File Checker Utility ( Scan Once At Next Boot )
sfc /cachesize=x System File Checker Utility ( Set Cache Size to Size x )
▲ up
9. Control Panel Program Shortcuts
▲ up
10. File Explorer
1. Ping
This command allows you to determine TCP/IP, networks and IP address. It also
determines the issues with network and assists in resolving them.
ping x.x.x.x (where x – x is the IP address). You can try pinging 8.8.8.8, which
is Google default IP address. Or you can “ping www.google.com” (this is the
website you want to ping, if you don’t know the IP address).
2. nslookup
Yeah! You can also find out the IP address of specific Mail Servers through
nslookup.
GOOGLE.COM/YAHOO.COM
This command will give you the mail server of IP of google.com/yahoo.com.
3. tracert
tracert is a command-line utility that records the route through the internet
between your computer and a specified destination computer. It calculates and
displays the amount of time each hop took.
arp command will show you the arp table. This command also helps you to find
out if someone has made up poisoning in your LAN using this command.
ARP -A
5. route
route command will show you the routing table, gateway, interface and metric.
ROUTE PRINT
6. ipconfig
This is of the most important command, it will show you a lot of useful things,
for instance – your IP, Gateway, DNS in use etc.
IPCONFIG OR IPCONFIG/ALL
Also, if you are using dynamic IP address and want to change it, then type.
This command allows you to find out, who is establishing a connection with your
computer. This command provides the information about all active connection
and listings ports.
vijay
September 4, 2019
Linkedin
Contents [show]
Before we begin sharing the best cmd commands for hacking lets
see how to enable the NetBios.
Now back to the main Local Area Connection window, select File
and Print Sharing for Microsoft Networks and hit enter.
This is just to make sure you have NetBIOS enabled. We will have
some fun with NetBIOS on CMD.
In case you don’t know how to get CMD by clicking the Windows
icon at the left-hand bottom of your screen in all Windows
versions and click on Start. Press run from the start, then type
“cmd” without quotes.
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.
or
2) nslookup :
Code:
nslookup (enter)
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? You can send a spoofed email to
your friends using the IP address of the mail server. You can
check the tutorial here for sending a spoofed email.
3) tracert :
This command will give you the hops that a packet will travel to
reach its final destination. This command is really helpful if you
know the route a packet takes before it goes to the target box.
or
4) arp :
This command will show you the arp table. You can find out if
anyone has done arp poisoning in your LAN using this command.
Code:
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 you a lot of useful things like your IP,
Gateway, DNS in use, etc. This command will give all that info but
for all networks, you might have it.
Code:
ipconfig
or
Code:
ipconfig /all
Also, in case you have a dynamic IP and want to change it, then
type…
Code:
ipconfig /release (this will release your IP)
7) netstat :
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)
8) netuser:
9) Net View:
code:
net view x.x.x.x or computername
10) Tasklist:
For eg; If you want to kill PID 1532 process then you can enter
the command-
Code:
taskkill /PID 1532 /F
Bonus-
Code:
net use \ipaddressipc$ “” /user:administrator
Now if you want to connect to the target 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)
Please note that this command will only work if the target
PC/laptop has not set an Administrator Password.
Quote:
whatevercommand /help
or
Quote:
whatevercommand /?
This command is very useful in finding what a particular
command does, especially if you are a newbie.
Conclusion
So these were few of the best cmd hacks. Hope you liked it. If
you have found any command other than those listed above,
kindly note them in the comments for our other readers.
Welcome back, my greenhorn hackers!
cd ..
If we want to see the contents of a directory, we type dir as
seen above. Some other key and basic commands include:
del <filename>
This will delete the file, similar to the Linux rm.
type <filename>
This will display the contents of the file, similar to the Linux cat.
As you can see below, I used type to display the contents of the
confidentialfile.txt. I then del (delete) the confidentialfile.txt,
and when I return to display the contents of it again, I get the
message that "The system cannot find the specified file."
net users
We can type:
As you can see below, we have directed the target system to our
web server on Kali.
Keep coming back, my greenhorn hackers, as we develop the
most valuable skill set in the 21st century—hacking!
These Command Prompt tricks and other Command Prompt hacks will
get you excited about many of the mundane-sounding Command
Prompt commands like telnet, tree, or robocopy—
okay, robocopy sounds pretty cool.
Volume 90%
3:04
Some of these Command Prompt tricks and hacks are special features
or fun uses for the Command Prompt itself, while others are just neat
or relatively unknown things you can do with certain CMD commands.
01
of 21
Just about any command can be stopped in its tracks with the abort
command: Ctrl+C.
Ctrl+C isn't a magic wand and it can't undo things that aren't undoable,
like a partially complete format command.
However, for things like the dir command that seem to go on forever or
questions you're asked at the prompt that you don't know the answer
to, the abort command is an excellent Command Prompt trick to know.
02
of 21
Just type the command, the dir command for example, and then follow
it with the pipe character and then the more command.
Just press the space bar to advance by page or press Enter to advance
one line at a time.
03
of 21
04
of 21
F9: Asks for the number of the command from the F7 list to paste
05
of 21
Did you know that the prompt itself in the Command Prompt is
completely customizable thanks to the prompt command? It is, and
when we say customizable, we mean really customizable.
Instead of C:\>, you can set the prompt to any text you want, have it
include the time, the current drive, the Windows version number (like
in this example image), you name it.
One useful example is prompt $m$p$g, which will show the full path of
a mapped drive in the prompt, alongside the drive letter.
06
of 21
The help command does not provide help for every Command Prompt
command.
The help switch may not be the coolest Command Prompt trick you've
ever heard of, but it's hard to disagree that it's one of the more useful.
Neither the help command nor the help switch offer much in the way of
explaining how to interpret the syntax. See How to Read Command
Syntax if you need help with that.
07
of 21
See How to Redirect Command Output to a File for more examples and
a moe in-depth explanation of how to use redirection operators.
08
of 21
Execute tree from any directory to see the folder structure under that
directory.
09
of 21
Tired of that Command Prompt title bar text? No problem, just use the
title command to hack it to say whatever you like.
For example, let's say your name is Maria Smith, and you want to
express your ownership of the Command Prompt: execute title
Property of Maria Smith and the Command Prompt's title bar will
change immediately.
The change won't stick, so the next time you open Command Prompt
the title bar will be back to normal.
10
of 21
However, what if you do just want to copy a short section of text to the
clipboard? It's not too hard but it's not very intuitive either:
Now you can paste that information into whatever program you'd like,
just like you paste other text.
If you chose Mark but then decided you don't want to copy anything, right-
click again to cancel the Mark action, or press the Esc key.
11
of 21
If you've ever worked in the Command Prompt for very long, you know
that it can be really frustrating executing the cd/chdir command over
and over again to get to the right directory.
In Windows, open the folder you'd like to start working from, within
Command Prompt. When you're there, hold down Shift while you right-
click anywhere in the folder.
After the menu pops up, you'll notice an entry that's not usually
there: Open command window here. Click that and you'll start a new
instance of the Command Prompt, ready and waiting at the right
location.
12
of 21
Just open the folder in Windows Explorer. Once there, drag the folder
or file to the Command Prompt window and let go. Like magic, the full
path is inserted, saving you a considerable amount of typing depending
on the length and complexity of the path name.
The drag and drop feature doesn't work in an elevated Command Prompt.
13
of 21
Just enter the name of the remote computer (which you can get by
running the hostname command on the other PC), choose what you
want to do (restart or shutdown), select some other options, and then
click OK.
You can also shut down or restart another computer strictly from the
Command Prompt with the shutdown command, without using the
Remote Shutdown Dialog.
14
of 21
No matter which command you choose to use, just create a BAT file
containing the command and schedule it to run in Task Scheduler, and
you'll have your own custom made backup solution.
15
of 21
Maybe just for your own information, but certainly when you're
troubleshooting a network or internet problem, you'll probably at some
point need to know details about your computer's network connection.
16
of 21
There is, and it's called the subst command. Just execute the subst
command, followed by the path of the folder you wish to appear as a
drive.
For example, let's say you want your C:\Windows\Fonts folder to appear
as the Q: drive. Just execute subst q: c:\windows\fonts and you're set!
17
of 21
© Jon Fisher
Another great Command Prompt trick uses the keyboard arrow keys to
cycle through previously executed commands.
The up and down arrow keys cycle through the commands you've
entered and the right arrow automatically enters, character by
character, the last command you executed.
This might not sound that interesting, but there are several situations
where the arrow keys become huge time savers.
18
of 21
Automatically Complete Commands With Tab
Completion
Tab completion is another Command Prompt trick that can save you
lots of time, especially if your command has a file or folder name in it
that you're not completely sure of.
For example, let's say you want to change directories to some folder in
the Windows directory but you're not sure what it's named. Type cd
c:\windows\ and then press tab until you see the folder you're looking
for.
The results cycle in order or you can use SHIFT+TAB to step through
the results in reverse.
19
of 21
Just execute nslookup lifewire.com and view the result. Don't confuse
any private IP addresses that also show up in the nslookup results
alongside the public IP address of lifewire.com, which is what IP
address we're after.
Execute ping lifewire.com and then look at the IP address between the
brackets in the first line shown. Don't worry if the ping command
"times out" during execution; all we needed here was the IP address.
You can use the same procedure with any website or any hostname on
your local network.
20
of 21
Enabling QuickEdit Mode is like having Mark enabled all the time, so
selecting text to copy is really easy.
As a bonus, this also enables a simple way to paste into the Command
Prompt: just right click once and whatever you have in the clipboard is
pasted in the Command Prompt window. Normally, pasting
involves right-clicking and selecting Paste, so this is still a bit different
than you're used to.
21
of 21
Yes, you read that correctly, you can watch an ASCII version of the full
Star Wars Episode IV movie right in the Command Prompt window!
True, this isn't a terribly productive use of the Command Prompt, nor is
it really a trick of the Command Prompt or any command, but it sure is
fun! We can't imagine the work that went into this homage to the sci-fi
masterpiece.
The telnet command isn't normally enabled in Windows but can be turned
on by enabling Telnet Client from Windows Features in the Programs
and Features applet in Control Panel. If you'd rather not
enable Telnet but would like to see the movie, you can also watch it in
your browser at Star Wars ASCIIMation.
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.
For Example, You can try ping 8.8.8.8 which belongs to Google
ping 8.8.8.8
or
ping www.google.com
(www.google.com is the website you want to ping, but you don’t know the IP)
2. nslookup
This command has many functionalities. One is for resolving DNS into IP. Let’s
say you know the website URL but you don’t know its IP but you want to find it
out.
nslookup www.google.com
(www.google.com is the website for which you want to find out the IP)
Now, another really nice function of nslookup is to find out IP of specific Mail
Servers
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? You can send a spoofed email to your friends using the IP address of the
mail server. You can check the tutorial here for sending spoofed email.
3. tracert
This command will give you the hops that a packet will travel to reach its final
destination. This command is really helpful if you 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 www.google.com
This command will show you the arp table. You can find out if anyone has done
arp poisoning in your LAN using this command.
arp -a
5. route:
This command will show you the routing table, gateway, interface, and metric.
route print
6. ipconfig
This command will show you a lot of useful things like your IP, Gateway, DNS in
use, etc. This command will give all that info but for all networks, you might have
it.
ipconfig
ipconfig /all
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)
7. netstat
netstat
or
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
8. netuser
This command reset Windows User Password without Knowing Old Password.
Change yourusername with your PC user name and press Enter. Now type the
new password.
Well, if you have been using Windows operating system for a
while, then you might be well aware of CMD or Command
Prompt. It’s one of the most powerful tools in Windows which
is used to operate a wide range of tasks. It’s basically a
command-line interpreter that can be used to access the core
features of Windows.
Contents show
1. ping
This command uses your internet connection in order to send
some packets of data to a specific web address then these
packets are sent back to your PC. The test simply shows the
amount of time it took to reach the specific address. In simple
words, it helps you to know if the host you pinging is alive.
You can use the Ping command whenever you need to verify
that the host computer can connect to the TCP/IP network and
its resources.
2. nslookup
It is a network administration command-line tool that helps you
to obtain domain name or IP address mapping for any specific
DNS record. Suppose you have a website URL but want to
know its IP Address, you can simply type in CMD
nslookup www.google.com (Replace Google.com with your website
URL of which you want to find the IP address)
3. tracert
You can say Trace Route like its name it allows users to trace
the route than an IP packed has taken to reach a destination.
The command calculates and displays the amount of time each
hop took to reach a destination. You just need to type
tracert x.x.x.x (if you know the IP Address) or else you can
type tracert www.google.com (If you don’t know the IP
address)
4. arp
This command helps you to modify the ARP cache. You can run
an arp-a command on each computer to see whether the
computers have the correct MAC address listed for each other
to ping each other succeed on the same subnet.
This command also helps users to find out if anyone has done
arp poisoning in their LAN.
5. ipconfig
This is the command which shows every useful thing. It will
show you IPv6 address, temporary IPv6 address, IPv4 address,
Subnet Mask, Default gateway and all other things that you
want to know.
6. netstat
If you want to find out who is establishing a connection with
your computer then you might try typing in command prompt
“netstat -a” it will display all the connection and you will get to
know about the active connections and listening ports.
7. Route
It is a command which is used to view and manipulate the IP
routing table in the Microsoft Windows operating system. This
command will show you routing table, metric and interface.
8. Net View
This command displays the whole list of resources, computers
or domains that are shared by the specified computer.
9. Net User
Well, this command is used to modify changes to user
accounts on a computer. You can add, remove users with the
help of this command
11. Tasklist
This command opens up an entire task manager on the
command prompt. Users just need to enter the tasklist on CMD
and they will see the list of all running processes. You can
figure out all the wrongs with these commands.
12. iexplore
As we all know, hackers often try to execute some apps, such
as web browsers. So, hackers use the iexplore option to
execute apps and web pages. For example, if you enter iexplore
www.techviral.net on the command prompt, it will open the
URL in Internet Explorer.
Not only these, but you can even use iexplore <IP address> to find
sites running on any particular IP address. The command is
used in multiple ways by the hackers.
13. Pathping
Well, pathping command is pretty much similar to the tracert,
but it shows more detailed information. The commands take a
few moments to complete as it analyzes the route taken and
computes packet loss. On Windows command prompt, just type
in the following command
14. Getmac
Getmac commands are mostly used to get the MAC Address.
As we all know, MAC addresses are assigned by the
manufacturer and stored on the hardware. With each network
connected adapters, you get a separate MAC address. For
instance, your Ethernet, WiFi would have the separate MAC
address. So, getmac command is used to fetch the MAC
address stored in the device’s hardware.
15. Netsh
With netsh command, you can configure almost every part of
your network adapter. The great thing about the network shell
command is that it provides more detailed information about
your network adapters compared to all others listed in the
article.
If you just enter the netsh command, it will list you all routing
and DHCP related commands that you need to diagnostic
purpose.
So, above are the 15 best CMD commands used in hacking. You
can actually explore the lot more than this, we have
listed 150+ CMD commands in one of our articles! I hope you
like the post! Share it with your friends too. Leave a comment
below if you want to add any command in the list.
How to login as built in administrator in windows 10 The Edge browser now works, thanks to
information provided by Mick Taylor, Edge apparently works with the KB4056892 Windows update. If
you can't right click on cmd and run as administrator then this won't work for you. If it asks for a
password and you don't know it then this won't work for you. It is highly recommend if you can that
you create a restore point before trying to unlock the built in administrator The purpose of doing this
is so if something goes wrong with the users administrator account, you can login to the built in one
and hopefully fix the problem as the built in one will be unlocked. If it asks you for an administrator
password and you don't know the password then this won't work for you. The three commands used
in the video:
1) net users
In this video I will show you how you can unlock and change the password of the built in
administrator account in windows 10. Using this account will grant you administrator permissions
when you are logged into the administrator account. The only problem with the built in administrator
account it that you can't use the edge browser. So before you login to the built in administrator
account you first need to have another browser that isn't the Microsoft edge browser installed. In my
case I already had the Google Chrome browser already installed and as show in the video this
browser works with the built in administrator account. As a result I would recommend that you have
the Google Chrome browser installed before you login to the built in administrator account.
@echo off