[wp-hackers] Have I gone mad?

David Anderson david at wordshell.net
Fri Apr 26 19:29:40 UTC 2013


On 26/04/13 19:40, Simon Prosser wrote:

 > you have a : missing in there

You're just experiencing some URL wrap in the email. I produced the 
unserialised output from that string:

$ php unserialize.php
a:3:{s:6:"action";s:15:"updraft_restore";s:16:"backup_timestamp";s:10:"1366984477";s:15:"updraft_restore";a:5:{i:0;s:7:"plugins";i:1;s:6:"themes";i:2;s:7:"uploads";i:3;s:6:"others";i:4;s:2:"db";}}
Array
(
     [action] => updraft_restore
     [backup_timestamp] => 1366984477
     [updraft_restore] => Array
         (
             [0] => plugins
             [1] => themes
             [2] => uploads
             [3] => others
             [4] => db
         )

)

Where unserialize.php is:

#!/usr/bin/php
<?php print_r(unserialize(fgets(STDIN))); ?>

Anyway, missing colons in serialised output copied in emails does not 
indicate how the error condition is triggered in the first place, which 
is the question!

David

-- 
WordShell - WordPress fast from the CLI - www.wordshell.net



More information about the wp-hackers mailing list