Coder Social home page Coder Social logo

hoover-snoop2_1p8s's Introduction

Snoop Mk2

Collection analyzer for Hoover.

Setup

Snoop is recommended to run in Nomad using Liquid Investigations.

Run tests locally

Install the drone CLI binary from their website onto your PATH. Install Docker CE, latest version.

Then, run ./run-tests with arguments you'd normally pass to py.test, like this:

./run-tests -vvv -x -k mime

You need at least 8GB of RAM and 10GB of free disk space on /opt for all the docker images. The tests will take around 2-3min to start, then run for another 5-15min depending on your CPU and bandwidth.

If you want to interactively work on the tests, do the following:

# after the first failure, sleep for a very long time; leave this command running:
./run-tests '-x || sleep 10000'

# in another shell, identify the container running the test
docker ps  | grep hoover-snoop2
# and exec a shell into it (where xxxx is your docker container ID from above)
docker exec -it xxxx bash

# run tests as desired, with all the extra services staying alive!
py.test

Note: if you need to close/restart ./run-tests script, remember to do docker rm -f $(docker ps -qa), because interrupting drone exec does not clean up docker containers.

Documentation

Documentation is hosted by https://readthedocs.org/.

You can build and view the documentation by running:

./serve-docs

The page at http://localhost:8000 will auto-refresh when you edit the code.

Authentication and Security

This website leaves out access control, authentication and user management to other components.

The admin sites are public, logging in any visitor as an administrator called "root". Please firewall the exposed port and run it behind authentication.

hoover-snoop2_1p8s's People

Contributors

alexneamtu avatar dependabot-preview[bot] avatar dependabot[bot] avatar gabriel-v avatar ioanpocol avatar jarib avatar k-jell avatar mariusrazvanpricop avatar mattesr avatar mgax avatar morten-spiegel avatar mugurrus avatar raduklb avatar razorbest avatar salevajo avatar trellixvulnteam avatar

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.