Download ARP EXE - GRUBI home page

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Internet protocol suite wikipedia , lookup

Net bias wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Net neutrality law wikipedia , lookup

Parallel port wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Remote Desktop Services wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Transcript
Kliknij na dane narzędzie, aby zobaczyć jego
opis.
ARP
EXE
FTP
EXE
IPCONFIG EXE
NBTSTAT
EXE
NETSTAT
EXE
NET
EXE
PING
EXE
ROUTE
EXE
TELNET
EXE
TRACERT
EXE
********************************************************************
*********/
/*******************************************************************
**********
>arp -?
Displays and modifies the IP-to-Physical address translation tables
used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-a
current
Displays current ARP entries by interrogating the
protocol data.
If inet_addr is specified, the IP
and Physical
addresses for only the specified computer are
displayed.
If
more than one network interface uses ARP, entries
for each ARP
table are displayed.
-g
Same as -a.
inet_addr
-N if_addr
specified
Specifies an internet address.
Displays the ARP entries for the network interface
by if_addr.
-d
-s
inet_addr
Deletes the host specified by inet_addr.
Adds the host and associates the Internet address
with the Physical address eth_addr.
The Physical
address is
given as 6 hexadecimal bytes separated by hyphens.
The entry
is permanent.
eth_addr
if_addr
the
Specifies a physical address.
If present, this specifies the Internet address of
interface whose address translation table should be
modified.
If not present, the first applicable interface will
be used.
Example:
> arp -s 157.55.85.212
entry.
00-aa-00-62-c6-09
> arp -a
table.
.... Adds a static
.... Displays the arp
********************************************************************
*********/
/*******************************************************************
**********
>ftp -?
Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.
FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [-A]
[host]
-v
Suppresses display of remote server responses.
-n
Suppresses auto-login upon initial connection.
-i
file
Turns off interactive prompting during multiple
transfers.
-d
Enables debugging.
-g
Disables filename globbing (see GLOB command).
-s:filename
Specifies a text file containing FTP commands; the
commands will automatically run after FTP starts.
-a
connection.
Use any local interface when binding data
-A
login as anonymous.
-w:buffersize
Overrides the default transfer buffer size of 4096.
host
Specifies the host name or IP address of the remote
host to connect to.
********************************************************************
*********/
/*******************************************************************
**********
>ipconfig -?
Windows 98 IP Configuration
Command line options:
/All - Display detailed information.
/Batch [file] - Write to file or ./WINIPCFG.OUT
/renew_all
- Renew
/release_all
- Release all adapters.
/renew
- Renew
N
/release N
all adapters.
adapter N.
- Release adapter N.
********************************************************************
*********/
/*******************************************************************
**********
>nbtstat -?
Displays protocol statistics and current TCP/IP connections using
NBT(NetBIOS ov
er TCP/IP).
NBTSTAT [-a RemoteName] [-A IP address] [-c] [-n]
[-r] [-R] [-s] [S] [interval] ]
-a
(adapter status) Lists the remote machine's name table given
its name
-A
its
(Adapter status) Lists the remote machine's name table given
IP address.
-c
(cache)
addresses
-n
Lists the remote name cache including the IP
(names)
Lists local NetBIOS names.
-r
WINS
(resolved)
Lists names resolved by broadcast and via
-R
table
(Reload)
Purges and reloads the remote cache name
-S
(Sessions)
addresses
Lists sessions table with the destination IP
-s
IP
Lists sessions table converting destination
(sessions)
addresses to host names via the hosts file.
RemoteName
Remote host machine name.
IP address
Dotted decimal representation of the IP address.
interval
seconds
Redisplays selected statistics, pausing interval
between each display. Press Ctrl+C to stop
redisplaying
statistics.
********************************************************************
*********/
/*******************************************************************
**********
>netstat -?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a
-e
with the -s
Displays all connections and listening ports.
Displays Ethernet statistics. This may be combined
option.
-n
form.
Displays addresses and port numbers in numerical
-p proto
proto; proto
Shows connections for the protocol specified by
may be TCP or UDP.
display
If used with the -s option to
per-protocol statistics, proto may be TCP, UDP, or
IP.
-r
Displays the routing table.
-s
statistics are
Displays per-protocol statistics.
By default,
shown for TCP, UDP and IP; the -p option may be used
to specify
a subset of the default.
interval
seconds
Redisplays selected statistics, pausing interval
between each display.
Press CTRL+C to stop
redisplaying
statistics.
If omitted, netstat will print the
current
configuration information once.
********************************************************************
*********/
/*******************************************************************
**********
>net -?
For more information about a specific Microsoft NET
command, type the command name followed by /?
(for example, NET VIEW /?).
NET CONFIG
Displays your current workgroup settings.
NET DIAG
Runs the Microsoft Network Diagnostics program to
display diagnostic information about your network.
NET HELP
Provides information about commands and
error messages.
NET INIT
Loads protocol and network-adapter drivers without
binding them to Protocol Manager.
NET LOGOFF
Breaks the connection between your computer and
the shared resources to which it is connected.
NET LOGON
Identifies you as a member of a workgroup.
NET PASSWORD Changes your logon password.
NET PRINT
Displays information about print queues
and controls print jobs.
NET START
Starts services.
NET STOP
Stops services.
NET TIME
Displays the time on or synchronizes your computer's
clock with the clock on a Microsoft Windows for
Workgroups, Windows NT, Windows 95, or NetWare time
server.
NET USE
Connects to or disconnects from a shared
resource or displays information about
connections.
NET VER
Displays the type and version number of the
workgroup redirector you are using.
NET VIEW
Displays a list of computers that share
resources or a list of shared resources
on a specific computer.
********************************************************************
*********/
/*******************************************************************
**********
>ping -?
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] destination-list
Options:
-t
Ping the specifed host until stopped.
To see statistics and continue - type Control-
Break;
To stop - type Control-C.
-a
Resolve addresses to hostnames.
-n count
Number of echo requests to send.
-l size
Send buffer size.
-f
Set Don't Fragment flag in packet.
-i TTL
Time To Live.
-v TOS
Type Of Service.
-r count
Record route for count hops.
-s count
Timestamp for count hops.
-j host-list
Loose source route along host-list.
-k host-list
Strict source route along host-list.
-w timeout
Timeout in milliseconds to wait for each reply.
********************************************************************
*********/
/*******************************************************************
**********
>route
Manipulates network routing tables.
ROUTE [-f] [command [destination] [MASK netmask] [gateway] [METRIC
metric]]
-f
this is
Clears the routing tables of all gateway entries.
If
used in conjunction with one of the commands, the
tables are
cleared prior to running the command.
command
destination
MASK
value.
netmask
Must be one of four:
PRINT
Prints
a
route
ADD
Adds
a
route
DELETE
Deletes
a
route
CHANGE
Modifies an existing route
Specifies the destination host.
Specifies that the next parameter is the 'netmask'
Specifies a subnet mask value to be associated
with this route entry. If not specified, it defaults
to
255.255.255.255.
gateway
Specifies gateway.
METRIC
Specifies that the next paramenter 'metric' is the
cost for this destination
All symbolic names used for destination are looked up in the network
database
file NETWORKS. The symbolic names for gateway are looked up in the
host name
database file HOSTS.
If the command is PRINT or DELETE, wildcards may be used for the
destination
and gateway, or the gateway argument may be omitted.
Diagnostic Notes:
Invalid MASK generates an error, that is when (DEST & MASK) !=
DEST.
Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1
The route addition failed: 87
Examples:
> route PRINT
> route
ADD 157.0.0.0
MASK 255.0.0.0
157.55.80.1 METRIC
3
^destination
^mask
^gateway
^metric
> route PRINT
> route DELETE 157.0.0.0
> route PRINT
********************************************************************
*********/
/*******************************************************************
**********
TELNET [host [port]]
Connect to remote utility at host on port.
Host can be either an IP-address or a name based address.
Port is default 23.
Within telnet the followng commands might be available:
close
close current connection
display
display operating parameters
open
connect to a site (host port)
quit
exit telnet
set
set options (type 'set ?' for a list)
status
print status information
unset
unset options (type 'unset ?' for a list)
?/help
print help information
Comments:
The port command line parameter is not documented in either UNIX,
LINUX nor
Windows (to my knowledge). I guess this is because the telnet client
was
designed with the sole purpose of connecting to a telnet server. But
the
telnet client can be used to almost everything where a simple
diagnostics
is needed.
I have seen some wild acrobattic being performed on UNIX to change
the telnet
client from using port 23 to use any other port. I have tried on an
old
LINUX where it seams to work just fine putting the port number on
the
command line.
Connect to remote webserver on port 80:
Let's try the web server at carl-fh.net.
Start a DOS command prompt
From the command prompt type
telnet
Turn on localecho so you can see what you are doing (on some Windows
OS).
set local_echo
Connect to remote server.
open carl-fh.net 80
Press Enter on a blank line and type
GET / HTTP/1.1
host: carl-fh.net
Press Enter twice
The above command will ask for the start page in the documant root
using
protocol HTTP/1.1
The command should result in a whole lot of data comming from the
remote
server. You will get to see things that only your browser normally
see.
Alternative:
Another very good alternative is the PuTTYtel available at:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
********************************************************************
*********/
/*******************************************************************
**********
>tracert -?
Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout]
target_name
Options:
-d
Do not resolve addresses to hostnames.
-h maximum_hops
Maximum number of hops to search for target.
-j host-list
Loose source route along host-list.
-w timeout
Wait timeout milliseconds for each reply.
Example:
C:\WINDOWS>tracert -d carl-fh.com
Tracing route to carl-fh.com [66.216.34.97]
over a maximum of 30 hops:
1
1 ms
1 ms
<10 ms
192.168.0.1
2
*
*
*
Request timed out.
3
*
*
*
Request timed out.
4
*
*
*
Request timed out.
5
*
*
*
Request timed out.
6
*
*
*
Request timed out.
7
*
*
*
Request timed out.
8
*
*
*
Request timed out.
9
*
*
*
Request timed out.
10
*
*
*
Request timed out.
11
*
*
*
Request timed out.
12
*
*
*
Request timed out.
13
*
*
*
Request timed out.
142 ms
144 ms
14
142 ms
Trace complete.
66.216.34.97