ProductPromotion
Logo

Ruby

made by https://0x3d.site

GitHub - erwanlr/Fingerprinter: CMS/LMS/Library etc Versions Fingerprinter
CMS/LMS/Library etc Versions Fingerprinter. Contribute to erwanlr/Fingerprinter development by creating an account on GitHub.
Visit Site

GitHub - erwanlr/Fingerprinter: CMS/LMS/Library etc Versions Fingerprinter

GitHub - erwanlr/Fingerprinter: CMS/LMS/Library etc Versions Fingerprinter

Rawsec's CyberSecurity Inventory Packaging status License: CC BY-NC 4.0

Fingerprinter

This script goal is to try to find the version of the remote application/third party script etc by using a fingerprinting approach.

Installation

Form source

Inside the cloned repo directory:

$ gem install bundler
$ bundle install
Install on BlackArch:
$ sudo pacman -S fingerprinter

Currently Supported Apps (along with some location/s of versions being disclosed)

Unsupported Apps (along with the reason, useful links & location/s of versions being disclosed)

  • AngularJS - Fingerprints not needed for that (see below) [Payloads | Vulns]
    • Version disclosed from:
      • filename or filepath
      • In the comments at the top of the file
      • By submitting angular.version in the Web Dev console of the Web browser on a page where the lib is loaded
  • Boostrap - Fingerprints not needed for that (see below) [CVEs | Vulns]
    • Version disclosed from:
      • Filename of filepath
      • In the Comments at the top of the file
  • ExpressionEngine - Need to be registered to download the latest free core version. No page to DL them all. [CVEs | Exploit DB]
    • Version disclosed from the footer and rss link (generator tag)
  • jQuery - Fingerprints not needed for that (see below) [CVEs | Vulns]
    • Version disclosed from:
      • Filename of filepath
      • In the Comments at the top of the file
      • By submitting $().jquery or jQuery().jquery in the Web Dev console of the Web browser on a page where the lib is loaded
  • jQuery UI - Fingerprints not needed for that (see below) [CVEs | Vulns]
    • Version disclosed from:
      • Filename of filepath
      • In the Comments at the top of the file
      • By submitting $.fn.jquery or jQuery.fn.jquery in the Web Dev console of the Web browser on a page where the lib is loaded
  • Kentico CMS - Need to provide personal details / register to DL the latest free version [Exploit DB | Hotfixes]
    • Main version disclosed from
      • /CMSHelp/ (in title tag)
      • /CMSPages/GetDocLink.ashx (in the Location header)
  • MustacheJS - Fingerprints not needed for that (see below) [Vulns]
    • Version disclosed from:
      • Filename of filepath
      • Look for mustache.version in the file
  • MomentJS - Fingerprints not needed for that (see below) [Vulns]
    • Version disclosed from:
      • Filename of filepath
      • Look for var v,Aj= in the file
      • By submitting moment.version in the Web Dev console of the Web browser on a page where the lib is loaded
  • PrettyPhoto - Fingerprints no needed for that (see below) [CVEs]
    • Version disclosed from the comments at the top of the file
  • SharePoint - Not free / couldn't find a free or CE edition [Exploit DB | Version numbers (not up-to-date)]
    • Version disclosed from /_vti_pvt/service.cnf
  • Sitecore CMS - Need to be registered, not sure if all versions would then be available to DL [CVEs | Exploit DB | Security Advisories | Latest Version Numbers | Version numbers & revisions]
    • Version disclosed from
      • /sitecore/login
      • /sitecore/shell/sitecore.version.xml
  • ThinkPHP - Framework [CVEs | Versions Released | 3.2.3 Potential Remote Shell]
    • Version disclosed from some 404s in the footer, like /login
  • vBulletin - Not free [Sucuri | Security Announcements | Exploit DB]
    • Version disclosed from:
      • generator meta tag and footer copyright in all pages
      • /clientscript/vbulletin_global.js
      • /clientscript/vbulletin_menu.js
      • /clientscript/vbulletin-core.js

Basic Usage Examples

Using all the Fingerprints
./fingerprinter.rb --app-name wordpress --fingerprint http://target.com/blog/
Using unique Fingerprints

