Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.mdown
Octocat-spinner-32 command_line_example.php
Octocat-spinner-32 seemes.php
README.mdown

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!
Something went wrong with that request. Please try again.