Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 583 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 583 Bytes

scanner.php

Simple PHP implementation of a PHP-CLI scanner for the OSSKB (Open Source KB)

Usage

php scanner.php PATH

How does it work

This reference code illustrates the usage of the SCANOSS API to obtain identification against the OSSKB without sending the actual code, but instead the WFP hashes

Analyzed files are read into memory, WFP fingerprints are calculated and sent to the OSSKB API

Results are printed via STDOUT.

License

scanner.php is released under the GPL 2.0 license. Please check the LICENSE file for further details.