npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pentesterland-writeups-scraper

v0.0.4

Published

Scrapes writeups list from https://pentester.land/list-of-bug-bounty-writeups.html into formatted JSON

Downloads

15

Readme

Installation

npm install -S pentesterland-writeups-scraper

Usage

ES6

import load from 'pentesterland-writeups-scraper'

const options = { year: '2020' } // see details below
const getWriteups = async () => await load(options)

const writeups = getWriteups()

// do something with writeups
console.log(writeups)

CommonJS

const load = require('pentesterland-writeups-scraper')

const options = { group: true } // see details below

load(options).then(function (writeups) {
  // do something with writeups
  console.log(writeups)
})

Options

  • group - true or false - returns writeups grouped by year ( object instead of array )
{
  '2020': [...],
  '2019': [...],
  '2018': [...],
  ...
  '2012': [...],
  unknown: [...]
}
  • year - YYYY - returns list of writeups for specified year. Can be unknown, to get all writeups without date.
  • month - MM - returns list of writeups for specified month (year option is required)
  • order - asc or desc - returns list of writeups in asc or desc order

Schema

{
  url: 'https://blog.assetnote.io/bug-bounty/2019/03/19/rce-on-mozilla-zero-day-webpagetest/',
  domain: 'blog.assetnote.io',
  title: 'Discovering a zero day and getting code execution on Mozilla’s AWS Network',
  hackers: [
    { name: 'Shubham Shah', twitter_handle: 'infosec_au' },
    { name: 'Mathias Karlsson', twitter_handle: 'avlidienbrunn' }
  ],
  programs: [ 'Mozilla' ],
  weaknesses: [ 'RCE' ],
  bounty: 500,
  published: { year: '2019', month: '03', day: '19' },
  published_at: '2019-03-19'
}

In some cases there's a few programs, hackers and weaknesses attached to a single writeup, so i decided to go with array type for field, to have consistent format across all writeups.

Each writeup may also have additional properties, such as:

  • status - informative, not_applicable, duplicate or out_of_scope
  • swag - true or false
  • vdp - true or false
  • hall_of_fame - true or false

hacker object may also have website property.