Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Some common network commands

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

BY HORWATH

1. The most basic, most commonly used, testing physical network

Ping 192.168.0.8-t, parameter-t is waiting for the user to interrupt the test

two。 View DNS, IP, Mac, etc.

A.Win98:winipcfg

B.Win2000 or above: Ipconfig/all

C.NSLOOKUP:

For example, check the DNS of Hebei.

CRV / > nslookup

Default Server: ns.hesjptt.net.cn

Address: 202.99.160.68

> server 202.99.41.2 changes DNS to 41.2

> pop.pcpop.com

Server: ns.hesjptt.net.cn

Address: 202.99.160.68

Non-authoritative answer:

Name: pop.pcpop.com

Address:202.99.160.212Address:

3, message messenger (often asked ~)

Net send computer name / IP | * (broadcast) deliver content. Note that it cannot cross network segments.

Net stop messenger stops messenger service. You can also modify it in Panel-Service.

Net start messenger starts messenger service

4. Detect the other party's computer name, group, domain and current user name (how the manhunt works)

Ping-an IP-t shows only the NetBios name

Nbtstat-a 192.168.10.146 is relatively complete.

5.netstat-a shows all the ports currently open on your computer

Netstat-s-e shows your network information in detail, including statistics of TCP, UDP, ICMP and IP, etc.

6. Probe the list of arp bindings (dynamic and static), showing all computers connected to me, showing each other's IP and MAC addresses

Arp-a

7. Bind IP and MAC addresses on the proxy server to solve the embezzlement of IP in the LAN:

ARP-s 192.168.10.59 00-50-ff-6c-08-75

Unbind the IP of the Nic from the MAC address:

Arp-d network card IP

8. Hide your computer from your network neighbors (so that they can't see you! )

Net config server / hidden:yes

Net config server / hidden:no is enabled

9. Several net commands

a. Displays the current workgroup server list net view (when you use this command without options, it displays the list on computers on the current domain or network.)

For example, if you look at the shared resources on this IP, you can

Net view 192.168.10.8

Shared resources at 192.168.10.8

Resource share name type usage note

Website Service Disk

Command completed successfully

b. View the list of user accounts on the computer net user

c. View the web link net use

For example: net use z: / / 192.168.10.8/movie maps the movie shared directory of this IP to a local Z disk

d. Record Link net session

For example:

CRV / > net session

Computer user name customer type open idle time

/ / 192.168.10.110 ROME Windows 2000 2195 000: 03:12

/ / 192.168.10.51 ROME Windows 2000 2195 000: 00:39

The command completed successfully.

10. Route tracking command

A.tracert pop.pcpop.com

In addition to showing the route, B.pathping pop.pcpop.com also provides 325s analysis to calculate% of lost packets.

11. Several commands about sharing security

a. Check your machine's shared resource net share

b. Delete the share manually (you can make up a bat file, boot and run automatically, delete all the shares! )

Net share c $/ d

Net share d$ / d

Net share ipc$ / d

Net share admin$ / d

Notice the space after $!

c. Add a share:

C:/net share mymovie=e:/downloads/movie / users:1

Mymovie sharing succeeded.

At the same time, the number of linked users is limited to 1.

twelve。 Set static IP under the DOS line

a. Set static IP

CMD

Netsh

Netsh > int

Interface > ip

Interface ip > set add "Local Link" static IP address mask gateway

b. View IP settings

Interface ip > show address

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report