Skip to content

Instantly share code, notes, and snippets.

@PhilETaylor
Created November 29, 2012 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PhilETaylor/4168296 to your computer and use it in GitHub Desktop.
Save PhilETaylor/4168296 to your computer and use it in GitHub Desktop.
Example Audit Results Stored Detail
<?php
$data = array(
"id" => 155, // Our internal id number for the audit
"site_id" => 123, // Your sites ID reference
"user_id" => 456, // Your User ID reference
"status" => "COMPLETE", // Used during audit progress - shows status of the audit
"killflag" => null, // Used during audit progress - allows us to kill an audit
"scanerrormsg" => null, // Used during audit progress - Any error your site gives us
"step" => "", // Used during audit progress - What step of the audit we are on
"version" => "2.5.7", // Your exact Joomla version identified
"platform" => "Joomla", // Always Joomla, of course :)
"googlestatus" => "0", // If your site is on Google's safe browsing blacklist
"connectorversion" => "FE56SG", // What version of our connector this audit was conducted with
"lasthackcheck" => null, // Not Currently Used
"hasnewsuspectfilesinlastday" => null, // Not Currently Used
"hackcheckqueueditems" => null, // Not Currently Used
"dirs_to_scan" => null, // Not Currently Used
"files_to_scan" => null, // Not Currently Used
"foundDirs" => 4715, // Number of folders found in your web space
"foundFiles" => 24246, // Number of files found in your web space
"foundRecentlyModifiedFilesTotal" => 4162, // Number of files modified in the last 3 days
"suspectfiles" => 12, // Number of files with suspect/bad code
"skippedfiles" => 0, // Number of files we never audited
"noMoreFoldersToScan" => 1, // Used during audit progress to ensure we move steps on
"noMoreFilesToScan" => 1, // Used during audit progress to ensure we move steps on
"deepscancomplete" => 1, // Used during audit progress to ensure we move steps on
"hashfailedcount" => 0, // Number of core files that have been modified
"tickOver" => 111, // Number of encrypted replies received during an audit
"startTime" => "2012-10-23 14:47:35", // Audit start time
"endTime" => "2012-10-23 15:47:35", // Audit finish time
"totalTimeTaken" => "1 hour", // How long the audit took
"alreadyAddedRootDirs" => 1, // Used during audit progress to ensure we move steps on
"scancomplete" => 1, // Used during audit progress to ensure we move steps on
"timescancompleted" => "2012-10-23 15:47:35", // Time audit completed
"maxPHPMemoryUsed" => "2", // Maximum use of PHP memory on your server during audit
"LASTUPDATED" => "2012-10-23 15:47:35", // Time audit last updated to our database
"notify" => "{}", // Who to notify when audit complete (Email/twitter)
"changesmadesincescan" => null, // Flag raised when you make changes with our tools
"php_version" => "5.2.17", // PHP Version of your server
"php_disabled_functions" => null, // Number of functions in your php disable_functions ini setting
"display_errors" => 0, // Your servers php ini setting for display_errors
"register_globals" => 0, // Your servers php ini setting for register_globals
"safe_mode" => 0, // Your servers php ini setting for safe_mode
"file_uploads" => 1, // Your servers php ini setting for file_uploads
"magic_quotes_gpc" => 0, // Your servers php ini setting for magic_quotes_gpc
"magic_quotes_runtime" => 0, // Your servers php ini setting for magic_quotes_runtime
"session_autostart" => 0, // Your servers php ini setting for session_autostart
"mysql_version" => "5.1.0", // Your Mysql version
"session_save_path" => 1, // Your servers php ini setting for the session save path
"is_windows_host" => 0, // Flag if your server is windows
"session_save_path_writable" => 1, // Flag if your session save path is writable
"db_prefix" => 1, // Flag if your prefix is jos_
"dbs_visible" => 3, // Number of databases visible
"db_user_is_root" => 0, // Flag if your db user is root in configuration.php
"db_bak_tables" => 14, // Number of db tables with bak_ prefix
"memory_limit" => "8M", // Your servers php ini setting for memory_limit
"has_installation_folders" => 1, // Flag if *installation* folder is found in the root
"user_hasdefaultuserids" => 0, // Flag if your site has a user with 62/42
"site_debug_enabled" => 0, // Flag if your sites configuration.php has debug enabled
"xmlrpc_server_enabled" => 0, // Not Currently Used
"has_ftp_configured" => 0, // Flag if your sites configuration.php has been enabled
"error_logs_seen" => 2, // Number of error_log files found
"files_777" => 0, // Number of files seen with 777 permissions
"folders_777" => 0, // Number of folders seen with 777 permissions
"tmp_install_folders" => 0, // Number of files seen in your Joomal tmp folder
"hidden_folders" => 1, // Number of folders prefixed with a period
"numberofsuperadmins" => 0, // Not Currently Used
"adminusernames" => 0, // Number of users seen with a username of "admin"
"renamedtohidefiles" => 6, // Number of files renamed to things like file.php.old etc...
"archive_files" => 1, // Number of Zip etc... files seen in your webspace
"hidden_files" => 23, // Number of files prefixed with a period
"encrypted_files" => 0, // Number of Zend/Ioncube encrypted files seen
"phpinwrongplace" => null, // Not Currently Used
"large_files" => null, // Number of files seen over 2Mb
"neverloggedinusers" => null, // Number of users that have never logged in
"hasjce" => null, // Flag if JCE Editor is installed
"filestoscan" => 0, // Not Currently Used
"hasakeebabackup" => 1, // Flag if akeeba backup installed
"queuecount" => 0, // Not Currently Used
"htaccess_files" => null, // Number of .htaccess files seen
"site_offline" => null, // Your configuration.php value for $offline
"cache_enabled" => null, // Your configuration.php value for $cache
"sef_enabled" => null, // Your configuration.php value for $sef
"favicon_default" => null, // Flag if your favicon is a default Joomla one
"smtpallowsftp" => null, // Not Currently Used
"ftpallowssmtp" => null, // Not Currently Used
"tmplogfolderswritable" => null, // Flag if your tmp/log folders are writable
"emailconfigworking" => null, // Not Currently Used
"extensionupdatesavailable" => null, // Not Currently Used
"defaulttemplateused" => null, // Flag if the active template is a Joomla default one
"tpequalsone" => null, // Flag is tp=1 is enabled
"configsymlinked" => null, // Flag if configuration.php is a symlink and not a real file
"nestedinstalls" => null, // Not Currently Used
"kickstartseen" => null, // Flag if we find kickstart.php
"fpaseen" => null, // Flag if we see fpa.php
"templatelinks" => null, // Not Currently Used
"vellistedextensions" => null, // Not Currently Used
"legacyextensions" => null, // Not Currently Used
"userregistrationenabled" => null, // Flag if user registration enabled
"ssl_valid" => null, // Not Currently Used
"googlewebmasterregistered" => null, // Not Currently Used
"has_root_htaccess" => null, // Flag if you have a .htaccess file
"tmplogfoldersdefaultpaths" => null, // Flag if the tmp/log folders are correct
"phpiniseen" => null, // Number of PHP.ini files seen
"has_robots_modified" => null, // Flag if robots.txt modified
"logtail" => null // last few lines of OUR debug log if debugging enabled
);
@PhilETaylor
Copy link
Author

Note: This is subject to change as we increase the features we offer in an audit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment