Sign inSign up

hashtopolis/agent

Sponsored OSS

By hashtopolis

•Updated 22 days ago

Official Hashtopolis agent docker image.

Image
0

10K+

hashtopolis/agent repository overview

⁠Hashtopolis Python Agent

CodeFactor LoC Build Status

This agent is used with Hashtopolis⁠, read the wiki or create issues there, visit the Forum⁠. This Hashtopolis agent is only compatible with Hashtopolis versions 0.5.0 and higher.

⁠Prerequisites

You need python3 installed on your agent system. Following python packages are required:

  • requests
  • psutil

⁠Manual

You can either download the agent from the Hashtopolis new agent page or you can use the url shown there to download the agent with wget/curl.

⁠Run

To run the agent you simply need to call python3 hashtopolis.zip. The settings/configurations normally are done via the config file, described in one of the following sections.

Please note:

  • The client does not correctly recognize the OS when you are running in Cygwin or similar on Windows. You need to run it in Windows command line.
  • If you unpack the agent out of the .zip file, the automatic updating from the server won't work correctly.
⁠Command Line Arguments
usage: python3 hashtopolis.zip [-h] [--de-register] [--version] [--number-only] [--disable-update] [--debug] [--voucher VOUCHER] [--url URL]
                               [--cert CERT] [--files-path FILES_PATH] [--crackers-path CRACKERS_PATH] [--hashlists-path HASHLISTS_PATH]
                               [--preprocessors-path PREPROCESSORS_PATH] [--zaps-path ZAPS_PATH] [--cpu-only]

Hashtopolis Client v0.7.5

options:
  -h, --help            show this help message and exit
  --de-register         client should automatically de-register from server now
  --version             show version information
  --number-only         when using --version show only the number
  --disable-update      disable retrieving auto-updates of the client from the server
  --debug, -d           enforce debugging output
  --voucher VOUCHER     voucher to use to automatically register
  --url URL             URL to Hashtopolis client API
  --cert CERT           Client TLS cert bundle for Hashtopolis client API
  --files-path FILES_PATH
                        Use given folder path as files location
  --crackers-path CRACKERS_PATH
                        Use given folder path as crackers location
  --hashlists-path HASHLISTS_PATH
                        Use given folder path as hashlists location
  --preprocessors-path PREPROCESSORS_PATH
                        Use given folder path as preprocessors location
  --zaps-path ZAPS_PATH
                        Use given folder path as zaps location
  --cpu-only            Force client to register as CPU only and also only reading out CPU information

⁠Config

When you run the client for the first time it will ask automatically for all the requirement settings and then saves it automatically to a config file called config.json. This could for example look like this:

{
  "url": "https://example.org/hashtopolis/api/server.php", 
  "token": "ABCDEFGHIJ", 
  "uuid": "49dcd31c-3637-4f2a-8df1-b545202df5b3"
}
⁠Config Options
fieldtypedefaultdescription
voucherstringUsed for agent registration (will be prompted on first start)
urlstringThe hashtopolis API endpoint (will be prompted on first start)
tokenstringThe access token for the API (sent by server on registration)
uuidstringUnique identifier of the agent (generated on registration)
debugbooleanfalseEnables debug output
allow-pipingbooleanfalseAllows hashcat to read password candidates from stdin
piping-thresholdinteger95Restarts chunk in piping mode when GPU UTIL is below this value
rsyncbooleanfalseEnables download of wordlists and rules via rsync
rsync-pathstringRemote path to hashtopolis files directory
multicast-devicestringeth0Device which is used to retrieve UDP multicast file distribution
file-deletion-disablebooleanfalseDisable requesting the server for files to delete
file-deletion-intervalinteger600Interval time in seconds in which the agent should check for deleted files
proxiesobjectSpecify proxies e.g. "proxies": {"https": "localhost:8433"}
auth-userstringHTTP Basic Auth user
auth-passwordstringHTTP Basic Auth password
outfile-historybooleanfalseKeep old hashcat outfiles with founds and not getting them overwritten
files-pathstringUse given folder path as files location
crackers-pathstringUse given folder path as crackers location
hashlists-pathstringUse given folder path as hashlists location
preprocessors-pathstringUse given folder path as preprocessors location
zaps-pathstringUse given folder path as zaps location
cpu-onlybooleanfalseOnly send CPU information about agent (for CPU only agents)
⁠Debug example
{
  "url": "https://example.org/hashtopolis/api/server.php", 
  "token": "7RNDqtnPxm",
  "uuid": "49dcd31c-3637-4f2a-8df1-b545202df5b3",
  "debug": true
}
⁠rsync

You need a user on the server which can automatically login (e.g. SSH keys) and has read access to the files directory of hashtopolis. On the client side you need rsync installed and set the following lines in your agent config.

  "rsync": true,
  "rsync-path": "user@yourserver:/path/to/hashtopolis/files"
⁠Multicast

In order to use the multicast distribution for files, please make sure that the agents and server are prepared according to this:https://github.com/hashtopolis/runner⁠

⁠Hashcat Compatibility

The list contains all Hashcat versions with which the client was tested and is able to work with (other versions might work):

  • 7.1.1
  • 7.1.0
  • 7.0.0
  • 6.2.6
  • 6.2.5
  • 6.2.4
  • 6.2.3
  • 6.2.2
  • 6.2.1
  • 6.2.0
  • 6.1.1
  • 6.1.0
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.2.1
  • 4.2.0
  • 4.1.0
  • 4.0.1
  • 4.0.0

⁠Generic Crackers

This client is able to run generic Hashtopolis cracker binaries which fulfill the minimal functionality requirements, described here⁠. An example implementation can be found here⁠

Tag summary

Content type

Image

Digest

sha256:4798565bc…

Size

3.7 GB

Last updated

22 days ago

docker pull hashtopolis/agent:master

This week's pulls

Pulls:

93

Last week