Prev | Current Page 280 | Next

Mark D. Spivey

"Practical Hacking Techniques and Countermeasures"

168.1.101
This would set the program to listen for connections on
port 53 and when a local connection is detected, a
further connection will be made to port 80 of the
remote machine at 192.168.1.101 with the source port
for that outbound connection being set to 53 also. Data
sent to and from the connected machines will be
passed through.
PsExec Usage:
psexec [\\computer[,computer[,..] | @file ]
[-u user [-p psswd]][-n s][-s|-e][-i][-c
[-f|-v]][-d][-w directory][-]
[-a n,n,...] cmd [arguments]
Options:
computer Direct PsExec to run the application on the
computer or computers specified. If you omit the
computer name, PsExec runs the application on the
local system and if you enter a computer name of "\\*"
PsExec runs the applications on all computers in the
current domain.
@file Directs PsExec to run the command on each
computer listed in the text file specified.
-a Separate processors on which the application can run
with commas where 1 is the lowest numbered CPU. For
example, to run the application on CPU 2 and CPU 4,
enter: -a 2,4.
-c Copy the specified program to the remote system for
execution. If you omit this option then the application
must be in the system??™s path on the remote system.
-d Do not wait for the application to terminate. Only use
this option for non-interactive applications.
-e Loads the specified account??™s profile.
-f Copy the specified program to the remote system
even if the file already exists on the remote system.


Pages:
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289