Postexploitation
◾
233
net
start/net stop
—The
net
start
command will display all the running
services on the target computer. We can stop a running service, for example, AVG antivirus,
by using the
net stop
command. The syntax for
net start/net stop
commands
are as follows:
net start
net stop
netsh
—
netsh
is a very useful command line utility for both network administrators and
hackers/penetration testers. It can be used to gather information about firewall rules and so
on. For example, we can turn off a firewall by issuing the following command:
netsh firewall set opmode disable
But we will require administrative privileges to disable the firewall. We will learn about privilege
escalation later in the chapter.
Dostları ilə paylaş: