/l3/users/28-09-2015/NT-Ladm/debian1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#vi /etc/skel/.bashrc
--- /tmp/l3-saved-8786.24676.30609 2015-09-28 17:55:42.421253369 +0300 +++ /etc/skel/.bashrc 2015-09-28 17:56:21.721253370 +0300 @@ -16,8 +16,6 @@ shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. |
#vi .bashrc
--- /tmp/l3-saved-8786.24579.7682 2015-09-28 17:57:32.833253370 +0300 +++ .bashrc 2015-09-28 17:58:09.849253360 +0300 @@ -13,7 +13,7 @@ # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: -# alias rm='rm -i' -# alias cp='cp -i' -# alias mv='mv -i' + alias rm='rm -i' + alias cp='cp -i' + alias mv='mv -i' [ $0 == l3script ] && . /root/.lilalo/l3bashrc && _l3_start |
#touch f1
|
#rm f1
rm: удалить пустой обычный файл «f1»? y |
#clear
|
#cat john.log
![]() cat: john.log: Нет такого файла или каталога |
#ls
install report shadow |
#cat .john/john
![]() cat: .john/john: Нет такого файла или каталога |
#ls -a
. .aptitude .bash_profile install .l3rc .lilalo report .vim .vimrc .. .bash_history .bashrc .john .lesshst .profile shadow .viminfo |
#ps lax | grep john
0 0 5748 1 39 19 20628 6384 - RN ? 1156:19 john shadow 0 0 10058 9851 20 0 9972 864 - S+ pts/7 0:00 grep john |
#cat .john/john.pot
$6$tbizytkm$295y618fm8X630/zohldy0dQgX2NIDgRI2N2tgOiYEI6KJnE7ctK3IX.hFADJgsLVyI0FD7jlMSBCo3L6cHw10:123 $6$CGHfOFl9$FF0pS6Su60bcXuiJup/3NSeGoEsVGiwe3h3Q9C/cV6oyKoHabuxHgtGccNuo.2OuOZfEWK.BSml7YFjF6QNCY1:123 $6$CkJHVC8E$ykTJUix/7qmcPBJgqnJtCHlWhYfEaImqXcQyeRrwYm6Xi4KaZSfb4FB20ocZ/VlrQzTR2wiEobMxT/OM/FXgd0:password |
#john
John the Ripper password cracker, version 1.7.8 Copyright (c) 1996-2011 by Solar Designer Homepage: http://www.openwall.com/john/ Usage: john [OPTIONS] [PASSWORD-FILES] --single "single crack" mode --wordlist=FILE --stdin wordlist mode, read words from FILE or stdin --rules enable word mangling rules for wordlist mode --incremental[=MODE] "incremental" mode [using section MODE] --external=MODE external mode or word filter --stdout[=LENGTH] just output candidate passwords [cut at LENGTH] ... --status[=NAME] print status of a session [called NAME] --make-charset=FILE make a charset, FILE will be overwritten --show show cracked passwords --test[=TIME] run tests and benchmarks for TIME seconds each --users=[-]LOGIN|UID[,..] [do not] load this (these) user(s) only --groups=[-]GID[,..] load users [not] of this (these) group(s) only --shells=[-]SHELL[,..] load users with[out] this (these) shell(s) only --salts=[-]COUNT load salts with[out] at least COUNT passwords only --format=NAME force hash type NAME: DES/BSDI/MD5/BF/AFS/LM/crypt --save-memory=LEVEL enable memory saving, at LEVEL 1..3 |
#john show
![]() stat: show: No such file or directory |
#john users
![]() stat: users: No such file or directory |
#user
![]() useradd userdel usermod users |
#user
![]() useradd userdel usermod users |
#us
![]() usb-devices usbhid-dump useradd userdel usermod users |
#us
![]() usb-devices usbhid-dump useradd userdel usermod users |
#us
![]() usb-devices usbhid-dump useradd userdel usermod users |
#user
![]() useradd userdel usermod users |
#echo $HIST
![]() $HISTCMD $HISTFILE $HISTFILESIZE $HISTSIZE |
#echo $HISTCMD
320 |
#echo $HISTFILE
/root/.bash_history |
#echo $HISTFILE
![]() $HISTFILE $HISTFILESIZE |
#echo $HISTFILE
/root/.bash_history |
#HISTORY
![]() l3script: HISTORY: команда не найдена |
#history
1 ifconfig 2 vim /etc/network/interfaces 3 nano /etc/network/interfaces 4 /etc/init.d/networking restart 5 ifconfig 6 route 7 ping 192.168.13.253 8 shutdown -r now 9 exit 10 ping ya.ru ... 314 ps lax | grep john 315 cat .john/john.pot 316 john 317 john show 318 john users 319 echo $HISTCMD 320* 321 echo $HISTFILE 322 HISTORY 323 history |
#hist
![]() hist_append history |
#hist_append
![]() ^C |
#cd /usr/share/man
|
#ls
cs de fi gl id ja man1 man3 man5 man7 nl pt ru sv zh_CN da es fr hu it ko man2 man4 man6 man8 pl pt_BR sl tr zh_TW |
#ls -a
. cs de fi gl id ja man1 man3 man5 man7 nl pt ru sv zh_CN .. da es fr hu it ko man2 man4 man6 man8 pl pt_BR sl tr zh_TW |
#ls -F
cs/ de/ fi/ gl/ id/ ja/ man1/ man3/ man5/ man7/ nl/ pt/ ru/ sv/ zh_CN/ da/ es/ fr/ hu/ it/ ko/ man2/ man4/ man6/ man8/ pl/ pt_BR/ sl/ tr/ zh_TW/ |
#ls -lF
итого 260 drwxr-xr-x 5 root root 4096 Май 26 2012 cs/ drwxr-xr-x 5 root root 4096 Июн 27 2014 da/ drwxr-xr-x 5 root root 4096 Май 26 2012 de/ drwxr-xr-x 5 root root 4096 Май 14 2012 es/ drwxr-xr-x 4 root root 4096 Июн 27 2014 fi/ drwxr-xr-x 5 root root 4096 Май 26 2012 fr/ drwxr-xr-x 3 root root 4096 Июн 27 2014 gl/ drwxr-xr-x 5 root root 4096 Май 26 2012 hu/ drwxr-xr-x 5 root root 4096 Июн 27 2014 id/ ... drwxr-xr-x 5 root root 4096 Июн 27 2014 nl/ drwxr-xr-x 5 root root 4096 Май 26 2012 pl/ drwxr-xr-x 5 root root 4096 Июн 27 2014 pt/ drwxr-xr-x 5 root root 4096 Июн 27 2014 pt_BR/ drwxr-xr-x 5 root root 4096 Дек 11 2012 ru/ drwxr-xr-x 4 root root 4096 Июн 27 2014 sl/ drwxr-xr-x 5 root root 4096 Май 26 2012 sv/ drwxr-xr-x 5 root root 4096 Июн 27 2014 tr/ drwxr-xr-x 5 root root 4096 Май 26 2012 zh_CN/ drwxr-xr-x 5 root root 4096 Июн 27 2014 zh_TW/ |
#man useradd
|
#man passwd
|
#man 5 passwd
|
#man -a passwd
|
#man -a passwd
|