/l3/users/My-Debian-Work/adm.prombez/ol14 :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 |
$su
Пароль: su: Сбой при проверке подлинности |
$ыsu
Пароль: su: Сбой при проверке подлинности |
$su
Пароль: su: Сбой при проверке подлинности |
$ping 193.38.131.107
PING 193.38.131.107 (193.38.131.107) 56(84) bytes of data. ^Z [1]+ Stopped ping 193.38.131.107 |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. 64 bytes from 193.138.131.107: icmp_seq=1 ttl=63 time=142 ms 64 bytes from 193.138.131.107: icmp_seq=2 ttl=63 time=3.81 ms 64 bytes from 193.138.131.107: icmp_seq=4 ttl=63 time=201 ms 64 bytes from 193.138.131.107: icmp_seq=5 ttl=63 time=318 ms 64 bytes from 193.138.131.107: icmp_seq=6 ttl=63 time=53.1 ms 64 bytes from 193.138.131.107: icmp_seq=7 ttl=63 time=51.8 ms 64 bytes from 193.138.131.107: icmp_seq=8 ttl=63 time=106 ms 64 bytes from 193.138.131.107: icmp_seq=9 ttl=63 time=25.1 ms ^Z [2]+ Stopped ping 193.138.131.107 |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. From 193.138.131.124 icmp_seq=1 Destination Host Unreachable From 193.138.131.124 icmp_seq=2 Destination Host Unreachable From 193.138.131.124 icmp_seq=3 Destination Host Unreachable From 193.138.131.124 icmp_seq=5 Destination Host Unreachable From 193.138.131.124 icmp_seq=6 Destination Host Unreachable From 193.138.131.124 icmp_seq=7 Destination Host Unreachable ^Z [1]+ Stopped ping 193.138.131.107 |
$nmap -sT -O localhost
TCP/IP fingerprinting (for OS scan) requires root privileges. QUITTING! |
$su
Пароль: su: Сбой при проверке подлинности |
$зшping 192.168.0.200
PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data. 64 bytes from 192.168.0.200: icmp_seq=1 ttl=128 time=0.251 ms 64 bytes from 192.168.0.200: icmp_seq=2 ttl=128 time=0.247 ms 64 bytes from 192.168.0.200: icmp_seq=3 ttl=128 time=0.268 ms ^Z [1]+ Stopped ping 192.168.0.200 |
$su
|
$su
|
$cat /etc/dhcp3/dhcp.conf
cat: /etc/dhcp3/dhcp.conf: Нет такого файла или каталога |
$cat /etc/dhcp3/dhcpd.conf
#################### мой конфиг ################################### #ddns-update-style none; #option domain-name "prombez"; #option domain-name-servers iserver.prombez; #option domain-name-servers 192.168.0.126; #default-lease-time 600; #max-lease-time 7200; #authoritative; #log-facility local7; #server-name "192.168.0.127"; ... # } #group { next-server 192.168.0.127; # Адресе tftp сервера для загрузки фаила с загрузчиком # host tftpclient { # # аппаратный адрес клиента tftp # hardware ethernet 08:00:27:3F:78:16; filename "pxelinux.0"; # Имя фаила с загрузчиком # # } } |
$cat /etc/dhcp3/dhcpd.conf
#################### мой конфиг ################################### #ddns-update-style none; #option domain-name "prombez"; #option domain-name-servers iserver.prombez; #option domain-name-servers 192.168.0.126; #default-lease-time 600; #max-lease-time 7200; #authoritative; #log-facility local7; #server-name "192.168.0.127"; ... # } #group { next-server 192.168.0.127; # Адресе tftp сервера для загрузки фаила с загрузчиком # host tftpclient { # # аппаратный адрес клиента tftp # hardware ethernet 08:00:27:3F:78:16; filename "pxelinux.0"; # Имя фаила с загрузчиком # # } } |
$su
Пароль: su: Сбой при проверке подлинности |
$ping mail.ru
PING mail.ru (94.100.191.204) 56(84) bytes of data. 64 bytes from 94.100.191.204: icmp_seq=1 ttl=57 time=27.7 ms 64 bytes from 94.100.191.204: icmp_seq=2 ttl=57 time=30.0 ms 64 bytes from 94.100.191.204: icmp_seq=3 ttl=57 time=27.3 ms 64 bytes from 94.100.191.204: icmp_seq=4 ttl=57 time=27.9 ms 64 bytes from 94.100.191.204: icmp_seq=5 ttl=57 time=27.4 ms 64 bytes from 94.100.191.204: icmp_seq=6 ttl=57 time=28.4 ms 64 bytes from 94.100.191.204: icmp_seq=7 ttl=57 time=27.3 ms 64 bytes from 94.100.191.204: icmp_seq=8 ttl=57 time=28.2 ms 64 bytes from 94.100.191.204: icmp_seq=9 ttl=57 time=27.2 ms 64 bytes from 94.100.191.204: icmp_seq=10 ttl=57 time=29.1 ms 64 bytes from 94.100.191.204: icmp_seq=11 ttl=57 time=27.4 ms 64 bytes from 94.100.191.204: icmp_seq=12 ttl=57 time=28.2 ms 64 bytes from 94.100.191.204: icmp_seq=13 ttl=57 time=29.7 ms 64 bytes from 94.100.191.204: icmp_seq=14 ttl=57 time=29.7 ms 64 bytes from 94.100.191.204: icmp_seq=15 ttl=57 time=28.1 ms ^Z [1]+ Stopped ping mail.ru |
$ping mail.ru
200 rdesktop -uol14 -p13r@7t -g1024x768 -a16 -k en-us.fixed 192.168.0.2 WARNING: No translation for (keysym 0xfe0a, ISO_Prev_Group) WARNING: No translation for (keysym 0x6d7, Cyrillic_ve) WARNING: No translation for (keysym 0x6d7, Cyrillic_ve) WARNING: No translation for (keysym 0x6c9, Cyrillic_i) WARNING: No translation for (keysym 0x6c9, Cyrillic_i) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) ... WARNING: No translation for (keysym 0x6c4, Cyrillic_de) WARNING: No translation for (keysym 0x6c4, Cyrillic_de) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) WARNING: No translation for (keysym 0x6ce, Cyrillic_en) WARNING: No translation for (keysym 0x6ce, Cyrillic_en) WARNING: No translation for (keysym 0x6c4, Cyrillic_de) WARNING: No translation for (keysym 0x6c4, Cyrillic_de) |
$ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data. 64 bytes from 192.168.0.200: icmp_seq=1 ttl=128 time=0.231 ms 64 bytes from 192.168.0.200: icmp_seq=2 ttl=128 time=0.275 ms 64 bytes from 192.168.0.200: icmp_seq=3 ttl=128 time=0.241 ms 64 bytes from 192.168.0.200: icmp_seq=4 ttl=128 time=1.46 ms 64 bytes from 192.168.0.200: icmp_seq=5 ttl=128 time=0.246 ms ^Z [1]+ Stopped ping 192.168.0.200 |
$su
Пароль: su: Сбой при проверке подлинности |
$ping buhg-16-1
PING buhg-16-1.prombez (192.168.0.75) 56(84) bytes of data. 64 bytes from buhg-16-1.prombez (192.168.0.75): icmp_seq=1 ttl=128 time=1.78 ms 64 bytes from buhg-16-1.prombez (192.168.0.75): icmp_seq=2 ttl=128 time=0.508 ms ^Z [1]+ Stopped ping buhg-16-1 |
$LAB-313-1 1C:AF:F7:04:B9:34 192.168.2.2 Expired
bash: LAB-313-1: команда не найдена |
$su
Пароль: su: Сбой при проверке подлинности |
$su
Пароль: su: Сбой при проверке подлинности |
$ssh -p2233 192.168.0.126
Linux iserver 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Thu Oct 27 09:52:05 2011 from adm.prombez ol14@iserver:~$ su Пароль: iserver:/home/ol14# data bash: data: команда не найдена iserver:/home/ol14# date Пнд Окт 31 10:18:05 YEKT 2011 iserver:/home/ol14# aptitude uRead from remote host 192.168.0.126: Connection reset by peer Connection to 192.168.0.126 closed. |
$ssh -p2233 192.168.0.126
ssh: connect to host 192.168.0.126 port 2233: Connection refused |
$ssh -p2233 192.168.0.126
ssh: connect to host 192.168.0.126 port 2233: Connection refused |
$ssh -p2233 192.168.0.126
ssh: connect to host 192.168.0.126 port 2233: Connection refused |
$ssh -p2233 192.168.0.126
ssh: connect to host 192.168.0.126 port 2233: Connection refused |
$ping ya.ru
PING ya.ru (93.158.134.203) 56(84) bytes of data. 64 bytes from www.yandex.ru (93.158.134.203): icmp_seq=1 ttl=57 time=28.9 ms 64 bytes from www.yandex.ru (93.158.134.203): icmp_seq=2 ttl=57 time=28.3 ms 64 bytes from www.yandex.ru (93.158.134.203): icmp_seq=3 ttl=57 time=29.1 ms 64 bytes from www.yandex.ru (93.158.134.203): icmp_seq=4 ttl=57 time=29.3 ms 64 bytes from www.yandex.ru (93.158.134.203): icmp_seq=5 ttl=57 time=28.5 ms ^Z [1]+ Stopped ping ya.ru |
$ssh -p2233 192.168.0.126
Linux iserver 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Mon Oct 31 10:17:42 2011 from adm.prombez ol14@iserver:~$ su Пароль: ... Текущее состояние: 0 обновлено [-13]. iserver:/home/ol14# date Пнд Окт 31 11:33:55 YEKT 2011 iserver:/home/ol14# restart bash: restart: команда не найдена iserver:/home/ol14# shutdown -h now Broadcast message from root@iserver (pts/1) (Mon Oct 31 11:34:27 2011): The system is going down for system halt NOW! iserver:/home/ol14# Connection to 192.168.0.126 closed by remote host. Connection to 192.168.0.126 closed. |
$ssh -p2233 192.168.0.126
^Z [2]+ Stopped ssh -p2233 192.168.0.126 |
$ssh -p2233 192.168.0.126
ssh: connect to host 192.168.0.126 port 2233: Connection refused |
$ssh -p2233 193.138.131.107
ssh: connect to host 193.138.131.107 port 2233: No route to host |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. From 193.138.131.124 icmp_seq=2 Destination Host Unreachable From 193.138.131.124 icmp_seq=3 Destination Host Unreachable From 193.138.131.124 icmp_seq=4 Destination Host Unreachable ^Z [1]+ Stopped ping 193.138.131.107 |
$ssh 192.168.0.150
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ae:fa:67:72:18:be:1c:d1:2b:bf:c5:36:52:24:68:c6. Please contact your system administrator. Add correct host key in /home/ol14/.ssh/known_hosts to get rid of this message. Offending key in /home/ol14/.ssh/known_hosts:5 RSA host key for 192.168.0.150 has changed and you have requested strict checking. Host key verification failed. |
$ssh 192.168.0.150
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ae:fa:67:72:18:be:1c:d1:2b:bf:c5:36:52:24:68:c6. Please contact your system administrator. Add correct host key in /home/ol14/.ssh/known_hosts to get rid of this message. Offending key in /home/ol14/.ssh/known_hosts:5 RSA host key for 192.168.0.150 has changed and you have requested strict checking. Host key verification failed. |
$ssh ol14@192.168.0.150
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ae:fa:67:72:18:be:1c:d1:2b:bf:c5:36:52:24:68:c6. Please contact your system administrator. Add correct host key in /home/ol14/.ssh/known_hosts to get rid of this message. Offending key in /home/ol14/.ssh/known_hosts:5 RSA host key for 192.168.0.150 has changed and you have requested strict checking. Host key verification failed. |
$ssh root@192.168.0.150
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ae:fa:67:72:18:be:1c:d1:2b:bf:c5:36:52:24:68:c6. Please contact your system administrator. Add correct host key in /home/ol14/.ssh/known_hosts to get rid of this message. Offending key in /home/ol14/.ssh/known_hosts:5 RSA host key for 192.168.0.150 has changed and you have requested strict checking. Host key verification failed. |
$ssh -p2233 ol14@192.168.0.150
The authenticity of host '[192.168.0.150]:2233 ([192.168.0.150]:2233)' can't be established. RSA key fingerprint is ae:fa:67:72:18:be:1c:d1:2b:bf:c5:36:52:24:68:c6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[192.168.0.150]:2233' (RSA) to the list of known hosts. Password: Password: Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p4 (PROMBEZ1) #0: Wed Nov 2 14:46:54 YEKT 2011 Welcome to FreeBSD! ... x/ppp x 512xFeb 18 2011xx x x x x/rc.d x 3072xFeb 18 2011xx x x x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqutqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu xUP--DIR xxUP--DIR x mqqqqqqqqqqqqqqqqqq 5590M/5917M (94%) qjmqqqqqqqqqqqqqqqqqqqqqq 45G/48G (94%) qj Hint: Please send any bug reports to mc-devel@gnome.org # [^] Read from remote host 192.168.0.150: Connection timed out 1Help 2Menu 3View 4Edit 5Copy 6RenMov 7Mkdir 8Delete 9PullDn10Quit Connection to 192.168.0.150 closed. |
$ssh root@192.168.0.150
200 rdesktop -uol14 -p13r@7t -g1024x768 -a16 -k en-us.fixed 192.168.0.2 WARNING: No translation for (keysym 0x2e, period) WARNING: No translation for (keysym 0x2e, period) WARNING: No translation for (keysym 0x2e, period) WARNING: No translation for (keysym 0x2e, period) WARNING: No translation for (keysym 0x2c, comma) WARNING: No translation for (keysym 0x2c, comma) WARNING: No translation for (keysym 0xfe0a, ISO_Prev_Group) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6cb, Cyrillic_ka) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) WARNING: No translation for (keysym 0x6c1, Cyrillic_a) WARNING: No translation for (keysym 0x6c2, Cyrillic_be) WARNING: No translation for (keysym 0x6c2, Cyrillic_be) WARNING: No translation for (keysym 0x2d, minus) WARNING: No translation for (keysym 0x2d, minus) WARNING: No translation for (keysym 0x2d, minus) WARNING: No translation for (keysym 0x2d, minus) ERROR: recv: Соединение сброшено другой стороной |
$ssh root@192.168.0.150
nslookup iserver Server: 192.168.0.126 Address: 192.168.0.126#53 Name: iserver.prombez Address: 192.168.0.126 |
$ssh -p2233 ol14@192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: No route to host |
$ssh -p2233 ol14@192.168.0.150
last pid: 1953; load averages: 0.00, 0.00, 0.00 up 0+05:46:15 16:10:15 1 2 23 pr 0.4% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.6% idle Mem: 12M Active, 8848K Inact, 24M Wired, 80K Cache, 12M Buf, 437M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1172 root 1 44 0 6092K 3276K select 0:00 0.00% sendmail 1309 root 1 44 0 31264K 6168K select 0:00 0.00% mc pause 1914 root 1 44 0 9436K 4464K select 0:00 0.00% sshd ... 0.4 99.6 # shutdown -h now Shutdown NOW! shutdown: [pid 2005] # *** FINAL System shutdown message from ol14@ *** System going down IMMEDIATELY System shutdown time has arrived Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 ol14@192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: No route to host |
$ssh -p2233 192.168.0.150
defaultrouter="192.168.0.126" named_enable="YES" firewall_enable="YES" firewall_type="/usr/local/etc/firewall.conf" firewall_logging="YES" nat_enable="YES" nat_interface="sk0" ~ ~ ~ ~ :q! # ls -alrc.conf -rw-r--r-- 1 root wheel 614 Nov 3 10:47 /etc/rc.conf # reboot Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
Last login: Wed Nov 9 10:00:38 2011 from adm.prombez Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p4 (PROMBEZ1) #0: Wed Nov 2 14:46:54 YEKT 2011 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section x'n qqqqqqqqqqqqq Size xModify time xx'n Name x Size xModify time x x/.. xUP--DIRxNov 3 10:53xx/.. xUP--DIRxFeb 18 2011x ... # cat og/named.log # shutdown -h now Shutdown NOW! shutdown: [pid 2187] # *** FINAL System shutdown message from ol14@ *** System going down IMMEDIATELY System shutdown time has arrived Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
named.conf [----] 0 L:[163+41 204/213] *(10077/10226b) 32 0x020 x'n /usr/home/ol14 Name x Size xModify time xx'n /var/named/etc/namedb Name x Size xModify time x // x/.. xUP--DIRxNov 3 10:53xx/.. xUP--DIRxNov 9 13:25x // Example slave zone config entries. It can be convenient to become x .login x 261xNov 3 10:53xx/master x 512xNov 9 13:07x // a slave at least for the zone your own domain is in. Ask x .mail_aliases x 383xNov 3 10:53xx/working x 512xFeb 18 2011x // your network administrator for the IP address of the responsible x .profile x 789xNov 3 10:53xx named.root x 3085xFeb 18 2011x ... x supfile x 3942xNov 2 09:53xx x x x x syslog.conf x 1340xNov 9 15:16xx x x x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqutqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 5590M/5917M (94%) qjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 16G/16G (99%) qj # [^] # reeboot reeboot: Command not found. # reboot Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
Left FilerequqCommand/16G Optionses inRight Hint: To use the mouse cut and paste may require holding the shift key UnWrap 3Quit 4Hex 5Goto 6 7Search 8Raw 9Format ===> automake-1.11.1 depends on file: /usr/local/bin/perl5.12.4 - found ===> Patching for automake-1.11.1 ===> automake-1.11.1 depends on file: /usr/local/bin/perl5.12.4 - found ===> Applying FreeBSD patches for automake-1.11.1 ===> automake-1.11.1 depends on file: /usr/local/bin/perl5.12.4 - found ===> automake-1.11.1 depends on file: /usr/local/bin/autoconf-2.68 - not found ===> Verifying install for /usr/local/bin/autoconf-2.68 in /usr/ports/devel/autoconf ... to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: https://www.isc.org/products/DHCP/ ===> Cleaning for isc-dhcp42-server-4.2.3 # reebot reebot: Command not found. # reboot Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
x/.. xUP--DIRxNov 10 14:57xx/.. xUP--DIRxNov 11 07:46x x/.ssh x 512xNov 7 16:02xx/samba x 512xNov 10 15:00x x .cshrc x 763xNov 3 10:53xx auth.log x 5460xNov 11 10:25x x .login x 261xNov 3 10:53xx cron x 80359xNov 11 10:25x x .login_conf x 171xNov 3 10:53xx debug.log x 729xNov 10 14:29x x .mail_aliases x 383xNov 3 10:53xx dmesg.today x 14334xNov 3 03:02x x .mailrc x 343xNov 3 10:53xx ipfw.today x 200xNov 3 03:02x x .profile x 789xNov 3 10:53xx lastlog x 28056xNov 11 10:25x x .rhosts x 288xNov 3 10:53xx lpd-errs x 55xNov 1 14:15x x .shrc x 984xNov 3 10:53xx maillog x 11218xNov 11 07:47x ... firewall_logging="YES" nat_enable="YES" nat_interface="sk0" samba_enable="YES" smdb_enable="YES" nmdb_enable="YES" apache22_enable="YES" # reboot Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
Last login: Fri Nov 11 10:25:32 2011 from 192.168.0.127 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p4 (PROMBEZ1) #0: Wed Nov 2 14:46:54 YEKT 2011 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, ... x x x xx security x 55xNov 1 14:15x x x x xx sendmail.st x 728xNov 11 12:02x x x x xx sendmail.st.0 x 728xNov 10 08:54x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqutqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu xUP--DIR xxUP--DIR x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 45G/48G (93%) qjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 16G/16G (99%) qj Hint: Need to quote a character? Use Control-q and the character. # Connection to 192.168.0.150 closed by remote host. [^] 1Help 2Menu 3View 4Edit 5Copy 6RenMov 7Mkdir 8Delete 9PullDn 10Quit Connection to 192.168.0.150 closed. |
$ssh -p2233 192.168.0.150
Last login: Mon Nov 14 08:10:14 2011 from 192.168.0.127 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p4 (PROMBEZ1) #0: Wed Nov 2 14:46:54 YEKT 2011 Welcome to FreeBSD! Before seeking technical support, please use the following resources: squidGuard.log 3914/7424 52% 2011-11-14 14:59:46 [4803] New setting: dbhome: /var/db/squidGuard 2011-11-14 14:59:46 [4803] New setting: logdir: /var/log 2011-11-14 14:59:46 [4803] init domainlist /var/db/squidGuard/hacking/domains ... # echo "http://adult.com 172.25.1.3/ - - GET" | squidGuard -c /usr/local/etc/squid/squidGuard.conf # shutdown -h now Shutdown NOW! shutdown: [pid 2617] # *** FINAL System shutdown message from ol14@ *** System going down IMMEDIATELY System shutdown time has arrived Connection to 192.168.0.150 closed by remote host. Connection to 192.168.0.150 closed. |
$ssh -p 2233 193.138.131.107
ssh: connect to host 193.138.131.107 port 2233: Connection timed out |
$ssh -p2233 192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: Connection timed out |
$ssh -p2233 192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: Connection timed out |
$ssh -p2233 192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: Connection timed out |
$ssh -p2233 192.168.0.150
ssh: connect to host 192.168.0.150 port 2233: Connection timed out |
$-g1024x768 -a16 -k en-us.fixed 192.168.0.200
200 rdesktop -uol14 -p13r@7t -g1024x768 -a16 -k en-us.fixed 192.168.0.2 |
$su
Пароль: su: Сбой при проверке подлинности |
$ping 192.168.0.74
PING 192.168.0.74 (192.168.0.74) 56(84) bytes of data. From 192.168.0.127 icmp_seq=2 Destination Host Unreachable From 192.168.0.127 icmp_seq=3 Destination Host Unreachable From 192.168.0.127 icmp_seq=4 Destination Host Unreachable ^Z [1]+ Stopped ping 192.168.0.74 |
$ping 192.168.0.48
200 rdesktop -uol14 -p13r@7t -g1024x768 -a16 -k en-us.fixed 192.168.0.2 |
$ping 192.168.0.42
PING 192.168.0.42 (192.168.0.42) 56(84) bytes of data. From 192.168.0.127 icmp_seq=1 Destination Host Unreachable From 192.168.0.127 icmp_seq=2 Destination Host Unreachable From 192.168.0.127 icmp_seq=3 Destination Host Unreachable From 192.168.0.127 icmp_seq=5 Destination Host Unreachable From 192.168.0.127 icmp_seq=6 Destination Host Unreachable From 192.168.0.127 icmp_seq=7 Destination Host Unreachable ^Z [1]+ Stopped ping 192.168.0.42 |
$ping ya.ru
PING ya.ru (87.250.250.203) 56(84) bytes of data. 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=1 ttl=55 time=33.3 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=2 ttl=55 time=33.5 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=3 ttl=55 time=33.8 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=4 ttl=55 time=33.7 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=5 ttl=55 time=33.3 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=6 ttl=55 time=33.6 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=7 ttl=55 time=33.3 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=8 ttl=55 time=33.0 ms 64 bytes from www.yandex.ru (87.250.250.203): icmp_seq=9 ttl=55 time=33.7 ms ^Z [1]+ Stopped ping ya.ru |
$telnet 192.168.0.10
Trying 192.168.0.10... telnet: Unable to connect to remote host: Connection refused |
$ssh 192.168.0.10
ssh: connect to host 192.168.0.10 port 22: Connection refused |
$ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data. 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.341 ms 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=0.308 ms 64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=0.321 ms 64 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=0.333 ms 64 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=0.310 ms 64 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=0.319 ms 64 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=0.322 ms ^Z [1]+ Stopped ping 192.168.2.1 |
$telnet 1092.168.0.10
telnet: could not resolve 1092.168.0.10/telnet: Name or service not known |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. From 193.138.131.124 icmp_seq=1 Destination Host Unreachable From 193.138.131.124 icmp_seq=2 Destination Host Unreachable From 193.138.131.124 icmp_seq=3 Destination Host Unreachable From 193.138.131.124 icmp_seq=5 Destination Host Unreachable From 193.138.131.124 icmp_seq=6 Destination Host Unreachable From 193.138.131.124 icmp_seq=7 Destination Host Unreachable ^Z [1]+ Stopped ping 193.138.131.107 |
$ping 193.131.138.107
PING 193.131.138.107 (193.131.138.107) 56(84) bytes of data. From 193.131.159.2 icmp_seq=2 Time to live exceeded From 193.131.159.2 icmp_seq=3 Time to live exceeded From 193.131.159.2 icmp_seq=4 Time to live exceeded From 193.131.159.2 icmp_seq=5 Time to live exceeded From 193.131.159.2 icmp_seq=6 Time to live exceeded From 193.131.159.2 icmp_seq=7 Time to live exceeded From 193.131.159.2 icmp_seq=8 Time to live exceeded ^Z [2]+ Stopped ping 193.131.138.107 |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. From 193.138.131.124 icmp_seq=1 Destination Host Unreachable From 193.138.131.124 icmp_seq=2 Destination Host Unreachable From 193.138.131.124 icmp_seq=3 Destination Host Unreachable From 193.138.131.124 icmp_seq=4 Destination Host Unreachable From 193.138.131.124 icmp_seq=5 Destination Host Unreachable From 193.138.131.124 icmp_seq=6 Destination Host Unreachable From 193.138.131.124 icmp_seq=7 Destination Host Unreachable From 193.138.131.124 icmp_seq=8 Destination Host Unreachable From 193.138.131.124 icmp_seq=9 Destination Host Unreachable ^Z [3]+ Stopped ping 193.138.131.107 |
$ping 193.138.131.107
PING 193.138.131.107 (193.138.131.107) 56(84) bytes of data. From 193.138.131.124 icmp_seq=1 Destination Host Unreachable From 193.138.131.124 icmp_seq=2 Destination Host Unreachable From 193.138.131.124 icmp_seq=3 Destination Host Unreachable ^Z [4]+ Stopped ping 193.138.131.107 |
$ping 193.131.138.107
PING 193.131.138.107 (193.131.138.107) 56(84) bytes of data. From 193.131.159.2 icmp_seq=1 Time to live exceeded From 193.131.159.2 icmp_seq=2 Time to live exceeded From 193.131.159.2 icmp_seq=3 Time to live exceeded ^Z [5]+ Stopped ping 193.131.138.107 |
$зшping 192.168.20.1
PING 192.168.20.1 (192.168.20.1) 56(84) bytes of data. 64 bytes from 192.168.20.1: icmp_seq=1 ttl=64 time=0.327 ms 64 bytes from 192.168.20.1: icmp_seq=2 ttl=64 time=0.306 ms 64 bytes from 192.168.20.1: icmp_seq=3 ttl=64 time=0.314 ms 64 bytes from 192.168.20.1: icmp_seq=4 ttl=64 time=0.317 ms 64 bytes from 192.168.20.1: icmp_seq=5 ttl=64 time=0.326 ms ^Z [1]+ Stopped ping 192.168.20.1 |
$ping 192.168.0.69
PING 192.168.0.69 (192.168.0.69) 56(84) bytes of data. From 192.168.0.127 icmp_seq=2 Destination Host Unreachable From 192.168.0.127 icmp_seq=3 Destination Host Unreachable From 192.168.0.127 icmp_seq=4 Destination Host Unreachable From 192.168.0.127 icmp_seq=6 Destination Host Unreachable From 192.168.0.127 icmp_seq=7 Destination Host Unreachable From 192.168.0.127 icmp_seq=8 Destination Host Unreachable From 192.168.0.127 icmp_seq=10 Destination Host Unreachable From 192.168.0.127 icmp_seq=11 Destination Host Unreachable From 192.168.0.127 icmp_seq=12 Destination Host Unreachable ... From 192.168.0.127 icmp_seq=5173 Destination Host Unreachable From 192.168.0.127 icmp_seq=5174 Destination Host Unreachable From 192.168.0.127 icmp_seq=5176 Destination Host Unreachable From 192.168.0.127 icmp_seq=5177 Destination Host Unreachable From 192.168.0.127 icmp_seq=5178 Destination Host Unreachable From 192.168.0.127 icmp_seq=5180 Destination Host Unreachable From 192.168.0.127 icmp_seq=5181 Destination Host Unreachable From 192.168.0.127 icmp_seq=5182 Destination Host Unreachable ^Z [2]+ Stopped ping 192.168.0.69 |
$ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200) 56(84) bytes of data. 64 bytes from 192.168.0.200: icmp_seq=1 ttl=128 time=0.268 ms 64 bytes from 192.168.0.200: icmp_seq=2 ttl=128 time=0.267 ms 64 bytes from 192.168.0.200: icmp_seq=3 ttl=128 time=0.253 ms ^Z [1]+ Stopped ping 192.168.0.200 |
$ping 192.168.0.126
PING 192.168.0.126 (192.168.0.126) 56(84) bytes of data. From 192.168.0.127 icmp_seq=2 Destination Host Unreachable From 192.168.0.127 icmp_seq=5 Destination Host Unreachable From 192.168.0.127 icmp_seq=6 Destination Host Unreachable ^X^Z [2]+ Stopped ping 192.168.0.126 |
$ping 193.138.131.108
PING 193.138.131.108 (193.138.131.108) 56(84) bytes of data. 64 bytes from 193.138.131.108: icmp_seq=1 ttl=47 time=2.97 ms 64 bytes from 193.138.131.108: icmp_seq=2 ttl=47 time=0.436 ms 64 bytes from 193.138.131.108: icmp_seq=3 ttl=47 time=0.467 ms 64 bytes from 193.138.131.108: icmp_seq=4 ttl=47 time=0.436 ms 64 bytes from 193.138.131.108: icmp_seq=5 ttl=47 time=0.471 ms ^Z [1]+ Stopped ping 193.138.131.108 |
$ping 193.138.131.172
PING 193.138.131.172 (193.138.131.172) 56(84) bytes of data. ^Z [2]+ Stopped ping 193.138.131.172 |
#################### мой конфиг ################################### #ddns-update-style none; #option domain-name "prombez"; #option domain-name-servers iserver.prombez; #option domain-name-servers 192.168.0.126; #default-lease-time 600; #max-lease-time 7200; #authoritative; #log-facility local7; #server-name "192.168.0.127"; #subnet 192.168.0.0 netmask 255.255.255.0 { #pool { # option domain-name-servers iserver.prombez; # option domain-name "prombez"; # range 192.168.0.240 192.168.0.250; # option broadcast-address 192.168.0.255; # option routers 192.168.0.126; # option domain-name-servers 192.168.0.126; # option ntp-servers 192.168.0.126; # # next-server 192.168.0.127; # Адресе tftp сервера для загрузки фаила с загрузчиком # filename "pxelinux.0"; # Имя фаила с загрузчиком #} #} ########################## Переделал ################################## option domain-name "prombez"; option domain-name-servers iserver.prombezm; option subnet-mask 255.255.255.0; default-lease-time 600; max-lease-time 7200; #allow booting; #allow bootp; authoritative; log-facility local7; server-name "192.168.0.127"; # нужно изменить согласно вашим настройкам subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.240 192.168.0.250; option broadcast-address 192.168.1.255; # адрес шлюза option routers 192.168.0.126; # используемый dns option domain-name-servers 192.168.0.126; option ntp-servers 192.168.0.126; # } #group { next-server 192.168.0.127; # Адресе tftp сервера для загрузки фаила с загрузчиком # host tftpclient { # # аппаратный адрес клиента tftp # hardware ethernet 08:00:27:3F:78:16; filename "pxelinux.0"; # Имя фаила с загрузчиком # # } }
Время первой команды журнала | 06:39:25 2011- 8-19 | |||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:36:52 2012- 1-26 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 78.22 | |||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.95 | |||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.26 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.75 | |||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008