Hashes.com Python CLI

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #25
- Added support for jobs with hints

To avoid cluttering the results with hints; 'get jobs' will simply let you know if hints are available. If hints are available you can use the 'hints' command to display them.

Screenshot 2024-01-15 at 10.59.15 PM.png

Screenshot 2024-01-15 at 10.59.33 PM.png

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #26
- Updated hints to handle usergoups that don't have access.

If the API key is not from the "cracker" usergroup hints will be displayed as disabled. The 'hint' command will advise them their usergroup does not have access to hints.

Screenshot 2024-01-16 at 3.30.31 PM.png

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #27
- Removed 'withdraw' command.

The 'withdraw' command hasn't worked since the new API update. Instead of updating it with the new system I am just going to remove it. Login history is now the only thing that requires a logged in session. All other commands function with API key alone.

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #28
- Added 'websocket' command to connect to the hashes.com websocket API

This command will connect you to the hashes.com websocket API and listen for new jobs. Since everyone has different needs/workflows I decided to incorporate a hook system for this command. You will be able to make your own hook files to process the new job results how you wish. The provided example is pretty straightforward and simple. If you have questions on how to implement your own code you can DM me. If the connection is closed it will automatically try to reconnect. Ctrl + C will disconnect you from the websocket and go back to the main hashes.com-cli prompt.

Usage: websocket -hook example_hook
The hook file must be in the same directory. With the -hook flag you can enter the file with the .py extension or without it.

Screenshot 2024-01-23 at 10.05.54 PM.png


 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #28.1
- Added additional close request upon auto reconnect

This will make sure that the connection is closed before reconnecting to avoid the 3 connection limit.

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Updated #30
- Added a system check to import the correct readline module for Windows
- Updated requirements.txt

Been meaning to get that corrected for awhile now and finally got around to it.

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Update #31
- Updated update_algs function with the new API URL
- Updated valid algorithm list (SHA1(UTF16-LE($plaintext)) was previously ID 129 and is now ID 170)

 

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,220
Reaction score
4,917
Credits
11,902
Top