librevlad/basilisk

Work in progress

0.1.1 2020-02-23 21:42 UTC

README

 ____            _ _ _     _    
|  _ \          (_) (_)   | |   
| |_) | __ _ ___ _| |_ ___| | __
|  _ < / _` / __| | | / __| |/ /
| |_) | (_| \__ \ | | \__ \   < 
|____/ \__,_|___/_|_|_|___/_|\_\

Basilisk

Version Control System Penetration Testing Toolkit

Usage (as binary)

You can install the package via composer:

composer global require librevlad/basilisk

Add ~/.config/composer/vendor/bin/ to your PATH

Find repositories:

basilisk git:find -o gits.txt --threads=10 urls.txt

Fetch repository:

basilisk git:dump -t 10 http://example.com ./examplecom

Extract repository:

basilisk git:extract ./examplecom

Usage (as library)

composer require librevlad/basilisk

Finder

$finder = new Finder( $urls, $threads );
$results = $finder->find( function ( $request ) { 

  echo "Found git on ".$request->url();

});

var_dump( $results['success'] );

Dumper

$dumper = new Dumper( $url, $dest, $threads );
$dumper->dump();

Extractor

$extractor = new Extractor( $src, $dest = null );
$extractor->extract();

Testing

composer test

License

The MIT License (MIT).