How to crack Keepass2 passcode
#1
I don't know the command to do this, and "--help's" output isn't helping too much. The part that's really confusing is how can I put in rules for the brute-force, like which kind of characters and ones I know of, etc, since I partially know the password, but I forgot a few parts (3-6 characters of a single kind), so I wonder how I can find the remaining bits. I don't mind if it takes a day or so.
#2
https://hashcat.net/wiki/doku.php?id=mask_attack
#3
(08-15-2016, 02:50 AM)Xanadrel Wrote: https://hashcat.net/wiki/doku.php?id=mask_attack

Oh crap, forgot to respond. Is there like an example command to show, I'm a newb with this program and its syntax is a bit confusing. For example an example on the page you gave me, which is the closest to I wanted, says this: 

command: -a 3 password?d
keyspace: password0 - password9



However what does the 'd' at the end mean? Does the ? mean a missing character that will be guessed on?

Also I want to know how to get it work with a Keepass2 database, do I use it against the key? Or the database? And how, since I tried one time and failed.[
#4
Check the section "Built-in charsets"...
#5
(08-17-2016, 08:47 AM)hashcrash Wrote: Check the section "Built-in charsets"...

I guess you want me to RTFM, fine I'll try.. Tongue
#6
(08-17-2016, 08:47 AM)hashcrash Wrote: Check the section "Built-in charsets"...

./hashcat64.bin -a 1 -m 13400 ~/NewDatabase.kdbx ?u?u?u?u?u?uremainingbitshere

I tried the above, but instead I get this:


hashcat (v3.00-1-g67a8d97) starting...

Usage: ./hashcat64.bin [options]... hash|hashfile|hccapfile [dictionary|mask|directory]...

Try --help for more help.


EDIT: tried -a 3, it now shows errors:

WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 1 (٢�g�K�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 2 (�:�w�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 3 (): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 5 (�7/�"/���J��V���.�B�"��l���U��J��,C@�����j.w�ў����d.����e}�Q�����Xv]�_�1��[4�D��s��ܥh��c��:,|��$X�w��UƎ�V%�"aQ�����s�MS�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 6 (�b�̹��Ug���*�]�[P��� ��+C�z=�y���?���i�?

NX�|�ت]���
%�
�$�(�p�����J4�1�����|����6!��Y��� *����x]nQ2e����<������I����G): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 7 (�Ҕ�U��Q�s8�qFH�F�lb<*) ���L�P$"Z��Q�O���[k�|^�h~����~Ĭ�Y`�): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 8 (8cW5����_y���Q
�� ��Y+1���4o����*��7)PC�86��-,Ci����̏���Y��x����IhrN:��7��V�.T^�n���; ��ɤ�): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 9 (x���): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 10 ($�}�/I����NM(�pqs,C ��Jm�m�צK=�ҜPJ�Wf]HO����ͯ�SrZߒ�,v<��0EՋH73���H�7�����5���5�jW�<?���@��4�{�_\+�C���L+`�P��<kV���ɆT<�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 11 (�YW9��=ff`X�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 12 (���PbS�K��
�.`�lV���������d���
���iuz!�n��K
B�|�_�����y��ˁa��,���R`�w-���t��q5�ƨ�6x��SU9�"��l[7��@��j�NP���K): Line-length exception
���ܟK�J3%�m�Y�����~�&�l�PoU��q�עX�_��DK���l�(): Line-length exception=
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 14 (�ݍ|�xi��l{b�
): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 15 (�B�-�⩬Ak�����eFlē�������F`tV p�)Vpy�W[�|/5d�e��A��BK��w(�q~�����*8<��>j0�8H����pz�0��s�5������m8]���e���eKG$p�P��=V28): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 16 (Ǒ��r�w,[�8���KX���xSR[;m�H0/`���X�4��zΑjR): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 17 (k
;�n�acc����\��$Y�*{0S&�Y���Dx뭋:F�g����n����T�$k): Line-length exception�O�ϡ�a�¼����
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 18 (ń �>�rʨ�N5_�=��2��#$B�)�s}��5��_��a̋��u2Y������r^�s�-��[�;�������$���+(��:F�xuB�1
��9����,��v^�n�6~D��V�����/w��P������4[v�]�8Yf>�0�.z�bYApc'1
�����1W���ݛ����C�å�Dk
�6�ٜl�|�SKv�ۓO��R���tDC��@��^�y�Om0����6'�y��a�Iʻ���Ƿt:용�lgU�~��noCL�#��Ih���؛-P9�.[�� ���а�Ԑ�T���=): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 19 (�4��4�d���o,椅��b�X�]Nb����Xixn��?9udh?O�ґ��
�)ð=�%X�\���n����la���}X%5wf�5>X{�P��������=~K>\l4�#E@�{݀>�KO&�����߈P�����d��Ğ�(}��N���-��@���H,?��kڜk��`�� �ť��]1
�� �6��?Rb�9�k?�EsjxR�n��aNSE��Oe����5�*��W���}�#�e�Ǵy���): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 20 (2w=�l+f�Ñ ): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 21 (��\�^��&)ecC<�_���mM��@]l�
���qҾp�HNJ
�#�c�(��1�������ZG/l��h�%J�ۙ�q������7ȋp��C+3ܬ��̳���4MGQUqϴy���W���N4�
���������s��ѕ��}a�u=3�a���FHlϑ���ia����h)4�03�): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 22 (����,����Jk��Z��\�v]1�']���Ԋ@ F�xP��ybD
���Q@���): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 23 (��H��n�+|&�
��VM��Mq�����=�٬�s�2B �v���[%�{�������ە7҅�֠): Signature unmatched
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 24 (x��ѢS< ���p���[��X��O��ƨ$�os(��Nω����kx�*!�T�
��L\l~8��lT�m:I���fv^3�uJ""�G�Bb��!��C����>��E1��?�Q�): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 25 (�[RGK���): Line-length exception
WARNING: Hashfile '/home/roundduckman/NewDatabase.kdbx' on line 26 (���~��&N)
�&v� �.�~
�q�����(�����j�̢X3������rԧ.�����x&*�i�H�6�����Ū�֍��h�����vdu+���V��kt�YK;�xsFsA��ݰ}b�^��� D�q�T�H�߾jfp*���u�hzr)�����[(��8GЮGO��kuO���㡪F=$R�
z[,���=9c�)�n��^d�
y4���f�C]p�D������
m��CfM�7W���*L+�j�Amț�X4��r�.Ɵ�������{c'x�u�pU�����j�[����Nj��@�35����#pf~�cO���[�@�,�E���K�): Signature unmatched
ܧ��R(��I\[��l�W�S���p|�aڹ�+5ckman/Ne̢X3������rԧ.�����x&*�i�H�6�����Ū�֍��h�����vdu+���V��kt�YK;�xsFsA��ݰ}b�^��� D�q�T�H�߾jfp*���u�hzr)�����[(��8GЮGO��kuO���㡪F=$R�
z[,���=9c�)�n��^d�
y4���f�C]p�D������
m��CfM�7W���*L+�j�Amț�X4��r�.Ɵ�������{c'x�u�pU�����j�[����Nj��@�35����#pf~�cO���[�@�,�E���K�): Line-length exception
Parsed Hashes: 27/27 (100.00%)
#7
The errors are to be expected, you need to RTFM a little bit more.
-a 1 is combination and expects 2 wordlists.
And for the second "error" : https://hashcat.net/wiki/doku.php?id=example_hashes

hashcat usually needs hashes.
#8
Also;

https://hashcat.net/forum/thread-5598.ht...t=keepass2