/l3/users/29-05-2007/nt-lnet/linux1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 |
|
#cd /mnt/
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. [root@linux2:~]# ssh -f -N -L 3400:192.168.16. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:18 RSA host key for 192.168.16.2 has changed and you have requested strict checking. Host key verification failed. [root@linux2:~]# ssh-keygen -R 192.168.16.2 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old ... root@192.168.16.2's password: bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 3400 Could not request local forwarding. [root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2 root@192.168.16.2's password: [root@linux2:~]# exit Connection to 192.168.16.2 closed. [root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh ;inux2 |
#netstat -lnp | grep :36
|
#ssh 192.168.16.2
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid |
#cd /media/
[root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) cdrom/ cdrom0/ floppy/ floppy0/ SVL_FOLDER/ |
#cd /media/SVL_FOLDER/
|
#netstat -lnp | grep :3
tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) |
#ssh -L 192.168.16.2:110 -f -N -p 3900 192.168.16.1
[root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) Bad local forwarding specification '192.168.16.2:110' |
#ls -li
иÑого 1387816 oc 1040 -rwx------ 1 user user 520192 2007-02-06 09:29 Ð ÐÐ³Ð»Ð°Ð¼ÐµÐ½Ñ Ð¿Ð¾ оÑенке пеÑÑонала).doc 1048 -rwx------ 1 user user 193024 2007-04-27 17:38 УÑÑановка Exchange 2003.doc 1044 -rwx------ 1 user user 161 2007-01-25 14:45 cd-keyMS_apl_PrioCom.txt 1038 drwx------ 2 user user 4096 2007-03-30 08:56 Instructions! 1039 drwx------ 2 user user 4096 2007-03-30 08:56 jira 1041 -rwx------ 1 user user 262656 2007-03-30 12:27 komp.doc 1046 -rwx------ 1 user user 3405194 2007-04-20 11:19 oracle_data_guard.pdf 1047 -rwx------ 1 user user 1599554 2007-04-20 12:34 oracle_data_guard_ru.pdf 1037 -rwx------ 1 user user 731356442 2007-05-17 15:53 Poslanniki.DVDRip.INTERFILM.avi 1045 -rwx------ 1 user user 25600 2007-04-16 12:13 SA_NIGMA_User.doc 1049 -rwx------ 1 user user 683528192 2007-03-04 05:40 Stigmata.avi 1036 -r-x------ 1 user user 194560 2007-03-21 15:54 ÐÑÑÑÑ Ð |
#mpa
[root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) mpack mpartition |
#pl
[root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) pl2pm plipconfig |
#pl2pm
|
#ssh -L 36000:192.168.16.2:110 -f -N 192.168.16.1
Connection to 192.168.16.2 closed. [root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) |
#ssh 192.168.16.1 netstat -lnp | grep :36
Connection to 192.168.16.2 closed. [root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) |
#netstat -lnp | grep :3
tcp 0 0 127.0.0.1:36000 0.0.0.0:* LISTEN 3146/ssh tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:36000 :::* LISTEN 3146/ssh tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) |
#exit
Connection to 192.168.16.2 closed. |
#ssh -L 36000:192.168.16.1:110 -f -N 192.168.16.2
[root@linux1:~]# netstat -lnp | grep :36 [root@linux1:~]# ssh 192.168.16.2 Enter passphrase for key '/root/.ssh/id_rsa': Last login: Thu May 31 16:10:54 2007 Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) Enter passphrase for key '/root/.ssh/id_rsa': |
#netstat -lnp | grep 36
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) tcp 0 0 127.0.0.1:36000 0.0.0.0:* LISTEN 24940/ssh tcp6 0 0 ::1:36000 :::* LISTEN 24940/ssh unix 2 [ ACC ] STREAM LISTENING 7936 2712/gpm /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 62734 21943/gnome-panel /tmp/orbit-user/linc-55b7-0-24993c308d236 unix 2 [ ACC ] STREAM LISTENING 66257 23628/epiphany /tmp/orbit-user/linc-5c4c-0-6ea2c75e876e7 |
#telnet 192.168.16.1 36000
Trying 192.168.16.1... telnet: Unable to connect to remote host: Connection refused |
#telnet 127.0.0.1 36000
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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. l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid [root@linux2:~]# netstat -lnp | grep :3 tcp 0 0 127.0.0.1:3400 0.0.0.0:* LISTEN 2863/ssh tcp 0 0 127.0.0.1:3600 0.0.0.0:* LISTEN 3052/ssh tcp 0 0 0.0.0.0:33333 0.0.0.0:* LISTEN 2615/xinetd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 2665/(squid) tcp6 0 0 ::1:3400 :::* LISTEN 2863/ssh tcp6 0 0 ::1:3600 :::* LISTEN 3052/ssh udp 0 0 0.0.0.0:32769 0.0.0.0:* 2665/(squid) udp 0 0 0.0.0.0:3130 0.0.0.0:* 2665/(squid) Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. channel 2: open failed: connect failed: Connection refused Connection closed by foreign host. |
#telnet 127.0.0.1 36000
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. channel 2: open failed: connect failed: Connection refused Connection closed by foreign host. |
#telnet 127.0.0.1 36000
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. channel 2: open failed: connect failed: Connection refused Connection closed by foreign host. |
#reboot
Broadcast message from root@linux1 (pts/5) (Thu May 31 16:15:40 2007): The system is going down for reboot NOW! |
#scp root@192.168.16.2:/etc/sshd_config ~./
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/et Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory |
#scp root@192.168.16.2:/etc/ssh/sshd_config ~./
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory |
#scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 |
#ls
! install q wall |
#scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory [root@linux1:~]# root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#scp root@192.168.16.3:/etc/ssh/sshd_config ~/sshd_config.new
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory root@192.168.16.3's password: sshd_config 100% 1874 1.8KB/s 00:00 |
#vipw
bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/bin/sh man:x:6:12:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh ... ~ ~ ~ ~ ~ ~ ~ ~ ~ vipw: /etc/passwd не был изменён |
#man vipw
|
#cat /etc/shadow
root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: daemon:*:13657:0:99999:7::: bin:*:13657:0:99999:7::: sys:*:13657:0:99999:7::: sync:*:13657:0:99999:7::: games:*:13657:0:99999:7::: man:*:13657:0:99999:7::: lp:*:13657:0:99999:7::: mail:*:13657:0:99999:7::: news:*:13657:0:99999:7::: ... Debian-exim:!:13657:0:99999:7::: statd:!:13657:0:99999:7::: identd:!:13657:0:99999:7::: messagebus:!:13657:0:99999:7::: avahi:!:13657:0:99999:7::: haldaemon:!:13657:0:99999:7::: gdm:!:13657:0:99999:7::: hplip:!:13657:0:99999:7::: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: sshd:!:13658:0:99999:7::: |
#john
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory bash: john: command not found |
#apt-cache search john
libtext-typography-perl - markup ASCII text with correct typography for HTML libxml-catalog-perl - Perl module for resolving public and system identifiers mpb - MIT Photonic-Bands mpb-doc - MIT Photonic-Bands documentation mpb-mpi - MIT Photonic-Bands, parallel (mpich) version mserv - local centralised multiuser music server phpgroupware-phonelog - phpGroupWare phone logging module python-markdown - text-to-HTML conversion library/tool r-base - GNU R statistical computing language and environment r-base-core - GNU R core of statistical computing language and environment ... tclx8.4-dev - Extended Tcl (TclX) - development package tclx8.4-doc - Extended Tcl (TclX) - manpages texlive-omega - TeX Live: Omega tkx8.3 - Extended Tcl (TclX) version 8.3.5 -- TkX runtime package tkx8.3-dev - Extended Tcl (TclX) version 8.3.5 -- TkX development package tkx8.3-doc - Extended Tcl (TclX) version 8.3.5 -- TkX manpages vcf - audio EQ biquad filters for LADSPA xlife - John Conway's Game of Life, for X11 xmorph - digital image warp and morph (x11) zivot - the game of life, simple console version |
#apt-cache search john | grep ripper
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#apt-cache search password
sks-ecc - Cryptographic tool based on ECC smb-nat - Netbios Auditing Tool sork-passwd-h3 - Horde3 module for users to change their password specter - packet logger for netfilter's ULOG target specter-mysql - packet logger for netfilter's ULOG target [mySQL] specter-pgsql - packet logger for netfilter's ULOG target [PostgreSQL] sshpass - Non-interactive ssh password authentication synergy - Share mouse, keyboard and clipboard over the network sysrqd - small daemon intended to manage Linux SysRq over network tcllib - the Standard Tcl Library ... witalian - The Italian dictionary words for /usr/share/dict/ wvdial - PPP dialer with built-in intelligence xarchiver - GTK frontend for most used compression formats xdm - X display manager yardradius - YARD Radius Auth/Acct Server zope-exuserfolder - extensible user authentication product for zope zope-passwordresettool - password reset tool for Plone zsafe - Password manager with encryption chntpw - NT SAM password recovery utility gksu - graphical frontend to su |
#apt-cache search password | grep crack
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 ... crack-common - Password guessing program crack-md5 - Password guessing program cracklib-runtime - runtime support for password checker library cracklib2 cracklib2 - pro-active password checker library cracklib2-dev - pro-active password checker library - development fcrackzip - password cracker for zip archives libpam-cracklib - PAM module to enable cracklib support libpam-passwdqc - replacement for the pam_cracklib module medussa - Distributed password cracking system pdfcrack - PDF files password cracker |
#cat /etc/shadow
Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: daemon:*:13657:0:99999:7::: bin:*:13657:0:99999:7::: sys:*:13657:0:99999:7::: ... Debian-exim:!:13657:0:99999:7::: statd:!:13657:0:99999:7::: identd:!:13657:0:99999:7::: messagebus:!:13657:0:99999:7::: avahi:!:13657:0:99999:7::: haldaemon:!:13657:0:99999:7::: gdm:!:13657:0:99999:7::: hplip:!:13657:0:99999:7::: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: sshd:!:13658:0:99999:7::: |
#shadowconfig
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Usage: /sbin/shadowconfig on | off |
#apt-get install crack
[root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ... Получено:1 http://debian.org.ua etch/main crack-common 5.0a-9 [2863kB] Получено:2 http://debian.org.ua etch/main crack 5.0a-9 [27,7kB] Получено 2890kB за 14s (195kB/c) Выбор ранее не выбранного пакета crack-common. (Чтение базы данных... на данный момент установлено 86496 файлов и каталогов.) Распаковывается пакет crack-common (из файла .../crack-common_5.0a-9_all.deb)... Выбор ранее не выбранного пакета crack. Распаковывается пакет crack (из файла .../archives/crack_5.0a-9_i386.deb)... Настраивается пакет crack-common (5.0a-9) ... Настраивается пакет crack (5.0a-9) ... |
#dpkg -L crack
! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory /. /usr /usr/sbin /usr/sbin/Crack /usr/sbin/Crack-Reporter /usr/lib ... /usr/share/doc-base/crack /etc /etc/Crack /var /var/run /var/run/Crack /var/run/Crack/bin /usr/lib/Crack/xdawg /usr/share/Crack/run /var/run/Crack/bin/debian |
#dpkg -L crack
/. /usr /usr/sbin /usr/sbin/Crack /usr/sbin/Crack-Reporter /usr/lib /usr/lib/Crack /usr/lib/Crack/cracker /usr/lib/Crack/dawg /usr/lib/Crack/dictfilt ... /usr/share/doc-base/crack /etc /etc/Crack /var /var/run /var/run/Crack /var/run/Crack/bin /usr/lib/Crack/xdawg /usr/share/Crack/run /var/run/Crack/bin/debian |
#man crack
|
#dpkg -L crack
/. /usr /usr/sbin /usr/sbin/Crack /usr/sbin/Crack-Reporter /usr/lib /usr/lib/Crack /usr/lib/Crack/cracker /usr/lib/Crack/dawg /usr/lib/Crack/dictfilt ... /usr/share/doc-base/crack /etc /etc/Crack /var /var/run /var/run/Crack /var/run/Crack/bin /usr/lib/Crack/xdawg /usr/share/Crack/run /var/run/Crack/bin/debian |
#/usr/sbin/Crack
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 ... [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Crack 5.0a: The Password Cracker. (c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996 System: Linux linux1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux Home: /usr/share/Crack Invoked: ./Crack Stamp: debian Usage: Crack [options] [bindir] [[-fmt format] files]... |
#/usr/sbin/Crack /etc/shadow
~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Crack 5.0a: The Password Cracker. ... Crack: Created new dictionaries... Crack: Sorting out and merging feedback, please be patient... Crack: Merging password files... cat: run/F-merged: No such file or directory sort: Warning: "+number" syntax is deprecated, please use "-k number" Crack: Creating gecos-derived dictionaries mkgecosd: making non-permuted words dictionary mkgecosd: making permuted words dictionary Crack: launching: cracker -kill run/Klinux1.4427 Done |
#man crack
|
#/usr/sbin/Crack
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Crack Crack-Reporter |
#/usr/sbin/Crack-Reporter
---- passwords cracked as of Чтв Май 31 16:48:01 EEST 2007 ---- ---- errors and warnings ---- bad format: /etc/shadow: avahi:!:13657:0:99999:7::: bad format: /etc/shadow: backup:*:13657:0:99999:7::: bad format: /etc/shadow: bin:*:13657:0:99999:7::: bad format: /etc/shadow: daemon:*:13657:0:99999:7::: bad format: /etc/shadow: Debian-exim:!:13657:0:99999:7::: bad format: /etc/shadow: dictd:!:13657:0:99999:7::: bad format: /etc/shadow: games:*:13657:0:99999:7::: bad format: /etc/shadow: gdm:!:13657:0:99999:7::: ... bad format: /etc/shadow: proxy:*:13657:0:99999:7::: bad format: /etc/shadow: root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: bad format: /etc/shadow: sshd:!:13658:0:99999:7::: bad format: /etc/shadow: statd:!:13657:0:99999:7::: bad format: /etc/shadow: sync:*:13657:0:99999:7::: bad format: /etc/shadow: sys:*:13657:0:99999:7::: bad format: /etc/shadow: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: bad format: /etc/shadow: uucp:*:13657:0:99999:7::: bad format: /etc/shadow: www-data:*:13657:0:99999:7::: ---- done ---- |
#cat /etc/shadow
Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: daemon:*:13657:0:99999:7::: bin:*:13657:0:99999:7::: sys:*:13657:0:99999:7::: ... Debian-exim:!:13657:0:99999:7::: statd:!:13657:0:99999:7::: identd:!:13657:0:99999:7::: messagebus:!:13657:0:99999:7::: avahi:!:13657:0:99999:7::: haldaemon:!:13657:0:99999:7::: gdm:!:13657:0:99999:7::: hplip:!:13657:0:99999:7::: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: sshd:!:13658:0:99999:7::: |
#cat /etc/shadow | print {
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Warning: unknown mime-type for "{}" -- using "application/*" Error: no such file "{}" |
#cat /etc/shadow | print {'print $2'}
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Warning: unknown mime-type for "{print $2}" -- using "application/*" Error: no such file "{print $2}" |
#cat /etc/shadow > print {'print $2'}
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory cat: {print $2}: No such file or directory |
#cat /etc/shadow | print '{print $2}'
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Warning: unknown mime-type for "{print $2}" -- using "application/*" Error: no such file "{print $2}" |
#cat /etc/shadow | awk '{print $2}'
Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#cat /etc/shadow > awk '{print $2}'
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory cat: {print $2}: No such file or directory |
#cat /etc/shadow | awk '{print $2}'
Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#cat /etc/shadow | awk '{print $1}'
root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: daemon:*:13657:0:99999:7::: bin:*:13657:0:99999:7::: sys:*:13657:0:99999:7::: sync:*:13657:0:99999:7::: games:*:13657:0:99999:7::: man:*:13657:0:99999:7::: lp:*:13657:0:99999:7::: mail:*:13657:0:99999:7::: news:*:13657:0:99999:7::: ... Debian-exim:!:13657:0:99999:7::: statd:!:13657:0:99999:7::: identd:!:13657:0:99999:7::: messagebus:!:13657:0:99999:7::: avahi:!:13657:0:99999:7::: haldaemon:!:13657:0:99999:7::: gdm:!:13657:0:99999:7::: hplip:!:13657:0:99999:7::: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: sshd:!:13658:0:99999:7::: |
#cd ..
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
bin boot cdrom dev etc home initrd initrd.img lib log lost+found media mnt opt proc root sbin selinux srv sys tmp usr var vmlinuz |
#ls -al
[root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory итого 100 drwxr-xr-x 22 root root 4096 2007-05-29 10:44 . ... dr-xr-xr-x 125 root root 0 2007-05-31 16:16 proc drwxr-xr-x 6 root root 4096 2007-05-31 16:50 root drwxr-xr-x 2 root root 4096 2007-05-31 10:31 sbin drwxr-xr-x 2 root root 4096 2007-03-08 00:56 selinux drwxr-xr-x 2 root root 4096 2007-05-24 18:41 srv drwxr-xr-x 11 root root 0 2007-05-31 16:16 sys drwxrwxrwt 10 root root 4096 2007-05-31 16:51 tmp drwxr-xr-x 12 root root 4096 2007-05-24 20:23 usr drwxr-xr-x 16 root root 4096 2007-05-30 13:08 var lrwxrwxrwx 1 root root 25 2007-05-24 18:44 vmlinuz -> boot/vmlinuz-2.6.18-4-686 |
#cd ..
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#cd ..
|
#ls
bin boot cdrom dev etc home initrd initrd.img lib log lost+found media mnt opt proc root sbin selinux srv sys tmp usr var vmlinuz |
#ls -al
[root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory итого 100 drwxr-xr-x 22 root root 4096 2007-05-29 10:44 . ... dr-xr-xr-x 125 root root 0 2007-05-31 16:16 proc drwxr-xr-x 6 root root 4096 2007-05-31 16:50 root drwxr-xr-x 2 root root 4096 2007-05-31 10:31 sbin drwxr-xr-x 2 root root 4096 2007-03-08 00:56 selinux drwxr-xr-x 2 root root 4096 2007-05-24 18:41 srv drwxr-xr-x 11 root root 0 2007-05-31 16:16 sys drwxrwxrwt 10 root root 4096 2007-05-31 16:51 tmp drwxr-xr-x 12 root root 4096 2007-05-24 20:23 usr drwxr-xr-x 16 root root 4096 2007-05-30 13:08 var lrwxrwxrwx 1 root root 25 2007-05-24 18:44 vmlinuz -> boot/vmlinuz-2.6.18-4-686 |
#cd ~
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
! awk install print q sshd_config.new wall |
#cd /
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#cd /home/user/
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
Desktop |
#cd
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory Desktop/ .gconf/ .gnome/ .gnome2_private/ .lilalo/ .mozilla/ .openoffice.org2/ .thumbnails/ .wireshark/ .evolution/ .gconfd/ .gnome2/ .gstreamer-0.10/ .metacity/ .nautilus/ .ssh/ .update-notifier/ .xine/ |
#cd
Desktop/ .gconf/ .gnome/ .gnome2_private/ .lilalo/ .mozilla/ .openoffice.org2/ .thumbnails/ .wireshark/ .evolution/ .gconfd/ .gnome2/ .gstreamer-0.10/ .metacity/ .nautilus/ .ssh/ .update-notifier/ .xine/ |
#cd Desktop/
|
#ls
greasy-00f7a189ce.desktop Скачивание |
#cd Скачивание/
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
john-1.7.0.2.tar.gz |
#cp john-1.7.0.2.tar.gz ~/
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#cd ~
|
#ls
! awk install john-1.7.0.2.tar.gz print q sshd_config.new wall |
#tar -zxvf john-1.7.0.2.tar.gz
john-1.7.0.2/src/sparc64.h john-1.7.0.2/src/x86-64.h john-1.7.0.2/src/sboxes.c john-1.7.0.2/src/ppc32.h john-1.7.0.2/src/ppc64.h john-1.7.0.2/src/ppc-alti.c john-1.7.0.2/src/ppc-alti.pl john-1.7.0.2/src/ppc32alt.h john-1.7.0.2/src/ppc64alt.h john-1.7.0.2/src/sparc32.h ... john-1.7.0.2/doc/MODES john-1.7.0.2/doc/CONFIG john-1.7.0.2/doc/RULES john-1.7.0.2/doc/EXTERNAL john-1.7.0.2/doc/EXAMPLES john-1.7.0.2/doc/CREDITS john-1.7.0.2/doc/FAQ john-1.7.0.2/doc/LICENSE john-1.7.0.2/doc/CONTACT john-1.7.0.2/README |
#cd john-1.7.0.2/
|
#make install
make: *** Нет правила для сборки цели `install'. Останов. |
#ls
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory doc README run src |
#cd src/
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
AFS_fmt.c best.c charset.h cracker.c DES_fmt.c formats.h john.asm loader.h MD5_fmt.c misc.c pa-risc.h ppc-alti.c rules.h sparc64.h tty.c wordlist.h alpha.h best.sh common.c cracker.h DES_std.c getopt.c john.c logger.c MD5_std.c misc.h path.c ppc-alti.pl sboxes.c sparc.S tty.h x86-64.h alpha.S BF_fmt.c common.h crc32.c DES_std.h getopt.h john.com logger.h MD5_std.h nonstd.c path.h recovery.c signals.c sparc.sh unafs.c x86-any.h batch.c BF_std.c compiler.c crc32.h detect.c idle.c list.c Makefile memory.c options.c ppc32alt.h recovery.h signals.h status.c unique.c x86-mmx.h batch.h BF_std.h compiler.h DES_bs_b.c external.c idle.h list.h Makefile.dep memory.h options.h ppc32.h rpp.c single.c status.h unshadow.c x86-mmx.S bench.c BSDI_fmt.c config.c DES_bs.c external.h inc.c LM_fmt.c math.c mips32.h params.c ppc64alt.h rpp.h single.h symlink.c vax.h x86.S bench.h charset.c config.h DES_bs.h formats.c inc.h loader.c math.h mips64.h params.h ppc64.h rules.c sparc32.h times.h wordlist.c |
#make install
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory make: *** Нет правила для сборки цели `install'. Останов. |
#cd ..
|
#cd run/
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
all.chr alnum.chr alpha.chr digits.chr john.conf lanman.chr mailer password.lst |
#cd ..
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
doc README run src |
#cd src/
|
#ls
AFS_fmt.c best.c charset.h cracker.c DES_fmt.c formats.h john.asm loader.h MD5_fmt.c misc.c pa-risc.h ppc-alti.c rules.h sparc64.h tty.c wordlist.h alpha.h best.sh common.c cracker.h DES_std.c getopt.c john.c logger.c MD5_std.c misc.h path.c ppc-alti.pl sboxes.c sparc.S tty.h x86-64.h alpha.S BF_fmt.c common.h crc32.c DES_std.h getopt.h john.com logger.h MD5_std.h nonstd.c path.h recovery.c signals.c sparc.sh unafs.c x86-any.h batch.c BF_std.c compiler.c crc32.h detect.c idle.c list.c Makefile memory.c options.c ppc32alt.h recovery.h signals.h status.c unique.c x86-mmx.h batch.h BF_std.h compiler.h DES_bs_b.c external.c idle.h list.h Makefile.dep memory.h options.h ppc32.h rpp.c single.c status.h unshadow.c x86-mmx.S bench.c BSDI_fmt.c config.c DES_bs.c external.h inc.c LM_fmt.c math.c mips32.h params.c ppc64alt.h rpp.h single.h symlink.c vax.h x86.S bench.h charset.c config.h DES_bs.h formats.c inc.h loader.c math.h mips64.h params.h ppc64.h rules.c sparc32.h times.h wordlist.c |
#ls -al
-rw------- 1 root root 920 2005-05-04 18:26 ppc64.h -rw------- 1 root root 12407 2005-05-04 20:18 ppc-alti.c -rw------- 1 root root 677 2005-02-15 18:52 ppc-alti.pl -rw------- 1 root root 5376 2006-02-27 05:46 recovery.c -rw------- 1 root root 1434 2006-02-27 05:46 recovery.h -rw------- 1 root root 2444 2006-03-20 01:33 rpp.c -rw------- 1 root root 1334 1998-12-02 01:08 rpp.h -rw------- 1 root root 13907 2005-11-12 18:19 rules.c -rw------- 1 root root 1987 1998-12-02 01:08 rules.h -rw------- 1 root root 13027 2004-06-02 16:18 sboxes.c ... -rw------- 1 root root 4166 2006-01-09 16:18 unique.c -rw------- 1 root root 2865 2006-01-09 16:18 unshadow.c -rw------- 1 root root 904 2000-08-24 01:16 vax.h -rw------- 1 root root 4859 2006-02-27 05:46 wordlist.c -rw------- 1 root root 400 1998-12-02 01:08 wordlist.h -rw------- 1 root root 906 2003-10-10 06:27 x86-64.h -rw------- 1 root root 1006 2001-07-26 18:00 x86-any.h -rw------- 1 root root 1254 2002-04-11 20:55 x86-mmx.h -rw------- 1 root root 27411 2005-09-01 19:03 x86-mmx.S -rw------- 1 root root 26675 2006-02-27 05:46 x86.S |
#cd ..
[root@linux1:~]# [root@linux1:~]# scp root@192.168.16.2:/etc/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': scp: /etc/sshd_config: No such file or directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./ Enter passphrase for key '/root/.ssh/id_rsa': ~./: Is a directory [root@linux1:~]# scp root@192.168.16.2:/etc/ssh/sshd_config ~./sshd_config.new Enter passphrase for key '/root/.ssh/id_rsa': Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory |
#ls
doc README run src |
#cat README
types used on OpenVMS, hashes used by MySQL, Netscape LDAP server, Eggdrop IRC bot, S/Key skeykeys files, and for Kerberos v4 TGTs. Unlike other crackers, John doesn't use a crypt(3)-style routine. Instead, it has its own highly optimized modules for different hash types and processor architectures. Some of the algorithms used, such as bitslice DES, couldn't have been implemented within the crypt(3) API; they require a more powerful interface such as the one used in John. Additionally, there are assembly language routines for several processor architectures, most importantly for x86 with MMX. Documentation. ... * EXTERNAL (*) - defining an external mode * EXAMPLES - usage examples - strongly recommended * FAQ - guess * CHANGES (*) - history of changes * CONTACT (*) - how to contact the author or otherwise obtain support * CREDITS (*) - credits * LICENSE - copyrights and licensing terms (*) most users can safely skip these. Happy reading! $Owl: Owl/packages/john/john/doc/README,v 1.14 2006/01/10 19:51:49 solar Exp $ |
#vi doc/INSTALL
|
Connection closed by 192.168.16.2 [root@linux1:~]# ls ! install q wall [root@linux1:~]# scp root@192.168.16.3:/etc/ssh/sshd_config ~./sshd_config.new root@192.168.16.3's password: ~./sshd_config.new: No such file or directory root:$1$u.01elXJ$0UGTjgjMFUzlj/kwIRyrm1:13657:0:99999:7::: daemon:*:13657:0:99999:7::: bin:*:13657:0:99999:7::: sys:*:13657:0:99999:7::: sync:*:13657:0:99999:7::: games:*:13657:0:99999:7::: man:*:13657:0:99999:7::: lp:*:13657:0:99999:7::: mail:*:13657:0:99999:7::: news:*:13657:0:99999:7::: uucp:*:13657:0:99999:7::: proxy:*:13657:0:99999:7::: www-data:*:13657:0:99999:7::: backup:*:13657:0:99999:7::: list:*:13657:0:99999:7::: irc:*:13657:0:99999:7::: gnats:*:13657:0:99999:7::: nobody:*:13657:0:99999:7::: dictd:!:13657:0:99999:7::: Debian-exim:!:13657:0:99999:7::: statd:!:13657:0:99999:7::: identd:!:13657:0:99999:7::: messagebus:!:13657:0:99999:7::: avahi:!:13657:0:99999:7::: haldaemon:!:13657:0:99999:7::: gdm:!:13657:0:99999:7::: hplip:!:13657:0:99999:7::: user:$1$fNNzlXJ4$gY21YCjOCG2Ko3TErnO.o/:13657:0:99999:7::: sshd:!:13658:0:99999:7:::
types used on OpenVMS, hashes used by MySQL, Netscape LDAP server, Eggdrop IRC bot, S/Key skeykeys files, and for Kerberos v4 TGTs. Unlike other crackers, John doesn't use a crypt(3)-style routine. Instead, it has its own highly optimized modules for different hash types and processor architectures. Some of the algorithms used, such as bitslice DES, couldn't have been implemented within the crypt(3) API; they require a more powerful interface such as the one used in John. Additionally, there are assembly language routines for several processor architectures, most importantly for x86 with MMX. Documentation. The rest of documentation is located in separate files, listed here in the recommended order of reading: * INSTALL - installation instructions * OPTIONS - command line options and additional utilities * MODES - cracking modes: what they are * CONFIG (*) - how to customize * RULES (*) - wordlist rules syntax * EXTERNAL (*) - defining an external mode * EXAMPLES - usage examples - strongly recommended * FAQ - guess * CHANGES (*) - history of changes * CONTACT (*) - how to contact the author or otherwise obtain support * CREDITS (*) - credits * LICENSE - copyrights and licensing terms (*) most users can safely skip these. Happy reading! $Owl: Owl/packages/john/john/doc/README,v 1.14 2006/01/10 19:51:49 solar Exp $
Время первой команды журнала | 16:11:10 2007- 5-31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:01:40 2007- 5-31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 20.79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.84 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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