Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding instructions for service #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,37 @@ You need a user on the server which can automatically login (e.g. SSH keys) and

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

### Run as service
It is possible to run Hashtopolis Agent as a services

1. `mkdir -p /opt/hashtopolis-agent/`
2. `cd /opt/hashtopolis-agent/`
3. `wget http://<server url>/agents.php?download=1 -O hashtopolis.zip`
4. Create /etc/systemd/system/hashtopolis-agent.service

```
[Unit]
Description=Hashtopolis Agent
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=10
User=root
ExecStart=/usr/bin/python3 <path>/hashtopolis.zip
StandardInput=tty-force
WorkingDirectory=<path>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the path you used as example from above to match the service file with the created directory. And then maybe add above that /opt/hashtopolis-agent can be changed to what the user wants.


[Install]
WantedBy=multi-user.target
```

5. `systemctl daemon-reload`
6. `systemctl enable hashtopolis-agent.service`
7. `systemctl start hashtopolis-agent.service`

## Hashcat Compatibility

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