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

Configuring file extraction to write files in a directory when reading pcap files #6

Closed
lagoon7 opened this issue Nov 7, 2017 · 4 comments
Assignees

Comments

@lagoon7
Copy link

lagoon7 commented Nov 7, 2017

Hello I am trying to also use this plugin however I can't get it to create a directory like ./extracted-files to put them in when I am reading a cap file. Do I also need the base policy extract-all-files? I do like the fact that I can add mime types arrays. Where can I specify the output path and directory?

I am using bro 2.5.1 and the current github version of bro.

Thanks for working this.

@hosom hosom self-assigned this Nov 10, 2017
@hosom
Copy link
Owner

hosom commented Nov 10, 2017

Sorry for the slow response.

You should be able to just load one of the plugin scripts ad-hoc to make this happen:

bro -r foo.pcap file-extraction/plugins/extract-all-files.bro

This will create a directory called extracted_files and extract all of the files to that directory.

@hosom
Copy link
Owner

hosom commented Nov 13, 2017

Did the above help with your issue?

@hosom hosom closed this as completed Apr 26, 2018
@blacktop
Copy link

@hosom is there something I can add to local.bro that will also enable "extract-all" ?

@hosom
Copy link
Owner

hosom commented Apr 30, 2019 via email

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

No branches or pull requests

3 participants