restharter

Version, currently 0.1.13 versions

github.com/NeuraLegion/restharter

Restart a scan using a HAR

0 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  restharter:
    github: NeuraLegion/restharter
    version: ~> 0.1.1

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.1. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

restharter

rest-har-ter is a simple tool to convert a scan's sitemap into a HAR file, and then use this HAR file to run a scan again without needing to re-crawl the site.

The tool uses the BrightSec REST API to fetch the sitemap, and then uses the HAR library to transform the sitemap into a HAR file.

The HAR file will also be saved locally as reharter.har and will uploaded and used for restarting the scan.

Installation

  1. Install Crystal
  2. git clone this repo
  3. cd into the repo
  4. shards build

Usage

bin/restharter [scan_url] [api_key] This will look like

bin/restharter https://app.neuralegion.com/scans/vEnJqXydfsdfsdfsdf 213213312

Docker usage

  1. clone the repo
  2. cd into the repo
  3. docker build -t neuralegion/restharter .
docker run -it neuralegion/restharter [scan_url] [api_key]

Contributing

  1. Fork it (https://github.com/NeuraLegion/restharter/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors