Giter Club home page Giter Club logo

Comments (5)

hosom avatar hosom commented on June 20, 2024 1

I'll take a look at this issue tonight.

from file-extraction.

hosom avatar hosom commented on June 20, 2024 1

Apologies, I never got a chance to look into this. I'm still aware of your issue.

from file-extraction.

sevdog avatar sevdog commented on June 20, 2024

Maybe its just an installation problem, I am installing it directly from github in this way:

cd ${BRO_FOLDER}/share/bro/site
git clone -q https://github.com/hosom/file-extraction.git
cd file-extraction
mv scripts/* .

And works fine, tested with BRO from 2.5.1 to 2.5.3.

If I remember correctly it should be a problem related with bro-pkg. Its not the script which is not working but bro-pkg which cannot install it.

from file-extraction.

hosom avatar hosom commented on June 20, 2024

I've tried replicating this problem several times and the reason I haven't come up with a solution is that I haven't been able to replicate this issue at all...

Have you tried installing with:

bro-pkg install file-extraction and bro-pkg load file-extraction?

from file-extraction.

hosom avatar hosom commented on June 20, 2024

For what it's worth, here's my working install...:

root@jupiter:/opt/bro/share/bro/site# bro-pkg install file-extraction
The following packages will be INSTALLED:
  bro/hosom/file-extraction (master)

Proceed? [Y/n] Y
Installed "bro/hosom/file-extraction" (master)
Loaded "bro/hosom/file-extraction"
root@jupiter:/opt/bro/share/bro/site# ls
file-extraction  local.bro  local-logger.bro  local-manager.bro  local-proxy.bro  local-worker.bro  packages
root@jupiter:/opt/bro/share/bro/site# bro-pkg load file-extraction
Loaded "bro/hosom/file-extraction"
root@jupiter:/opt/bro/share/bro/site# /opt/bro/bin/broctl deploy
checking configurations ...
installing ...
removing old policies in /opt/bro/spool/installed-scripts-do-not-touch/site ...
removing old policies in /opt/bro/spool/installed-scripts-do-not-touch/auto ...
creating policy directories ...
installing site policies ...
generating cluster-layout.bro ...
generating local-networks.bro ...
generating broctl-config.bro ...
generating broctl-config.sh ...
stopping ...
worker-1 not running
proxy-1 not running
manager not running
logger not running
starting ...
starting logger ...
starting manager ...
starting proxy-1 ...
starting worker-1 ...
root@jupiter:/opt/bro/share/bro/site# cat /opt/bro/logs/current/loaded_scripts.log | grep file-extraction
    /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/__load__.bro
      /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/main.bro
        /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/file-extensions.bro
      /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/config.bro
        /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/plugins/extract-common-exploit-types.bro
          /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/plugins/extract-java.bro
          /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/plugins/extract-pe.bro
          /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/plugins/extract-ms-office.bro
          /opt/bro/spool/installed-scripts-do-not-touch/site/packages/file-extraction/plugins/extract-pdf.bro
root@jupiter:/opt/bro/share/bro/site# /opt/bro/bin/broctl status
Name         Type    Host             Status    Pid    Started
logger       logger  localhost        running   9615   20 May 01:01:17
manager      manager localhost        running   9657   20 May 01:01:19
proxy-1      proxy   localhost        running   9697   20 May 01:01:20
worker-1     worker  localhost        running   9737   20 May 01:01:22

from file-extraction.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.