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

@zbo14/puppetshow

v0.3.3

Published

A command-line utility for sequentially viewing webpages in a browser window

Downloads

9

Readme

puppetshow

A command-line utility for sequentially viewing webpages in a browser window.

Why?

A common process in bug bounty recon is taking screenshots of target URLs with a tool like Aquatone or EyeWitness. While this strategy provides important visual information, manually visiting endpoints in the browser is often more effective. This way, you can see redirects occur, monitor the Network tab for AJAX/fetch requests, inspect markup and JavaScript, and gain a better understanding of your target.

puppetshow allows you to consecutively view a list of endpoints in Chromium. In addition, you can cycle back and forth through the endpoints in case you want to take a second (or third) look. This provides a nice medium between opening dozens of tabs in your browser and scrolling through hundreds or thousands of screenshots. With each new tab you open, the former strategy becomes disproportionately more frustrating and cumbersome. The latter strategy has the benefit of convenience but inevitably comes at the cost of (some) information. Therefore, if you have a list of target endpoints that isn't prohibitively large, puppetshow provides a viable alternative without sacrificing information. You can even leave the browser and terminal windows open and resume viewing at a later time.

Install

npm i @zbo14/puppetshow

Usage

                     _       _
 ___ _ _ ___ ___ ___| |_ ___| |_ ___ _ _ _
| . | | | . | . | -_|  _|_ -|   | . | | | |
|  _|___|  _|  _|___|_| |___|_|_|___|_____|
|_|     |_| |_|


Usage: puppetshow [options] <file>

Options:
  -V, --version                      output the version number
  -d, --dev-tools                    open dev-tools in browser window
  -k, --insecure                     ignore HTTPS errors
  -p, --protocols <string>           comma-separated list of protocols to prepend to IP addresses/hostnames (default: "http,https")
  -q, --quiet                        don't show banner and info
  -r, --reverse                      visit endpoints in reverse order
  -x, --proxy <[proto://]host:port>  use proxy for chromium
  -h, --help                         display help for command

<file> contains a list of URLs, IP addresses, or hostnames.

For every non-URL, puppetshow will prepend "http://" and "https://" unless --protocols indicates otherwise.

When you run the command, it should open a Chromium browser window.

In terminal, you can enter the following commands to stdin:

  • n to go to the next webpage
  • p to go to the previous webpage
  • ctrl-c to close the browser window and stop the program