https://github.com/zbo14/mongomap
Store and fetch your bug bounty data in mongodb
https://github.com/zbo14/mongomap
Last synced: over 1 year ago
JSON representation
Store and fetch your bug bounty data in mongodb
- Host: GitHub
- URL: https://github.com/zbo14/mongomap
- Owner: zbo14
- License: mit
- Created: 2020-06-25T02:26:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T19:28:13.000Z (over 3 years ago)
- Last Synced: 2024-05-01T15:09:16.321Z (about 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 281 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mongomap
A CLI to store/fetch bug bounty information in mongodb!
## Install
`npm i @zbo14/mongomap`
## Usage
```
.--------.-----.-----.-----.-----.--------.---.-.-----.
| | _ | | _ | _ | | _ | _ |
|__|__|__|_____|__|__|___ |_____|__|__|__|___._| __|
|_____| |__|
Usage: mongomap [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
push store the contents of a file in the database
pull pull documents that were added to the database today
help [command] display help for command
```
## Document models
### Domain
```js
/**
* @typedef {Object} Domain
*
* @property {Date} created
* @property {String} name
* @property {String} parent
* @property {String} program
*/
```
### IP address
```js
/**
* @typedef {Object} IP
*
* @property {String} address
* @property {Date} created
* @property {String} program
*/
```
### IP Range
```js
/**
* @typedef {Object} Range
*
* @property {Number} asn
* @property {String} cidr
* @property {Date} created
* @property {String} program
*/
```
### URL
```js
/**
* @typedef {Object} URL
*
* @property {Date} created
* @property {String} domain
* @property {String} href
* @property {String} program
* @property {Boolean} secure
*/
```