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
shirocrack — Simple hash cracker for Apache Shiro hashes written in Golang. Useful for exploiting CVE-2024-4956. | Kitploit
Tools/GitHubGitHub/an00brektn/shirocrack
Password CrackingVulnerability AnalysisExploitationHash AnalysisWeb Application Exploitation
GitHuban00brektn/shirocrack

shirocrack

Simple hash cracker for Apache Shiro hashes written in Golang. Useful for exploiting CVE-2024-4956.

View Repository
21 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

shirocrack

Simple hash cracker for Apache Shiro hashes written in Golang. Useful for exploiting CVE-2024-4956.

Let's keep this short

  • CVE-2024-4956 is a path traversal vulnerability in Sonatype Nexus Repository that allows an unauthenticated attacker with network access to the server to read arbitrary files from the system, as long as they know the path
  • Every exploit demo I saw pulled /etc/passwd and called it a day, which is good, but doesn't really explain the critical CVSS score it got
    • Nexus 3.60.0, in its default setup, uses OrientDB, a NoSQL database that I honestly don't fully understand yet
      • One part of OrientDB is the idea of "clustering", which for our purposes, means they store data in these binary .pcl files
    • Nexus stores .pcl files in the following directories
      • /nexus-data/db/OSystem
      • /nexus-data/db/component
      • /nexus-data/db/config
      • /nexus-data/db/security
    • /nexus-data/db/security/user*.pcl contains password hashes
  • And now for why this exists: Turns out hashcat doesn't support the format, and the only cracker I found online was written in Java (bad): GitHub Gist - gquere
    • No shade to the creator, I just needed something faster
  • I rewrote that in Golang, which should be good enough.

Usage

root@kitploit:~
$ ./shirocrack
[i] usage: ./shirocrack HASH wordlist.txt

$ ./shirocrack '$shiro1$SHA-512$1024$+rU2PizvJ/Nj7s4XDn866A==$5fGRXQstvAgoVA1N8ipEYzsQFFN8VqmNLsKs/Ka8x1FrxflDaxXprx/vwLhZDBOXABT72E0H/SNpnQSLQgW87g==' ./wordlist.txt
[+] Found match: 5fGRXQstvAgoVA1N8ipEYzsQFFN8VqmNLsKs/Ka8x1FrxflDaxXprx/vwLhZDBOXABT72E0H/SNpnQSLQgW87g==:an00brektn
[+] Success!
Download Tool