# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # blindelephant # blindelephant/distinfo # blindelephant/Makefile # blindelephant/files # blindelephant/files/blindelephant.sh.in # blindelephant/files/patch-setup.py # blindelephant/pkg-descr # blindelephant/pkg-plist # echo c - blindelephant mkdir -p blindelephant > /dev/null 2>&1 echo x - blindelephant/distinfo sed 's/^X//' >blindelephant/distinfo << '52a4f11d2bb6b45f3209f4752dfcc412' XMD5 (blindelephant-20100819.tar.bz2) = 6223383d8531576c9cbe15586256b5d9 XSHA256 (blindelephant-20100819.tar.bz2) = 0d373011b02822450abae3ab0f816c97bb9304cfb541db4587eb6b6945d06672 XSIZE (blindelephant-20100819.tar.bz2) = 7758769 52a4f11d2bb6b45f3209f4752dfcc412 echo x - blindelephant/Makefile sed 's/^X//' >blindelephant/Makefile << 'c64f7dd5178c069402b1a1b527b992e4' X# New ports collection makefile for: blindelephant X# Date created: 2010-08-19 X# Whom: Niels Heinen X# X# $FreeBSD$ X# X XPORTNAME= blindelephant XPORTVERSION= 1.0 XCATEGORIES= security www XMASTER_SITES= ${MASTER_SITE_LOCAL} \ X http://people.freebsd.org/~niels/distfiles/ XMASTER_SITE_SUBDIR= niels XDISTNAME= ${PORTNAME}-20100819 X XMAINTAINER= niels@FreeBSD.org XCOMMENT= Fingerprint the web applications used by a web site X XLICENSE= LGPL3 XUSE_BZIP2= YES XUSE_PYTHON= 2.6+ XUSE_PYDISTUTILS= YES X XSUB_FILES= ${PORTNAME}.sh XSUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ X PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} X XPORTDOCS= README Blind_Elephant_BlackHat_2010.pdf X X.include X Xpost-extract: X @${MV} ${WRKSRC}/src/* ${WRKSRC} X @${MV} "${WRKSRC}/doc/Blind Elephant - BlackHat 2010.pdf" \ X ${WRKSRC}/Blind_Elephant_BlackHat_2010.pdf X Xpost-install: X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X. for I in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR} X. endfor X.endif X X.include c64f7dd5178c069402b1a1b527b992e4 echo c - blindelephant/files mkdir -p blindelephant/files > /dev/null 2>&1 echo x - blindelephant/files/blindelephant.sh.in sed 's/^X//' >blindelephant/files/blindelephant.sh.in << '92e831277ca5a93e1e47a58fb53472ce' X#!/bin/sh X# $FreeBSD$ X Xcd %%PATH%% Xexec %%PYTHON_CMD%% %%PATH%%/BlindElephant.py "$@" X 92e831277ca5a93e1e47a58fb53472ce echo x - blindelephant/files/patch-setup.py sed 's/^X//' >blindelephant/files/patch-setup.py << '505942e29b05f2ee517b807074f74c5e' X--- setup.py.orig 2010-08-20 15:32:51.000000000 +0200 X+++ setup.py 2010-08-20 15:33:03.000000000 +0200 X@@ -1,7 +1,7 @@ X from distutils.core import setup X X setup( X- name='BlindElephant', X+ name='blindelephant', X version='1.0', X description='Uses static file fingerprinting to determine the version of web applications and plugins installed at a url', X author="Patrick Thomas", X@@ -17,4 +17,4 @@ X "Topic :: Internet :: WWW/HTTP" X "Programming Language :: Python :: 2.6" X ] X-) X\ No newline at end of file X+) 505942e29b05f2ee517b807074f74c5e echo x - blindelephant/pkg-descr sed 's/^X//' >blindelephant/pkg-descr << '53ffb07157ab9d3c11c44858ecf64845' XThe BlindElephant Web Application Fingerprinter attempts to discover Xthe version of a (known) web application by comparing static files Xat known locations against precomputed hashes for versions of those Xfiles in all all available releases. The technique is fast, Xlow-bandwidth, non-invasive, generic, and highly automatable. X XWWW: http://blindelephant.sourceforge.net/ 53ffb07157ab9d3c11c44858ecf64845 echo x - blindelephant/pkg-plist sed 's/^X//' >blindelephant/pkg-plist << '12ac98ef93bb5b2cd3a098e66b779b71' Xbin/blindelephant Xlib/python2.6/site-packages/blindelephant/BlindElephant.py Xlib/python2.6/site-packages/blindelephant/BlindElephant.pyc Xlib/python2.6/site-packages/blindelephant/BlindElephant.pyo Xlib/python2.6/site-packages/blindelephant/Configuration.py Xlib/python2.6/site-packages/blindelephant/Configuration.pyc Xlib/python2.6/site-packages/blindelephant/Configuration.pyo Xlib/python2.6/site-packages/blindelephant/DifferencesTables.py Xlib/python2.6/site-packages/blindelephant/DifferencesTables.pyc Xlib/python2.6/site-packages/blindelephant/DifferencesTables.pyo Xlib/python2.6/site-packages/blindelephant/FileMassagers.py Xlib/python2.6/site-packages/blindelephant/FileMassagers.pyc Xlib/python2.6/site-packages/blindelephant/FileMassagers.pyo Xlib/python2.6/site-packages/blindelephant/FingerprintUtils.py Xlib/python2.6/site-packages/blindelephant/FingerprintUtils.pyc Xlib/python2.6/site-packages/blindelephant/FingerprintUtils.pyo Xlib/python2.6/site-packages/blindelephant/Fingerprinters.py Xlib/python2.6/site-packages/blindelephant/Fingerprinters.pyc Xlib/python2.6/site-packages/blindelephant/Fingerprinters.pyo Xlib/python2.6/site-packages/blindelephant/Loggers.py Xlib/python2.6/site-packages/blindelephant/Loggers.pyc Xlib/python2.6/site-packages/blindelephant/Loggers.pyo Xlib/python2.6/site-packages/blindelephant/Scanner.py Xlib/python2.6/site-packages/blindelephant/Scanner.pyc Xlib/python2.6/site-packages/blindelephant/Scanner.pyo Xlib/python2.6/site-packages/blindelephant/__init__.py Xlib/python2.6/site-packages/blindelephant/__init__.pyc Xlib/python2.6/site-packages/blindelephant/__init__.pyo Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/admin_menu.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/cck.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/date.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/filefield.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/google_analytics.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/imageapi.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/imagecache.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/imagefield.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/imce.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/imce_swfupload.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/pathauto.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/print.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/spamicide.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/tagadelic.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/token.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal-plugins/views.pkl Xlib/python2.6/site-packages/blindelephant/dbs/drupal.pkl Xlib/python2.6/site-packages/blindelephant/dbs/joomla.pkl Xlib/python2.6/site-packages/blindelephant/dbs/liferay.pkl Xlib/python2.6/site-packages/blindelephant/dbs/mediawiki.pkl Xlib/python2.6/site-packages/blindelephant/dbs/moodle.pkl Xlib/python2.6/site-packages/blindelephant/dbs/movabletype.pkl Xlib/python2.6/site-packages/blindelephant/dbs/oscommerce.pkl Xlib/python2.6/site-packages/blindelephant/dbs/phpbb.pkl Xlib/python2.6/site-packages/blindelephant/dbs/phpmyadmin.pkl Xlib/python2.6/site-packages/blindelephant/dbs/phpnuke.pkl Xlib/python2.6/site-packages/blindelephant/dbs/spip.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/add-to-any.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/advertising-manager.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/akismet.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/all-in-one-seo-pack.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/buddypress.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/contact-form-7.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/gd-star-rating.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/google-analyticator.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/google-sitemap-generator.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/newsletter.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/nextgen-gallery.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/polldaddy.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/simple-tags.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/smart-youtube.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/sociable.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/stats.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/subscribe2.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/tinymce-advanced.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/twitter-tools.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wp-e-commerce.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wp-pagenavi.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wp-spamfree.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wp-super-cache.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wp-useronline.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/wptouch.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins/yet-another-related-posts-plugin.pkl Xlib/python2.6/site-packages/blindelephant/dbs/wordpress.pkl X@dirrm lib/python2.6/site-packages/blindelephant/dbs/wordpress-plugins X@dirrm lib/python2.6/site-packages/blindelephant/dbs/drupal-plugins X@dirrm lib/python2.6/site-packages/blindelephant/dbs X@dirrm lib/python2.6/site-packages/blindelephant 12ac98ef93bb5b2cd3a098e66b779b71 exit