I hereby claim:
- I am ryanfitton on github.
- I am ryanfitton (https://keybase.io/ryanfitton) on keybase.
- I have a public key whose fingerprint is 25A2 D449 12AB E7E2 F37E A263 1FA8 09C4 CF42 7FE6
To claim this, I am signing this object:
<link rel="stylesheet" href="css/styles.cssstyles.css?v=1438124400"> |
<?php | |
//Get the file's last modified timestamp | |
function lastModTimestamp($filename, $filepath = NULL, $displayV = false) { | |
//Combine filepath and filename | |
$file = $filepath . $filename; | |
//If this file exists | |
if (file_exists($file)) { | |
//Get the filename's last modified date | |
$lastModDate = date("Y-m-d", filemtime($file)); |
<link rel="stylesheet" href="css/styles.css<?php echo lastModTimestamp("styles.css", "css/", true)); ?>"> |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} !^443$ | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f |
<?php | |
/* | |
Convert Reserved XML charecters to Entities | |
http://stackoverflow.com/questions/1132633/converting-to-amp-for-xml-in-php | |
*/ | |
function xml_convert($str, $protect_all = FALSE) { | |
$temp = '__TEMP_AMPERSANDS__'; | |
// Replace entities to temporary markers so that |
I hereby claim:
To claim this, I am signing this object:
#Test: | |
env x='() { :;}; echo vulnerable' bash -c "echo this is a test" | |
#Run: | |
apt-get update && apt-get install -y bash | |
<?php | |
/** | |
* Created September 2014 | |
* @author Ryan Fitton | |
* @copyright Copyright (c) 2014, Ryan Fitton | |
*/ | |
//Customer WordPress login styling | |
function custom_login_css() { |
/*! | |
* Description: WordPress Custom Login | |
* Author: Ryan Fitton | |
* Author URI: http://ryanfitton.co.uk | |
* Version: 2014 | |
*/ | |
body.login { | |
background: #ad473b!important; | |
color: #484848!important; | |
} |