๐ŸŒŸ2017๋…„ ์ด์ „ ํฌ์ŠคํŒ… ๋ชจ์Œ ๐ŸŒŸ/๐Ÿ’žwindows OS๐Ÿ’ž

windows_network command - ๊ธฐํƒ€ ๋„คํŠธ์›Œํฌ ๋ช…๋ น์–ด ๋ชจ์Œ

๐ŸŒŸBugsBunny๐ŸŒŸ 2011. 5. 13. 12:01

 

C:\>route print
========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 19 xx xx xx xx ...... Realtek RTL8139/810x Family Fast Ethernet NIC
ํŒจํ‚ท ์Šค์ผ€์ค„๋Ÿฌ ๋ฏธ๋‹ˆ ํฌํŠธ
========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.3       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.3     192.168.0.3       20
      192.168.0.3  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255      192.168.0.3     192.168.0.3       20
        224.0.0.0        240.0.0.0      192.168.0.3     192.168.0.3       20
  255.255.255.255  255.255.255.255      192.168.0.3     192.168.0.3       1
Default Gateway:       192.168.0.1
========================================================================
Persistent Routes:
C:\>route add  192.168.1.0  mask 255.255.255.0  192.168.0.6   ==> ์ถ”๊ฐ€
C:\>route delete  192.168.1.0  mask 255.255.255.0  192.168.0.6  ==> ์‚ญ์ œ

C:\>nslookup  ==> ๋„๋ฉ”์ธ ์งˆ์˜ ๋ช…๋ น
> set all  ==> ์„ค์ •๋˜์–ด ์žˆ๋Š” ๊ธฐ๋ณธ ์งˆ์˜ ์˜ต์…˜๋“ค์„ ๋ณด์—ฌ์ค€๋‹ค.
C:\>nslookup linuxxxxx.pe.kr
Name:    linuxxxxxx.pe.kr
Address:  114.108.xxx.xxx
C:\>nslookup
ftp.xxxxxxx.com
Non-authoritative answer:
Name:   
ftp.xxxxxxxx.com
Address:  61.81.xxx.xxx

C:\>hostname  ==> ํ˜ธ์ŠคํŠธ๋„ค์ž„ ํ™•์ธ ๋ช…๋ น
C:\>ftp sunny.xxx.xxx.xxx  ==> ํŒŒ์ผ ์„œ๋ฒ„ ์ ‘์† ๋ช…๋ น์–ด
Connected to sunny.xxx.xxx.xxx.
220 BDC1KR Server (ProFTPD Default Installation) [xxx.xxx.xxx.xxx]
User (sunny.xxx.xxx.xxx:(none)): sunny
331 Password required for sunny
Password: xxxxxxxxxxxxxxx
230 User sunny logged in
ftp>ls <=> dir (์›๊ฒฉ์ง€ ๋””๋ ‰ํ† ๋ฆฌ ๋ชฉ๋ก์„ ์ถœ๋ ฅ)
ftp>cd /chroot (์›๊ฒฉ์ง€์˜ ํ•˜์œ„ ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•œ๋‹ค.)
ftp>get APM.tar.gz (ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ)
ftp>lcd \home (๋กœ์ปฌ ์‹œ์Šคํ…œ์˜ ๊ฒฝ๋กœ๋กœ ์ด๋™)
ftp>put coolgame.exe (ํŒŒ์ผ ์—…๋กœ๋“œ)
ftp>mget windows1.exe windows2.exe windows3.exe (ํŒŒ์ผ ๋™์‹œ ์—ฌ๋ ค๊ฐœ ๋‹ค์šด.)
ftp>mput up-1.exe up-2.exe (ํŒŒ์ผ ๋™์‹œ ์—ฌ๋Ÿฌ๊ฐœ ์—…๋กœ๋“œ)
ftp>ascii (ํŒŒ์ผ ์ „์†ก ๊ธฐ๋ณธ ๋ชจ๋“œ๋ฅผ ascii๋กœ ๋ณ€๊ฒฝ)
ftp>binary (ํŒŒ์ผ ์ „์†ก ๊ธฐ๋ณธ ๋ชจ๋“œ๋ฅผ binary๋กœ ๋ณ€๊ฒฝ)
~์œˆ๋„๋Š” ๊ธฐ๋ณธ์ด binary, ๋ฆฌ๋ˆ…์Šค๋Š” ๊ธฐ๋ณธ์ด ascii.
ftp>bye (์ข…๋ฃŒ)

C:\>telnet ==> ์›๊ฒฉ ์ ‘์† ๋ช…๋ น
C:\>telnet 211.238.xxx.xxx<์„œ๋ฒ„IP์ฃผ์†Œ> 25<25ํฌํŠธ ์ ‘์†>
C:\>telnet sunny.xxx.xxx.xxx<์„œ๋ฒ„๋„๋ฉ”์ธ์ฃผ์†Œ>  110<110ํฌํŠธ๋กœ ์ ‘์†>

C:\>getmac ==> rpcํ”„๋กœํ† ์ฝœ์„ ์ด์šฉํ•ด์„œ ์›๊ฒฉ์ง€์— ์žˆ๋Š” ํ˜ธ์ŠคํŠธ์˜ mac์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด๋Š” ๋ช…๋ น์–ด์ด๋‹ค.
ํ•ด๋‹น ํ˜ธ์ŠคํŠธ์˜ ๊ณ„์ •์ •๋ณด๊ฐ€ ํ•„์š”ํ•˜๋‹ค.
C:\>ipxroute ==> NWLink IPX ๋ผ์šฐํŒ… ๋ฐ ์›๋ณธ ๋ผ์šฐํŒ… ์ œ์–ด ํ”„๋กœ๊ทธ๋žจ ๋ช…๋ น์ด๋‹ค.