iankronquist / beeswax

A Next Generation Honeypot for a 2016 Oregon State Senior Project
MIT License
67 stars 6 forks source link

Traversing Folders #6

Closed pixel5919 closed 8 years ago

pixel5919 commented 8 years ago

Currently, traversing a single folder works with znotify.c (-t) but with multiple there is an error. Option (-w) works with multiple command line arguments though.

pixel5919 commented 8 years ago

This is the error message:

Error Occured Adding to Watch List: /usr/lib/python3/dist-packages/DistUpgrade/NvidiaDetector No such file or directory

Command Line: ./a.out -e -t /usr/bin /usr/lib

iankronquist commented 8 years ago

I'll take a look. Seems odd.

iankronquist commented 8 years ago

Cannot reproduce in the vagrant vm. Have you installed any interesting python packages? What is the output of pip freeze?

pixel5919 commented 8 years ago

I actually "fixed" the problem. Many of the "directories" that were getting traversed were actually symlinks. I told the program to ignore them and it works so far.

My issue with this quick fix is that if someone redirects those symlinks, I believe the program can catch it with the folder above it catching the event.