628 Practical Hacking Techniques and Countermeasures
Verify the Web site is running by bringing up the site on the server.
From the local computer (not the Web server), we want to verify the IP
address by typing ipconfig and pressing Enter.
Redirection 629
Next, verify what ports are in use by typing netstat ??“an and pressing Enter.
The first column lists the local address with ports in use. For example:
172.16.1.56:139 0.0.0.0:0 LISTENING
The 172.16.1.56:139 identifies the local machine??™s IP address with port 139 open.
The 0.0.0.0:0 identifies any remote IP addresses the machine is connected to.
LISTENING tells you that this port is currently listening for connections.
630 Practical Hacking Techniques and Countermeasures
To execute the Fpipe redirection tool, type (from the directory containing
the application):
fpipe ??“v ??“i 172.16.1.56 ??“l 80 ??“r 80 172.16.1.60
??“v instructs Fpipe to run in verbose mode (shows details as they occur).
??“i instructs Fpipe to listen on the IP address following it (172.16.1.56).
??“r instructs Fpipe to use the remote port following it (port 80).
172.16.1.60 is the IP address of the Web server.
Redirection 631
The Fpipe application will start listening on port 80 of the local computer
and redirect all traffic to port 80 on the Web server??™s IP address.
Verify that the local machine is now listening on port 80 by typing netstat
??“an and pressing Enter.
Pages:
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214