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

scan contents of a directory #65

Merged
merged 29 commits into from
Oct 26, 2017
Merged

scan contents of a directory #65

merged 29 commits into from
Oct 26, 2017

Conversation

d-grossman
Copy link
Contributor

perform clamav, and a few hashes on files, return a dictionary of discoveries.

def main():
matches = []
ret_val = dict()
for root, dirnames, filenames in os.walk('/data'):
Copy link
Member

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]?

@@ -0,0 +1 @@
watchdog
Copy link
Member

Choose a reason for hiding this comment

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

unnecessary?

Copy link
Contributor Author

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.

clamav \
clamav-freshclam

RUN pip install watchdog
Copy link
Member

Choose a reason for hiding this comment

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

unnecessary?

Copy link
Contributor Author

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.

groups = cpu

[settings]
ext_types = *.exe
Copy link
Member

Choose a reason for hiding this comment

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

*.exe -> exe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks!

@cglewis cglewis merged commit 6c9085e into faucetsdn:master Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants