| Server IP : 162.144.4.212 / Your IP : 216.73.216.9 Web Server : Apache System : Linux gator2125.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/PUC/ |
Upload File : |
# The webapps hash is keyed on the webapp name. Each entry is a hash with the following entries:
# - id: required. Specifies the file to examine and the regex pattern to search for
# in order to identify the specified webapp.
# - nofile: optional. Specifies that the indicated files must NOT exist in order for
# the webapp to be indentified.
# - version: optional. Specifies the file to examine and the regex pattern to search
# for in order to identify the version.
#
# Note: every regex pattern should include one matching group that is returned by the regex.
my $config = {
webapps => {
wordpress => {
id => {
file => "index.php",
pattern => "(WordPress)",
},
version => {
file => "wp-includes/version.php",
pattern => 'wp_version.*=.*[\'"](\d+\.\d+\.\d+)[\'"]',
},
},
weebly => {
id => {
file => "index.html",
pattern => "(Weebly)",
}
},
joomla => {
id => {
file => "index.php",
pattern => "(Joomla)",
},
version => {
file => "joomla.xml",
pattern => '\<version\>(\d+\.\d+\.\d+)\<\/version\>',
},
},
hg_default => {
id => {
file => "default.html",
pattern => "(HostGator)",
},
nofile => [ "index.html", "index.php", ".htaccess" ],
},
},
datastore_route => '/v1/report/installed/webapp',
local_storage => {
dbfile => ':memory:',
},
};