Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
artemis2hashcat — Python3 implementation for converting Artemis PBKDF2WithHmacSHA1 hashes to hashcat format | Kitploit
Tools/GitHubGitHub/mbadanoiu/artemis2hashcat
Password CrackingPassword AttacksHash Analysis
GitHubmbadanoiu/artemis2hashcat

artemis2hashcat

Python3 implementation for converting Artemis PBKDF2WithHmacSHA1 hashes to hashcat format

View Repository
1 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

artemis2hashcat

Description

Python3 implementation for converting Artemis PBKDF2WithHmacSHA1 hashes to hashcat format

Usage

The default configuration for Apache Artemis is to use the DefaultSensitiveStringCodec in order to store user passwords as PBKDF2WithHmacSHA1 hashes in the "artemis-users.properties" file.

The hashes stored in "artemis-users.properties" usually have the following form:

root@kitploit:~
username = ENC(ITERATIONS:SALT:HASH)

This python3 code converts the Artemis hash into a hashcat compatible format using one of the following commands:

  • With "ENC(...)":
root@kitploit:~
python3 artemis2hashcat.py 'ENC(1024:8D873D1EDFB8ABACBC1A8229AC6A691B2856427B385167AC5DA636A8B0D0CF7C:50DE2FF97B69C8B8D127356F8F1090730F8F805DAA288E804E199788394EF0C9363671038857CB7F83ACE9022ACE2119792B9FCFB72CA68D026A5458B2D4C7CF)'

OR

  • Content without "ENC(...)":
root@kitploit:~
python3 artemis2hashcat.py '1024:8D873D1EDFB8ABACBC1A8229AC6A691B2856427B385167AC5DA636A8B0D0CF7C:50DE2FF97B69C8B8D127356F8F1090730F8F805DAA288E804E199788394EF0C9363671038857CB7F83ACE9022ACE2119792B9FCFB72CA68D026A5458B2D4C7CF'

Note: The above hash corresponds to the plaintext password "7KBeh41j".

The result of the above commands should have the following form:

root@kitploit:~
sha1:1024:jYc9Ht+4q6y8GoIprGppGyhWQns4UWesXaY2qLDQz3w=:UN4v+XtpyLjRJzVvjxCQcw+PgF2qKI6AThmXiDlO8Mk2NnEDiFfLf4Os6QIqziEZeSufz7cspo0CalRYstTHzw==

By writing the output to a file (e.g. test.hashcat) we can use the following hashcat command, with hash-mode 12000, in order to attempt to crack the hash:

root@kitploit:~
hashcat -m 12000 -a 0 test.hashcat test.lst
Download Tool