Журнал лабораторных работ

Содержание

Журнал

Четверг (05/31/07)

/dev/pts/15
16:11:10
#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
/dev/pts/0
16:11:11
#exit
Connection to 192.168.16.2 closed.
16:11:15
#netstat -lnp | grep :36

/dev/pts/15
16:11:20
#ls -li
итого 0
/dev/pts/0
16:11:20
#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
/dev/pts/15
16:11:27
#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/
16:11:27
#cd /media/SVL_FOLDER/

/dev/pts/0
16:11:36
#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)
16:11:40
#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'
/dev/pts/15
16:11:46
#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 Отчёт Ð
16:11:49
#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
16:11:49
#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
16:11:49
#pl2pm

/dev/pts/0
16:12:13
#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)
16:12:47
#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)
16:13:11
#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)
16:13:51
#exit
Connection to 192.168.16.2 closed.
16:13:51
#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':
16:14:26
#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
16:14:36
#telnet 192.168.16.1 36000
Trying 192.168.16.1...
telnet: Unable to connect to remote host: Connection refused
16:14:50
#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.
16:14:59
#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.
16:15:03
#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.
/dev/pts/3
16:15:36
#reboot
Broadcast message from root@linux1 (pts/5) (Thu May 31 16:15:40 2007):
The system is going down for reboot NOW!
/dev/pts/1
16:19:52
#man scp
/dev/pts/3
16:21:19
#screen -x
прошло 11 минут
/dev/pts/3
16:32:46
#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
16:34:22
#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
16:34:40
#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
16:35:06
#ls
!  install  q  wall
16:35:13
#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
16:36:08
#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
16:36:58
#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 не был изменён
16:39:26
#man vipw
16:40:06
#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:::
16:40:11
#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
16:40:32
#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
16:40:45
#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
16:41:34
#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
16:42:06
#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
16:42:13
#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:::
16:42:26
#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
16:42:37
#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) ...
16:44:37
#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
16:44:49
#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
16:44:52
#man crack
16:45:49
#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
16:45:56
#/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]...
16:46:10
#/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
16:46:56
#man crack
16:47:51
#/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
16:47:51
#/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 ----
16:48:02
#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:::
16:48:18
#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 "{}"
16:48:34
#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}"
16:49:05
#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
16:49:31
#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}"
16:49:54
#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
16:50:12
#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
16:50:20
#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
16:50:31
#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:::
16:50:37
#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
16:52:32
#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
16:52:34
#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
16:52:41
#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
16:53:03
#cd ..

16:53:04
#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
16:53:05
#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
16:53:27
#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
16:53:43
#ls
!  awk  install  print  q  sshd_config.new  wall
16:53:44
#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
16:53:49
#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
16:54:29
#ls
Desktop
16:54:30
#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/
16:54:30
#cd
Desktop/          .gconf/           .gnome/           .gnome2_private/  .lilalo/          .mozilla/         .openoffice.org2/ .thumbnails/      .wireshark/
.evolution/       .gconfd/          .gnome2/          .gstreamer-0.10/  .metacity/        .nautilus/        .ssh/             .update-notifier/ .xine/
16:54:30
#cd Desktop/

16:54:38
#ls
greasy-00f7a189ce.desktop  Скачивание
16:54:40
#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
16:58:23
#ls
john-1.7.0.2.tar.gz
16:58:25
#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
16:58:33
#cd ~

16:58:36
#ls
!  awk  install  john-1.7.0.2.tar.gz  print  q  sshd_config.new  wall
16:58:37
#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
16:59:48
#cd john-1.7.0.2/

16:59:50
#make install
make: *** Нет правила для сборки цели `install'.  Останов.
16:59:53
#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
17:00:01
#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
17:00:08
#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
17:00:09
#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'.  Останов.
17:00:21
#cd ..

17:00:27
#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
17:00:34
#ls
all.chr  alnum.chr  alpha.chr  digits.chr  john.conf  lanman.chr  mailer  password.lst
17:00:35
#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
17:00:45
#ls
doc  README  run  src
17:00:46
#cd src/

17:00:50
#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
17:00:51
#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
17:01:26
#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
17:01:30
#ls
doc  README  run  src
17:01:30
#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 $
17:01:40
#vi doc/INSTALL

Файлы

  • /etc/shadow
  • README
  • /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:::
    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:::
    
    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.
    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
    Частота использования команд
    cd21|==================| 18.10%
    ls19|================| 16.38%
    cat12|==========| 10.34%
    grep7|======| 6.03%
    scp5|====| 4.31%
    ssh5|====| 4.31%
    telnet4|===| 3.45%
    awk4|===| 3.45%
    man4|===| 3.45%
    netstat4|===| 3.45%
    print4|===| 3.45%
    apt-cache4|===| 3.45%
    dpkg3|==| 2.59%
    Crack3|==| 2.59%
    make2|=| 1.72%
    exit2|=| 1.72%
    Crack-Reporter1|| 0.86%
    screen1|| 0.86%
    cp1|| 0.86%
    pl1|| 0.86%
    shadowconfig1|| 0.86%
    pl2pm1|| 0.86%
    reboot1|| 0.86%
    john1|| 0.86%
    vi1|| 0.86%
    apt-get1|| 0.86%
    tar1|| 0.86%
    vipw1|| 0.86%
    mpa1|| 0.86%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ 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
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$