Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Change puts to use logger gem, improved detection of PID on windows #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nicbrink
Copy link
Contributor

Since it looks like logger is going to be used going forward, I went through and changed all the puts to use $log.info,$log.debug,$log.error type logic. The logging level can be set on line 5, however this should probably be moved to either the config file, or passes as a parameter to agent.rb.

Also discovered that on widows detection of the Hashcat PID was not reliable because of the 'ps aux' command. Moved to a native windows library improving the detection code and ensuring that when a task is killed on windows, that the agent will stop running the task.

@i128
Copy link
Contributor

i128 commented Oct 24, 2017

This looks great! Unfortunately, both @ccammilleri and myself will be out of town the next couple of weeks, but i look forward to testing/merging this when we get back.

@kiblik
Copy link

kiblik commented Apr 30, 2018

Please, can you accept this pull request?

@ccammilleri
Copy link
Member

sure, I'll test it soon and get it merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants