Script started on Tue Jul 8 17:41:10 2008
]0;root@localhost: /root[root@localhost ~]# rpm -qa script[K[K[K[K[K[K`which script`
]0;root@localhost: /root[root@localhost ~]# rpm -qa `which script`[1P[1@f
util-linux-2.12r-alt6
]0;root@localhost: /root[root@localhost ~]# ip a
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:27:b7:69:b9 brd ff:ff:ff:ff:ff:ff
]0;root@localhost: /root[root@localhost ~]# ip a a 172.16.0.1/[K[K2/16
[root@localhost ~]# i
[root@localhost ~]# ip
[root@localhost ~]# ip
[root@localhost ~]# ip a[1@d[1@d[1@r
[root@localhost ~]# ip addr
[root@localhost ~]# ip addr ad 172.16.0.2/16d 172.16.0.2/16
[root@localhost ~]# ip addr add 172.16.0.2/16 dev [K[K[K[K[K[K[K24 dev eth0
]0;root@localhost: /root[root@localhost ~]# ping 172.16.0.1
PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data.
64 bytes from 172.16.0.1: icmp_seq=1 ttl=64 time=36.5 ms
64 bytes from 172.16.0.1: icmp_seq=2 ttl=64 time=19.6 ms
64 bytes from 172.16.0.1: icmp_seq=3 ttl=64 time=3.57 ms
64 bytes from 172.16.0.1: icmp_seq=4 ttl=64 time=16.9 ms
64 bytes from 172.16.0.1: icmp_seq=5 ttl=64 time=5.05 ms
64 bytes from 172.16.0.1: icmp_seq=6 ttl=64 time=3.86 ms
64 bytes from 172.16.0.1: icmp_seq=7 ttl=64 time=5.37 ms
--- 172.16.0.1 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6014ms
rtt min/avg/max/mdev = 3.571/13.014/36.595/11.405 ms
]0;root@localhost: /root[root@localhost ~]# ip r
172.16.0.0/24 dev eth0 proto kernel scope link src 172.16.0.2
]0;root@localhost: /root[root@localhost ~]# ip route add default via 172.16.0.1
]0;root@localhost: /root[root@localhost ~]# teln
]0;root@localhost: /root[root@localhost ~]# netcat
usage: netcat [-46DdhklnrStUuvz] [-e cmd] [-i interval] [-p source_port]
[-s source_ip_address] [-w timeout] [-X proxy_version]
[-x proxy_address[:port]] [hostname] [port[s]]
]0;root@localhost: /root[root@localhost ~]# netcat 192.168.200.117 88
]0;root@localhost: /root[root@localhost ~]# netcat 192.168.200.117 8808
[root@localhost ~]# netcat 192.168.200.117 8080
]0;root@localhost: /root[root@localhost ~]# netcat 192.168.200.117 8080
]0;root@localhost: /root[root@localhost ~]# netcat 192.168.200.117 8080
[root@localhost ~]# netcat 192.168.200.117 8080[K[K 80[K8 800 80. 806 808 80. 802 804 800 80. 801 804 804 80
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
GET
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
GEH T /index.html
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
BHAL
BLAH
501 Method Not Implemented
Method Not Implemented
BHAL to /index.html not supported.
]0;root@localhost: /root[root@localhost ~]# BLAH
bash: BLAH: command not found
]0;root@localhost: /root[root@localhost ~]# BLAHnetcat 80.68.240.144 80
BLAH
501 Method Not Implemented
Method Not Implemented
BLAH to /index.html not supported.
]0;root@localhost: /root[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
BLAH
501 Method Not Implemented
Method Not Implemented
BLAH to /index.html not supported.
]0;root@localhost: /root
[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]#
[11P(arg: 1)
(arg: 1) 3
(arg: 3)
[11@[root@localhost ~]#
[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]# netcat 80.68.240.144 80
BLUH
501 Method Not Implemented
Method Not Implemented
BLUH to /index.html not supported.
]0;root@localhost: /root[root@localhost ~]#
[11P(arg: 1)
(arg: 1) 3
(arg: 3)
[11@[root@localhost ~]#
[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]# vim /etc/resolv.conf
7[?47h[?1h=[1;50r[?25h[?25h[27m[23m[m[H[2J[?25l[50;1H"/etc/resolv.conf"
"/etc/resolv.conf" 0L, 0C[>c[2;1H[38;5;12m~ [3;1H~ [4;1H~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [24;1H~ [25;1H~ [26;1H~ [27;1H~ [28;1H~ [29;1H~ [30;1H~ [31;1H~ [32;1H~ [33;1H~ [34;1H~ [35;1H~ [36;1H~ [37;1H~ [38;1H~ [39;1H~ [40;1H~ [41;1H~ [42;1H~ [43;1H~ [44;1H~ [45;1H~ [46;1H~ [47;1H~ [48;1H~ [49;1H~ [m[50;127H0,0-1 All[1;1H[?25h[?25l[50;117Hi [1;1H[50;117H [1;1H[50;1H[1m-- INSERT --[m[50;13H[K[50;127H0,1 All[1;1H[?25h[?25l[38;5;15m[48;5;9mn[m[50;127H1,2 All[1;2H[?25h[?25l[38;5;15m[48;5;9ma[m[50;127H1,3 All[1;3H[?25h[?25l[38;5;15m[48;5;9mm[m[50;127H1,4 All[1;4H[?25h[?25l[38;5;15m[48;5;9me[m[50;127H1,5 All[1;5H[?25h[?25l[38;5;15m[48;5;9ms[m[50;127H1,6 All[1;6H[?25h[?25l[38;5;15m[48;5;9me[m[50;127H1,7 All[1;7H[?25h[?25l[38;5;15m[48;5;9mr[m[50;127H1,8 All[1;8H[?25h[?25l[38;5;15m[48;5;9mv[m[50;127H1,9 All[1;9H[?25h[?25l[38;5;15m[48;5;9me[m[50;127H1,10 All[1;10H[?25h[?25l
[38;5;6mnameserver[m[50;127H1,11 All[1;11H[?25h[?25l[50;127H1,12 All[1;12H[?25h[?25l[38;5;15m[48;5;9m1[m[50;127H1,13 All[1;13H[?25h[?25l[38;5;15m[48;5;9m0[m[50;127H1,14 All[1;14H[?25h[?25l[38;5;15m[48;5;9m.[m[50;127H1,15 All[1;15H[?25h[?25l[38;5;15m[48;5;9m0[m[50;127H1,16 All[1;16H[?25h[?25l[38;5;15m[48;5;9m.[m[50;127H1,17 All[1;17H[?25h[?25l[38;5;15m[48;5;9m2[m[50;127H1,18 All[1;18H[?25h[?25l[38;5;15m[48;5;9m.[m[50;127H1,19 All[1;19H[?25h[?25l[1;12H[38;5;1m10.0.2.3[m[50;127H1,20 All[1;20H[?25h[50;1H[K[1;19H[?25l[50;117H^[ [1;19H[?25h[?25l[50;117H [1;20H[50;127H1,19 All[1;19H[?25h[?25l[50;117H: [1;19H[50;117H[K[50;1H:[?25hw[?25l
:w[?25hq[?25l
:wq[?25h
[?25l"/etc/resolv.conf"
"/etc/resolv.conf" 1L, 20C written
[?1l>[?25h[2J[?47l8]0;root@localhost: /root[root@localhost ~]# host ;li[K[K[Klinux.org.ru
linux.org.ru has address 217.76.32.61
linux.org.ru mail is handled by 2 mx.linux.org.ru.
]0;root@localhost: /root[root@localhost ~]# update-ch[K[K[K_
update_chrooted update_wms
[root@localhost ~]# update_chrooted all
]0;root@localhost: /root[root@localhost ~]# update_chrooted all[2Phost linux.org.ru
linux.org.ru has address 217.76.32.61
linux.org.ru mail is handled by 2 mx.linux.org.ru.
]0;root@localhost: /root[root@localhost ~]# ls -Al /etc/resolv.conf
[0m-rw-r--r-- 3 root root 20 Jul 8 19:10 [0m/etc/resolv.conf[0m
[m]0;root@localhost: /root[root@localhost ~]# netcat linux.org.ru 80
[root@localhost ~]# [1@c[1@a[1@l[1@ [1@|[1@
HTTP/1.1 400 Bad Request
Date: Tue, 08 Jul 2008 15:13:44 GMT
Server: Apache/2.2.8 (Fedora)
Content-Length: 352
Connection: close
Content-Type: text/html; charset=iso-8859-1
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.
Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12
]0;root@localhost: /root[root@localhost ~]# cal | netcat linux.org.ru 80
[root@localhost ~]# [1P[1P[1P[1P[1P[1P
GET /index.html
Error 404
Error 404
Запрошенный Вами URL не был найден на этом сервере.
The URL you requested is not found on this server.
http://www.linux.org.ru/
]0;root@localhost: /root[root@localhost ~]# netcat linux.org.ru 80
[root@localhost ~]# [6@cal |
[root@localhost ~]# cal | netcat linux.org.ru 80
]0;root@localhost: /root[root@localhost ~]#
[11P(arg: 1)
(arg: 1) 3
(arg: 3)
[11@[root@localhost ~]#
[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]# dhcpcd
Error, no interface specified
]0;root@localhost: /root[root@localhost ~]# dhcpcd eth0
]0;root@localhost: /root[root@localhost ~]# ip a
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:27:b7:69:b9 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.99/24 brd 172.16.0.255 scope global eth0
]0;root@localhost: /root[root@localhost ~]# ping ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data.
--- ya.ru ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
]0;root@localhost: /root[root@localhost ~]# netcat ya.tu [K[K[Kru 80[1@c[1@a[1@l[1@ [1@|[1@
]0;root@localhost: /root[root@localhost ~]# ip r
172.16.0.0/24 dev eth0 proto kernel scope link src 172.16.0.99
default via 172.16.0.1 dev eth0
]0;root@localhost: /root[root@localhost ~]# cal | netcat linux.org.ru 80
HTTP/1.1 400 Bad Request
Date: Tue, 08 Jul 2008 15:44:28 GMT
Server: Apache/2.2.8 (Fedora)
Content-Length: 352
Connection: close
Content-Type: text/html; charset=iso-8859-1
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.
Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12
]0;root@localhost: /root[root@localhost ~]#
[11P(arg: 1)
(arg: 1) 3
(arg: 3)
[11@[root@localhost ~]#
[root@localhost ~]#
]0;root@localhost: /root[root@localhost ~]# service networkr[K restart
Computing interface groups: . 1 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
Computing interface groups: . 1 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: ....OK
Processing /etc/net/vlantab: empty.
]0;root@localhost: /root[root@localhost ~]# ip a
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:27:b7:69:b9 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.99/24 brd 172.16.0.255 scope global eth0
]0;root@localhost: /root[root@localhost ~]# net[K[K[Kip aservice network restart
[root@localhost ~]# cal | netcat linux.org.ru 80
[root@localhost ~]# [5Pservice network restart[Kw[Kw[Kstop
Computing interface groups: . 1 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
]0;root@localhost: /root[root@localhost ~]# service net[K[K[K[Kcd /etc/[K[K[K[K[K[K[K[Kkillall dhp[Kcpcd
]0;root@localhost: /root[root@localhost ~]# cd /etc/net/
]0;root@localhost: /etc/net[root@localhost net]# ls
[0m[01;34mifaces[0m [01;34moptions.d[0m [01;34mscripts[0m [0msysctl.conf[0m
[m]0;root@localhost: /etc/net[root@localhost net]# cd ifaces/
]0;root@localhost: /etc/net/ifaces[root@localhost ifaces]# ls
[0m[01;34mdefault[0m [01;34mlo[0m [01;34munknown[0m
[m]0;root@localhost: /etc/net/ifaces[root@localhost ifaces]# mkdir eth0
]0;root@localhost: /etc/net/ifaces[root@localhost ifaces]# cd eth0
]0;root@localhost: /etc/net/ifaces/eth0[root@localhost eth0]# cat > options
DISABLED=no
BOOTPROTO=dhcp
^[
]0;root@localhost: /etc/net/ifaces/eth0[root@localhost eth0]# vim options
7[?47h[?1h=[1;50r[?25h[?25h[27m[23m[m[H[2J[?25l[50;1H"options"
"options" 3L, 29C[>c[1;1HDISABLED=no
BOOTPROTO=dhcp
[38;5;4m^[[m
[38;5;12m~ [5;1H~ [6;1H~ [7;1H~ [8;1H~ [9;1H~ [10;1H~ [11;1H~ [12;1H~ [13;1H~ [14;1H~ [15;1H~ [16;1H~ [17;1H~ [18;1H~ [19;1H~ [20;1H~ [21;1H~ [22;1H~ [23;1H~ [24;1H~ [25;1H~ [26;1H~ [27;1H~ [28;1H~ [29;1H~ [30;1H~ [31;1H~ [32;1H~ [33;1H~ [34;1H~ [35;1H~ [36;1H~ [37;1H~ [38;1H~ [39;1H~ [40;1H~ [41;1H~ [42;1H~ [43;1H~ [44;1H~ [45;1H~ [46;1H~ [47;1H~ [48;1H~ [49;1H~ [m[50;127H1,1 All[1;1H[?25h[?25l[50;117Hj [1;1H[50;117H [2;1H[50;127H2,1 All[2;1H[?25h[?25l[50;117Hj [2;1H[50;117H [3;1H[50;127H3,1 All[3;1H[?25h[?25l[50;117Hd [3;1H[?25h[?25l[50;117Hdd [3;1H[50;117H [2;1H
[38;5;12m~ [m[50;127H2,1 All[2;1H[?25h[?25l[50;117H: [2;1H[50;1H[K[50;1H:[?25hw[?25l
:w[?25hq[?25l
:wq[?25h
[?25l"options"
"options" 2L, 27C written
[?1l>[?25h[2J[?47l8]0;root@localhost: /etc/net/ifaces/eth0[root@localhost eth0]# vim options cat > options[6Pd eth0[3@mkdir
[root@localhost eth0]# mkdir eth0ls[Kcd ifaces/ls[Kcd /etc/net/killall dhcpcdservice network stop[K
[1P(reverse-i-search)`':
(reverse-i-search)`': s': service network restart[1@e
(reverse-i-search)`se':
[1P[root@localhost eth0]#
[root@localhost eth0]#
Computing interface groups: .. 2 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (1 interfaces)
Stopping eth0: ..OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: OK
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: ....OK
Starting group 1/realphys (1 interfaces)
Starting eth0: .....OK
Processing /etc/net/vlantab: empty.
]0;root@localhost: /etc/net/ifaces/eth0[root@localhost eth0]# ip a
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:27:b7:69:b9 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.98/24 brd 172.16.0.255 scope global eth0
]0;root@localhost: /etc/net/ifaces/eth0[root@localhost eth0]# scp [K[K[K[Kcd
]0;root@localhost: /root[root@localhost ~]# pwd
/root
]0;root@localhost: /root[root@localhost ~]# ls [K -la
[0mtotal 92
drwx------ 4 root root 4096 Jul 8 20:07 [01;34m.[0m
drwxr-xr-x 20 root root 4096 Jul 7 14:03 [01;34m..[0m
-rw------- 1 root root 24 Dec 27 2006 [0m.bash_logout[0m
-rw------- 1 root root 106 Dec 27 2006 [0m.bash_profile[0m
-rw------- 1 root root 457 Dec 27 2006 [0m.bashrc[0m
-rw------- 1 root root 218 Dec 27 2006 [0m.cshrc[0m
-rw------- 1 root root 240 Dec 27 2006 [0m.i18n[0m
drwx------ 2 root root 4096 Jul 7 14:22 [01;34m.install-log[0m
-rw------- 1 root root 45 Dec 27 2006 [0m.rpmmacros[0m
-rw------- 1 root root 174 Dec 27 2006 [0m.tcshrc[0m
-rw------- 1 root root 882 Jul 8 20:07 [0m.viminfo[0m
-rw------- 1 root root 3779 Dec 27 2006 [0m.vimrc[0m
-rw------- 1 root root 133 Jul 8 17:40 [0m.xauth80io8a[0m
-rw------- 1 root root 598 Dec 27 2006 [0m.zshrc[0m
-rw-r--r-- 1 root root 1052 Jul 7 14:22 [0mautoinstall.scm[0m
drwx------ 2 root root 4096 Jul 7 14:22 [01;34mtmp[0m
-rw-r--r-- 1 root root 28672 Jul 8 20:07 [0mtypescript[0m
[m]0;root@localhost: /root[root@localhost ~]# exit
Script done on Tue Jul 8 20:09:28 2008