CTF论坛

标题: Crack it [打印本页]

作者: ctf293    时间: 2020-7-12 20:36
标题: Crack it
下载后发现是个shadow文件。
id为1时,采用md5进行加密;
id为5时,采用SHA256进行加密;
id为6时,采用SHA512进行加密。
那这里很明显就是用的SHA512进行加密了

对于这种直接用john工具进行破解
root@kali:~/# john ./shadow Created directory: /root/.johnWarning: detected hash type "sha512crypt", but the string is also recognized as "crypt"Use the "--format=crypt" option to force loading these as that type insteadUsing default input encoding: UTF-8Loaded 1 password hash (sha512crypt, crypt(3) $6$ [SHA512 128/128 AVX 2x])Press 'q' or Ctrl-C to abort, almost any other key for statushellokitty       (root)1g 0:00:00:07 DONE 2/3 (2018-11-04 23:55) 0.1338g/s 672.4p/s 672.4c/s 672.4C/s ilovegod..celticUse the "--show" option to display all of the cracked passwords reliablySession completed
root用户的密码为hellokitty











欢迎光临 CTF论坛 (https://www.bugku.com/) Powered by Discuz! X3.4