GithubHelp home page GithubHelp logo

pombredanne / chronos-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhmdiaa/chronos

0.0 1.0 0.0 10 KB

Extract pieces of info from a web page's Wayback Machine history

License: MIT License

Go 97.70% Dockerfile 2.30%

chronos-1's Introduction

Chronos

Chronos (previously known as WaybackUnifier) extracts pieces of data from a web page's history. It can be used to create custom wordlists, search for secrets, find old endpoints, etc.


Installation

From binary

Download a prebuilt binary from the releases page and unzip it.

From source

Use go get to download and install the latest version

go get -u github.com/mhmdiaa/chronos

Presets

Presets are predefined options (URL path, match regex, and extract regex) that can be used to organize and simplify different use cases. The preset definitions are stored in ~/.chronos as JSON files

$ cat ~/.chronos/robots.json
{
        "path": "/robots.txt",
        "match": "Disallow",
        "extract": "(?:\\s)(/.*)"
}
$ chronos -pr robots -t example.com
$ # equivalent to...
$ chronos -p /robots.txt -m Disallow -e "(?:\\s)(/.*)"

Example usage

Extract paths from robots.txt files and build a wordlist

$ chronos -t example.com -p /robots.txt -m Disallow -e "(?:\\s)(/.*)" -o robots_wordlist.txt

Save all versions of a web page locally and filter out a specifc status code

$ chronos -t http://example.com/this_is_403_now_but_has_it_always_been_like_this_question_mark -fs 403 -od output

Save URLs of all subdomains of example.com that were last seen in 2015

$ chronos -t *.example.com -u -to 2015

Run the S3 preset that extract AWS S3 URLs

$ chronos -pr s3 -t example.com

Options

Usage: chronos <preset (optional)> <params>
  -c int
    	Number of concurrent threads (default 10)
  -e string
    	Extract regex
  -fm string
    	Filter Mime codes
  -from string
    	Match results after a specific date (Format: yyyyMMddhhmmss)
  -fs string
    	Filter status codes
  -m string
    	Match regex
  -mm string
    	Match Mime codes
  -ms string
    	Match status codes (default "200")
  -o string
    	Output file path (default "output.txt")
  -od string
    	Directory path to store matched results' entire pages
  -p string
    	Path to add to the URL
  -preset string
    	Preset name
  -t string
    	Target URL/domain (supports wildcards)
  -to string
    	Match results before a specific date (Format: yyyyMMddhhmmss)
  -u	URLs only

Contributing

Find a bug? Got a feature request? Have an interesting preset in mind? Issues and pull requests are always welcome :)

chronos-1's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.