https://github.com/juhalehtonen/ex_wpvulndb
Elixir API wrapper for the WPScan Vulnerability Database
https://github.com/juhalehtonen/ex_wpvulndb
Last synced: about 2 months ago
JSON representation
Elixir API wrapper for the WPScan Vulnerability Database
- Host: GitHub
- URL: https://github.com/juhalehtonen/ex_wpvulndb
- Owner: juhalehtonen
- License: mit
- Created: 2017-11-19T11:11:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T06:50:27.000Z (over 7 years ago)
- Last Synced: 2025-04-06T08:13:51.898Z (about 2 months ago)
- Language: Elixir
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ex_wpvulndb
[](https://travis-ci.org/juhalehtonen/ex_wpvulndb)
Elixir API wrapper library for the [WPVULNDB / WPScan Vulnerability Database](https://wpvulndb.com) API v2.
## Installation
Install from [Hex.pm](https://hex.pm/packages/ex_wpvulndb):```elixir
def deps do
[
{:ex_wpvulndb, "~> 0.2.0"}
]
end
```## Usage
No API keys are required by the WPVULNDB API. Note that the API is intended to be free only for non-commercial software. Use this API wrapper at your own discretion.### Get vulnerabilities affecting a particular...
- WordPress core version: `ExWpvulndb.Core.get_by_version("4.8.1")`
- WordPress plugin: `ExWpvulndb.Plugin.get_by_slug("eshop")`
- WordPress theme: `ExWpvulndb.Theme.get_by_slug("pagelines")`All functions return either an `{:ok, results}` or an `{:error, reason}` tuple.
## Testing
You can run `mix test` for unit tests, and `mix credo` and `mix dialyzer` to ensure a level of code consistency and freedom from type errors.## License
Licensed under MIT. See LICENSE for details.