With this mode, only the unique Fingerprints (across all the application's versions files) will be tested. This mode is faster than the previous one, and more reliable. However it is possible that an application's version does not have any unique fingerprints (like Apache Icons, which only has 2 unique fingerprints for the version 2.4.4, and none for the others)

./fingerprinter.rb --app-name wordpress --unique-fingerprint http://target.com/blog/
Using passive fingerprinting mode

In this mode, the homepage of the target is scanned for included ressources such as JavaScript files, Images and so on which are then checked against the DB.

./fingerprinter.rb --app-name wordpress --passive-fingerprint http://target.com/blog/

Options

-p, --proxy PROXY                   Proxy to use during the fingerprinting
    --timeout SECONDS               The number of seconds for the request to be performed, default 20s
    --connect-timeout SECONDS       The number of seconds for the connection to be established before timeout, default 5s
    --cookies-file, --cf FILE-PATH  The cookies file to use during the fingerprinting
    --cookies-string, --cs COOKIE/S The cookies string to use in requests
    --user-agent, --ua UA           User-Agent to use in all fingerprinting requests
-d, --db PATH-TO-DB                 Path to the db of the app-name (default is db/<app-name>.json)
-u, --update                        Update the db of the app-name
-m, --manual DIRECTORY-PATH         To be used along with the --update and --version options. Process the (local) DIRECTORY-PATH and compute the file fingerprints
    --version                       Used with --manual to set the version of the processed fingerprints
    --update-all,                   Update all the apps, except the wordpress plugins and themes
-v, --verbose                       Verbose Mode

Example: Add the file fingerprints from /tmp/test into the Liferay DB for the v6.2

./fingerprinter -a liferay --update --manual /tmp/test --version 6.2

Search the Application Database

Along with the --app-name option (or -a), the database can be searched:

--list-version, --lv                       List all the known versions in the DB for the given app
--list-files, --lf VERSION                 List all files related to the version for the given app
--list-unique-fingerprints, --luf VERSION  List the unique hashes related to the files for the supplied version of the app
--search-hash, --sh HASH                   Search the hash and output the app-name versions & file
--search-file, --sf FILE                   Search the file (ie --sf read will return aread.txt, readme.html etc) and output the app-name versions & hashes

Example: List all the unique Fingerprints for WordPress 3.8.1

./fingerprinter.rb -a wordpress --luf 3.8.1

--help

Usage: ./fingerprinter.rb [options]
    -p, --proxy PROXY                                  Proxy to use during the fingerprinting
        --timeout SECONDS                              The number of seconds for the request to be performed, default 20s
        --cookies-file, --cf FILE-PATH                 The cookies file to use during the fingerprinting
        --cookies-string, --cs COOKIE/S                The cookies string to use in requests
        --user-agent, --ua UA                          User-Agent to use in all fingerprinting requests
    -a, --app-name APPLICATION                         The application to fingerprint. Currently supported: apache-icons, chamilo-lms, ckeditor, cms-made-simple, concrete5, django-cms, dnn-cms drupal, fckeditor, joomla, liferay, magento-ce, mantisbt, mediaelement, moodle, phpmyadmin, prestashop, punbb, tinymce, umbraco, wordpress
    -d, --db PATH-TO-DB                                Path to the db of the app-name
    -u, --update                                       Update the db of the app-name
        --manual DIRECTORY-PATH                        To be used along with the --update and --version options. Process the (local) DIRECTORY-PATH and compute the file fingerprints
        --version VERSION                              Used with --manual to set the version of the processed fingerprints
        --update-all,                                  Update all the apps
        --list-versions, --lv                          List all the known versions in the DB for the given app
        --list-files, --lf VERSION                     List all files related to the version for the given app
        --list-unique-fingerprints, --luf VERSION      List the unique hashes related to the files for the supplied version of the app
        --search-hash, --sh HASH                       Search the hash and output the app-name versions & file
        --search-file, --sf FILE                       Search the file using a LIKE method (so % can be used, e.g: readme%) and output the app-name versions & hashes
        --fingerprint URL                              Fingerprint the app-name at the given URL using all fingerprints
        --unique-fingerprint, --uf URL                 Fingerprint the app-name at the given URL using unique fingerprints
        --passive-fingerprint, --pf URL                Passively fingerprint the URL
        --db-verbose, --dbv                            Database Verbose Mode
    -v, --verbose                                      Verbose Mode

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory