Skip to content

API Key Support

Compare
Choose a tag to compare
@ozzi- ozzi- released this 08 Apr 07:19
· 28 commits to master since this release
a41854b

Since vulners seemd to change their bot detection, support for api keys was added.


Don't forget to place the following files next to the JAR:
email.json:

    {
        "recipients":[ "[email protected]" ],
        "sender": {
            "address": "[email protected]", 
            "host": "smtp.gmail.com",
            "port":25,
            "user":"[email protected]",
            "password":"xxxxxx",
            "subject":"Vulnerability Report <d>"
        }
    }

subscriptions.json:

     {
        "apikey": "XYZ....ZYX",
        "entries":[
        {
            "name":"intel" ,
            "cvss": 5.0
        },{
            "name":"custom_wpvulndb_plugin" ,
            "plugins":[
                "duplicate-post","regenerate-thumbnails"
            ]
        },{
            "name":"chrome" ,
            "cvss": 5.0
        },{
            "name":"centos" ,
            "cvss": 5.0
        }
        ]
    }

history.json:

    {
        "history": [],
        "deleteAfter": {
        "days": 60
        }
    }