# frozen_string_literal: true ## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # http://www.morningstarsecurity.com/research/whatweb ## WhatWeb::Plugin.define "SQLiteManager" do @author = "Brendan Coles " # 2012-01-14 @version = "0.1" @description = "SQLiteManager - Web-based SQLite administration" @website = "http://www.sqlitemanager.org" # Google results as at 2012-01-14 # # 33 for intitle:"SQLite version" "Welcome to SQLiteManager version" # 26 for inurl:"main.php?dbsel=" # Dorks # @dorks = [ 'intitle:"SQLite version" "Welcome to SQLiteManager version"' ] # Matches # @matches = [ # HTML Comments { text: '' }, { text: '' }, # Form { text: '
' }, # h2 class="sqlmVersion" { text: '

Database : Welcome to SQLiteManager<\/a> version ([^\s^>]+)<\/h2>/ }, # h4 class="serverInfo" # SQLite Version Detection { string: /

(SQLite version [\d\.\s-]+)(undefined)? \/ PHP version 5.2.17<\/h4>/ }, # h4 class="serverInfo" # SQLite Version Detection { string: /

SQLite version [\d\.\s-]+(undefined)? \/ (PHP version [^\s^<]+)<\/h4>/, offset: 1 }, ] end