Git Product home page Git Product logo

ipblisted's Introduction

ipblisted's People

Contributors

n3tsurge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ipblisted's Issues

Automatic IP Checking

On a schedule check a set of IPs against the black lists and notify if they are listed.

Caching

Implement requests_cache so that subsequent requests are not taxing or slowing down the application

Parameter --max_cache will set how long we hold the cache locally

Requirements: Now needs Postresql

CIDR Matches

Currently any lists that use CIDR format don't get matched properly. Need to parse these.

  1. Collect all the blocks on the page
  2. Use the python ip tools to check if the IP is in a listed block
  3. Profit?

Output to Slack

If the command is running the background for a long time, shoot the results to a defined Slack channel, so the analyst can look away.

Valid IP address check

Users can pass invalid IP addresses to the system, it has issues with

Add a new function to validate an IP address in octal before checking it...if it's bad skip it.

Support for IP blocks

Need to add the ability to search an entire block of IP addresses.

192.168.1.0/24 for example

Support for IP list files

Need to add support to search an entire list of IP addresses, supplied by file.

Requirement:
1 IP per line

Feed list validator

Provide a function that validates the JSON and all the fields in the feed list to make sure the list is compatible with ipblisted's program logic.

Use Requests Session()

Should use requests.session() for this instead of a dictionary

# Default settings for requests
        settings = {"url": self.url}

        # If the user supplied a proxy, set the proxy information for requests
        if options.proxy:
            settings["proxies"] = {"http": options.proxy, "https": options.proxy}
            settings["auth"] = HTTPProxyAuth(options.proxy_user, options.proxy_pass)

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.