-
Notifications
You must be signed in to change notification settings - Fork 27
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
scan contents of a directory #65
Conversation
check_files/run.py
Outdated
def main(): | ||
matches = [] | ||
ret_val = dict() | ||
for root, dirnames, filenames in os.walk('/data'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be just matching on the one file that was given at argv[1]
?
check_files/requirements.txt
Outdated
@@ -0,0 +1 @@ | |||
watchdog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is now.. I'll get rid of it.
check_files/Dockerfile
Outdated
clamav \ | ||
clamav-freshclam | ||
|
||
RUN pip install watchdog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is now.. Ill get rid of it.
check_files/vent.template
Outdated
groups = cpu | ||
|
||
[settings] | ||
ext_types = *.exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*.exe
-> exe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
pull in d-grossman changes
let's see if this is happier
perform clamav, and a few hashes on files, return a dictionary of discoveries.