
برنامج للتعرف على الأنواع المختلفة من التجزئة -
تحديد الأنواع المختلفة من الهاشات المستخدمة لتشفير البيانات وخاصةً كلمات المرور.
هذه الأداة تحل محل hash-identifier <http://code.google.com/p/hash-identifier/>__،
التي أصبحت قديمة!
hashID هي أداة مكتوبة بلغة Python 3 وتدعم
تحديد أكثر من 220 نوع هاش فريد باستخدام التعبيرات النمطية.
قائمة مفصّلة بالهاشات المدعومة يمكن العثور عليها
هنا <https://github.com/psypanda/hashID/blob/master/doc/HASHINFO.xlsx>__.
وهي قادرة على تحديد هاش واحد، أو تحليل ملف، أو قراءة عدة
ملفات في مجلد وتحديد الهاشات الموجودة داخلها.
كما أن hashID قادرة على تضمين نمط
hashcat <https://hashcat.net/oclhashcat/>__ المقابل و/أو
تنسيق JohnTheRipper <http://www.openwall.com/john/>__ في مخرجاتها.
تعمل hashID مباشرةً مع Python 2 ≥ 2.7.x أو Python 3 ≥ 3.3 على أي نظام تشغيل.
*ملاحظة: عند تحديد هاش على أنظمة nix استخدم علامات الاقتباس المفردة لمنع التوسيع (interpolation).
يمكنك تثبيت hashID أو ترقيتها أو إزالتها بهذه الأوامر:
.. code:: console
$ pip install hashid
$ pip install --upgrade hashid
$ pip uninstall hashid
أو يمكنك التثبيت عن طريق استنساخ المستودع:
.. code:: console
$ sudo apt-get install python3 git
$ git clone https://github.com/psypanda/hashid.git
$ cd hashid
$ sudo install -g 0 -o 0 -m 0644 doc/man/hashid.7 /usr/share/man/man7/
$ sudo gzip /usr/share/man/man7/hashid.7
بدلاً من ذلك، يمكنك الحصول على أحدث إصدار
من هنا <https://github.com/psypanda/hashID/releases>__.
.. code:: console
$ ./hashid.py [-h] [-e] [-m] [-j] [-o FILE] [--version] INPUT
+---------------------------+-------------------------------------------------------+ | Parameter | Description | +===========================+=======================================================+ | INPUT | input to analyze (default: STDIN) | +---------------------------+-------------------------------------------------------+ | -e, --extended | list all hash algorithms including salted passwords | +---------------------------+-------------------------------------------------------+ | -m, --mode | show corresponding hashcat mode in output | +---------------------------+-------------------------------------------------------+ | -j, --john | show corresponding JohnTheRipper format in output | +---------------------------+-------------------------------------------------------+ | -o FILE, --outfile FILE | write output to file (default: STDOUT) | +---------------------------+-------------------------------------------------------+ | --help | show help message and exit | +---------------------------+-------------------------------------------------------+ | --version | show program's version number and exit | +---------------------------+-------------------------------------------------------+
.. code:: console
$ ./hashid.py '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
Analyzing '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
[+] Wordpress ≥ v2.6.2
[+] Joomla ≥ v2.5.18
[+] PHPass' Portable Hash
$ ./hashid.py -mj '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
Analyzing '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
[+] RACF [Hashcat Mode: 8500][JtR Format: racf]
$ ./hashid.py hashes.txt
--File 'hashes.txt'--
Analyzing '*85ADE5DDF71E348162894C71D73324C043838751'
[+] MySQL5.x
[+] MySQL4.1
Analyzing '$2a$08$VPzNKPAY60FsAbnq.c.h5.XTCZtC1z.j3hnlDFGImN9FcpfR1QnLq'
[+] Blowfish(OpenBSD)
[+] Woltlab Burning Board 4.x
[+] bcrypt
--End of file 'hashes.txt'--