Skip to content

maverick0o0/Writeup-Miner-Daily-Read

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Writeup-Miner-Daily-Read

Introduction

Daily-Read is a tool that helps you know about the newest security articles and write-ups without you having to check lots of places yourself. It makes staying informed about security easy. The tool is designed to make the process simpler for you.

Why Daily-Read?

Staying updated with what's new in cybersecurity is super important to keep your security strong. Reading articles and write-ups from different places is a good way to know what's going on. But it takes a lot of time to visit many websites. Daily-Read fixes this by doing it automatically. It gets the newest write-ups and sends them to your Discord server.

How it Works

Daily-Read works by parsing a JSON file available at https://pentester.land/writeups.json to identify the newest write-ups. If new write-ups are found, they are sent directly to your Discord server. In the absence of new content, the tool randomly selects from existing write-ups to keep the flow of information constant. Alt text

Options

  • -n: Specify the number of write-ups to send to the Discord server.
  • -pdf: Convert each write-up to PDF format before sending it to the Discord server.

Getting Started

Install pdfkit for PDF conversion

  1. Install pdfkit:
   pip install pdfkit
   sudo apt-get install wkhtmltopdf   

Follow for more information : pdfkit

  1. Install the required dependencies:
   pip install -r requirements.txt
  1. Open modules/variables.py and add your Discord webhook:
   nano modules/variables.py
   discord_webhook = "Your Discord webhook"
  1. Run the tool ( send 10 writeups to your Discord server):
   python3.11 daily-read.py -n 10
  • Send 10 writeups with its PDF to your Discord server
   python3.11 daily-read.py -n 10 -pdf
  1. Utilize a cronjob for ease of use:
    • Run at 12:00 AM
   0 0 * * * cd /Path/To/Your/Writeup-Miner-Daily-Read/Folder && /Your/Python/Location daily-read.py -n 10 >> cronLog.txt
  • Example
   0 0 * * * cd /root/projects/Writeup-Miner-Daily-Read && /usr/bin/python3.11 daily-read.py -n 10 >> cronLog.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages