Skip to content

mhmdiaa/chronos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chronos

Chronos

Wayback Machine OSINT Framework

Installation

go install github.com/mhmdiaa/chronos@latest

Example Usage

Extract endpoints and URLs from archived JavaScript code

chronos -target "denali-static.grammarly.com/*" -module jsluice -output js_endpoints.json

asciicast

Calculate archived favicon hashes

chronos -target "netflix.com/favicon.ico" -module favicon -output favicon_hashes.json

asciicast

Extract archived page titles

chronos -target "github.com" -module html -module-config "html.title=//title" -snapshot-interval y -output titles.json

asciicast

Extract paths from archived robots.txt files

chronos -target "tripadvisor.com/robots.txt" -module regex -module-config 'regex.paths=/[^\s]+' -output robots_paths.json

asciicast

Extract URLs from archived sitemap.xml files

chronos -target "apple.com/sitemap.xml" -module xml -module-config "xml.urls=//urlset/url/loc" -limit -5 -output sitemap_urls.json

asciicast

Extract endpoints from archived API documentation

chronos -target "https://docs.gitlab.com/ee/api/api_resources.html" -module html -module-config 'html.endpoint=//code' -output api_docs_endpoints.json

asciicast

Find S3 buckets in archived pages

chronos -target "github.com" -module regex -module-config 'regex.s3=[a-zA-Z0-9-\.\_]+\.s3(?:-[-a-zA-Z0-9]+)?\.amazonaws\.com' -limit -snapshot-interval y -output s3_buckets.json

asciicast

Modules

Module Description
regex Extract regex matches
jsluice Extract URLs and endpoints from JavaScript code using jsluice
html Query HTML documents using XPath expressions
xml Query XML documents using XPath expressions
favicon Calculate favicon hashes
full Get the full content of snapshots

Command-line Options

Usage of chronos:
  -target string
    	Specify the target URL or domain (supports wildcards)
  -list-modules
    	List available modules
  -module string
    	Comma-separated list of modules to run
  -module-config value
    	Module configuration in the format: module.key=value
  -module-config-file string
    	Path to the module configuration file
  -match-mime string
    	Comma-separated list of MIME types to match
  -filter-mime string
    	Comma-separated list of MIME types to filter out
  -match-status string
    	Comma-separated list of status codes to match (default "200")
  -filter-status string
    	Comma-separated list of status codes to filter out
  -from string
    	Filter snapshots from a specific date (Format: yyyyMMddhhmmss)
  -to string
    	Filter snapshots to a specific date (Format: yyyyMMddhhmmss)
  -limit string
    	Limit the number of snapshots to process (use negative numbers for the newest N snapshots, positive numbers for the oldest N results) (default "-50")
  -snapshot-interval string
    	The interval for getting at most one snapshot (possible values: h, d, m, y)
  -one-per-url
    	Fetch one snapshot only per URL
  -threads int
    	Number of concurrent threads to use (default 10)
  -output string
    	Path to the output file