seemes icon indicating copy to clipboard operation
seemes copied to clipboard

A PHP class that examines websites to learn about the software used.

Seemes

Pronounced like CMS. This class will scan for known software running on a given website and report it back. Simple to expand, easily to implement. See the file for functions and usage until I can write a better version here.

Example Usage and Output

# Initialize.
$seemes = new Seemes();
# Fetch page and spoof as Chrome.
$page = $seemes->fetchUrl('http://superfamicom.org/', true);
# Set what we want to filter by, nothing for all.
$search_for = array();
# Begin the searching...
$results = $seemes->checkMetaTags(&$page, $results);
$results = $seemes->checkScriptTags(&$page, $results, &$search_for);
$results = $seemes->checkPageText(&$page, $results, &$search_for);
print_r($results);
$analytics = $seemes->getAccounts(&$page);
print_r($analytics);

Array
(
    [0] => Reinvigorate
    [1] => Google Analytics
)

Array
(
    [0] => Google Analytics: UA-315321-4
    [1] => Reinvigorate: n5e27-9j4m6p6586
)

Command Line Example

This will run through a CSV of domains output by Open Site Explorer and append the CMS and any Analytics accounts it finds. Read through the comments in the files to learn more about what's going on.

./command_line_example.php domains-domain-www.distilled.co.uk.csv 7

Reading: domains-domain-www.distilled.co.uk.csv

Checking http://adobe.com/... done!
Checking http://google.com/... done!
Checking http://vimeo.com/... done!
Checking http://reddit.com/... done!
Checking http://twitter.com/... done!
Checking http://linkedin.com/... done!