0xSpidey / writeup-miner

This is a useful Python script for extracting bug bounty or any other write-ups from Medium.com and other websites (soon).
72 stars 9 forks source link
bug-bounty bugbounty bugbounty-tool bugbounty-writeups

Writeup-Miner

Writeup-Miner is a versatile script designed to scour medium.com/rss for new feeds. When it discovers a fresh post not stored in the database, it saves it to either a MongoDB database or a .txt file. Additionally, it offers notification alerts via Telegram or Discord.

Installation and Usage (Python 3)

Ensure that MongoDB is installed before proceeding.

Installation

git clone https://github.com/0xSpidey/writeup-miner.git
cd writeup-miner
pip install -r requirements.txt

Using MongoDB

Make sure MongoDB is installed and running.

python3 writeup-miner.py -t <Telegram Bot TOKEN> -c <Telegram Chat id> -H <MongoDB host> -p <MongoDB port> -m mongo

To update the MongoDB Database:

python3 writeup-miner.py -m mongo --update

Using a .txt File as Database

python3 writeup-miner.py -t <Telegram Bot TOKEN> -c <Telegram Chat id> -m file

To update the File Database:

python3 writeup-miner.py -m file --update

Filter Words

Customize the words you want to filter from notifications by adding them to the res/filters.txt file, one word per line.

Notify via Discord

python3 writeup-miner.py -m mongo -w <your_discord_webhook>

Program Help

For assistance with program parameters:

python3 writeup-miner.py -h

Parameters