Giter Club home page Giter Club logo

nsrllookup's Introduction

nsrllookup

nsrllookup is a Web API built with Python and Flask. It exposes a route to lookup a single MD5 hash and returns "known" or "unkown".

Service main
Quality Codacy Badge
API Docker Pulls
Docker Cloud Build Status
SVR Docker Pulls
Docker Cloud Build Status

This docker service is based on nsrlsvr & nsrllookup-python by rjhansen.

How to use

Build your own version

You can use docker-compose.build.yml to build, test and run your own nsrllookup service.

  1. Build API and run tests

    docker-compose -f docker-compose.build.yml up --build api-test && 
    docker-compose -f docker-compose.build.yml rm -fsv
  2. Prepare the environment. (do this before running any other services)

    docker-compose -f docker-compose.build.yml up svr-prepare && 
    docker-compose -f docker-compose.build.yml rm -fsv

    Follow the container log.

  3. Run it!

    docker-compose -f docker-compose.build.yml up -d api

Use the official docker images (no need to build them)

  1. Prepare the environment. (do this before running any other services)

    docker-compose -f docker-compose.prod.yml up svr-prepare && 
    docker-compose -f docker-compose.prod.yml rm -fsv

    Follow the container log.

  2. Run it!

    docker-compose -f docker-compose.prod.yml up -d api
  3. Wait for the services to become available.

    The nsrllookup-svr service takes some time to load the NSRL RDS hash set. The API service uses docker-compose-wait to wait for nsrllookup-svr to be fully up and running. It exposes port 5000 once finished.

API Route

Send your MD5 hash to http://<hostname>:5000/check/<hash_value>

nsrllookup's People

Contributors

cybagard avatar sanemguzeller 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.