haginara / docker-moloch

Docker Compose and Vagrant for Moloch
0 stars 0 forks source link

Autoload pcap files #1

Open mostepunk opened 3 years ago

mostepunk commented 3 years ago

Hi! Thank you for your repo! It's the best of the best of the best :1st_place_medal: :) I made some modifying in startmoloch.sh after that moloch container would automatically add new .pcap files in it

Usage:
  moloch-capture [OPTION?] - capture

Help Options:
  -h, --help         Show help options

Application Options:
    . . .
  -R, --pcapdir      Offline pcap directory, all *.pcap files will be processed
  -m, --monitor      Used with -R option monitors the directory for closed files
    . . .

According help options 19 line is looks like:

# startmoloch.sh
nohup /data/moloch/bin/moloch-capture -Rm /data/pcap &
haginara commented 3 years ago

That sounds nice to update. Please apply the PR. I will approve/merge it.