I have identified the errors in the file. There are 8 bytes that appear wrong. 7 added bytes (duplicate) and one missing byte by my calculation.
So you need to remove the 7 bytes I originally suggested and then add 0x05 at offset 4944 in the *patched* file. ie this it the right offset if you have already removed the 7 bytes previously noted. The hexedit should look like:
With those edits in place we can resurrect the original data (I think ;-) However it is fairly obvious that you have edited the binary to preserve the privacy of the user. I would just mention that you may well have corrupted the corruption :-)
[root@devel3 Storable.patch]# cat test.pl
#!/usr/bin/perl
use Storable qw(retrieve);
$Storable::DEBUGME = 0;
my $data = retrieve('store.patch');
use Data::Dumper;
print Dumper $data;
[root@devel3 Storable.patch]# ./test.pl
$VAR1 = bless( {
'_contractual' => bless( {
'_VERSION' => 1,
'prefs' => {
'team/NHL' =>
+ bless( {
+ 'category' => 'team/NHL',
+ 'favorite' => {},
+ 'preferred' => {},
+ 'hated' => {}
+ }, 'Preference' ),
'player/NBA'
+=> bless( {
+ 'category' => 'player/NBA'
+ }, 'Preference' ),
'team/NCAAB'
+=> bless( {
+ 'category' => 'team/NCAAB'
+ }, 'Preference' ),
'team/NCAAF'
+=> bless( {
+ 'category' => 'team/NCAAF'
+ }, 'Preference' ),
'player/TEN'
+=> bless( {
+ 'category' => 'player/TEN'
+ }, 'Preference' ),
'player/NCAAB
+' => bless( {
+ 'category' => 'player/NCAAB'
+ }, 'Preference' ),
'team/NBA' =>
+ bless( {
+ 'category' => 'team/NBA'
+ }, 'Preference' ),
'messages' =>
+ {
+ 'last_post' => 1088213270,
+ 'latest' => [
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000',
+ 'fantasybaseball|Fantasy Baseball Message Board|0000
+000000'
+ ]
+ },
'player/AUTO'
+ => bless( {
+ 'category' => 'player/AUTO'
+ }, 'Preference' ),
'player/NCAAF
+' => bless( {
+ 'category' => 'player/NCAAF'
+ }, 'Preference' ),
'team/AUTO' =
+> bless( {
+ 'category' => 'team/AUTO'
+ }, 'Preference' ),
'component' =
+> {},
'team/TEN' =>
+ bless( {
+ 'category' => 'team/TEN'
+ }, 'Preference' ),
'team/AUTORAC
+ING' => bless( {
+ 'category' => 'team/AUTORACING'
+ }, 'Preference' ),
'player/PGA'
+=> bless( {
+ 'category' => 'player/PGA'
+ }, 'Preference' ),
'player/MLB'
+=> bless( {
+ 'category' => 'player/MLB',
+ 'preferred' => {},
+ 'favorite' => {},
+ 'basis' => 'explicit',
+ 'hated' => {},
+ 'fantasy' => {
+ '00000' => 'explicit',
+ '0000' => 'explicit',
+ '000000' => 'explicit'
+ }
+ }, 'Preference' ),
'player/NFL'
+=> bless( {
+ 'category' => 'player/NFL',
+ 'basis' => 'explicit',
+ 'fantasy' => {
+ '000' => 'explicit',
+ '0000' => 'explicit',
+ '00000' => 'explicit',
+ '000000' => 'explicit'
+ }
+ }, 'Preference' ),
'player/NHL'
+=> bless( {
+ 'category' => 'player/NHL'
+ }, 'Preference' ),
'ui' => bless
+( {}, 'UiPreference' ),
'team/PGA' =>
+ bless( {
+ 'category' => 'team/PGA'
+ }, 'Preference' ),
'player/mayhe
+m' => bless( {
+ 'category' => 'player/mayhem'
+ }, 'Preference' ),
'team/OLY' =>
+ bless( {
+ 'category' => 'team/OLY'
+ }, 'Preference' ),
'team/GOLF' =
+> bless( {
+ 'category' => 'team/GOLF'
+ }, 'Preference' ),
'team/MLB' =>
+ bless( {
+ 'category' => 'team/MLB',
+ 'preferred' => {},
+ 'favorite' => {},
+ 'hated' => {}
+ }, 'Preference' ),
'team/TENNIS'
+ => bless( {
+ 'category' => 'team/TENNIS'
+ }, 'Preference' ),
'team/NFL' =>
+ bless( {
+ 'category' => 'team/NFL',
+ 'favorite' => {
+ 'NONE' => 'explicit'
+ },
+ 'basis' => 'explicit'
+ }, 'Preference' )
}
}, 'ContractualData' ),
'_hash_bucket' => 645,
'_sequence' => '00',
'prefs' => {
'ui' => {}
},
'_version' => 7,
'_timestamp' => 1089225294,
'registration' => bless( {
'country' => 'USA',
'modifieddate' => 'XX/XX/X
+XXX',
'mi_id' => '0000000',
'sportsclub_id' => '-00000
+00000000000000',
'firstname' => 'XXXX',
'phone' => 'XXXXXXXXXX',
'state' => 'MD',
'lastname' => 'XXXXXXXX',
'address1' => 'XXXX XXXXXX
+XXX XXXXXXXX XXXX',
'address2' => '',
'birthdate' => 'XX/XX/XXXX
+',
'city' => 'XXXXXXXX XXXX',
'gender' => '',
'timezone' => 'EST',
'occ_code' => '',
'zip' => '00000-0000',
'rewards' => '0',
'email' => 'xxxxxxxxx@xxxx
+xxxxx.xxx',
'products' => {
'00' => {
+'status' => 1,
+'prod_id' => '00'
},
'000' => {
+ 'status' => 1,
+ 'prod_id' => '000'
}
+,
'0000' =>
+{
+ 'status' => 1,
+ 'prod_id' => '0000'
+}
}
}, 'RegistrationInfo' ),
'id' => 'xxxxxxxxxxx',
'session_count' => 245,
'session' => {
'latest' => 1095301660,
'first' => undef,
'count' => 3
},
'type' => 'L',
'fantasy' => {
'active_roster_mayhem' => [],
'teams_set' => '0000000000',
'active_team_type_MLB' => '_set',
'active_roster_MLB' => [
'000000',
'00000',
'00000',
'000000',
'00000',
'000000',
'0000',
'000000',
'000000',
'0000',
'00000',
'000000',
'000000',
'0000',
'0000',
'0000',
'000000',
'0000',
'000000',
'0000',
'000000',
'0000',
'0000',
'000000',
'00000',
'000000',
'00000',
'000000',
'0000',
'0000',
'0000',
'00000',
'0000'
],
'active_team_type_NFL' => '_set',
'active_roster_NFL' => [
'0000',
'0000',
'0000',
'0000',
'0000',
'000000',
'000',
'0000',
'0000',
'000000',
'000000',
'000000',
'000000',
'000000',
'000000',
'0000',
'00000',
'000',
'0000'
],
'active_roster_date_MLB' => '00000000'
+,
'active_roster_date_NFL' => '00000000'
+,
'teams' => [
{
'args' => 'pid=xxxxxxxx
+xxx',
'base' => 'http://xxxxx
+xxxxxxxxxxxxx.football.sportsline.com/',
'id' => 'xxxxxxxxxxx',
'label' => 'XXXXXXX XXX
+XX XXX<BR>XXXXXXXX XXXXXXXXX',
'key' => 'football:xxxx
+xxxxxxxxxxxxxx',
'league_abbr' => 'NFL',
'logo' => 'http://xxxxx
+xxxxxxxxxxxxx.football.sportsline.com/ownerlogo?size=00x00'
},
{
'args' => 'pid=xxxxxxxx
+xxx',
'base' => 'http://xxxxx
+.baseball.sportsline.com/',
'id' => 'xxxxxxxxxxx',
'label' => 'XXXXXXX XXX
+XX<BR>XXX XXXXXXX XXXXXX',
'key' => 'baseball:xxxx
+x',
'league_abbr' => 'MLB',
'logo' => 'http://xxxxx
+.baseball.sportsline.com/ownerlogo?size=00x00'
},
{
'args' => 'pid=xxxxxxxx
+xxx',
'base' => 'http://xxxxx
+xxxxxxxxxxx.2.mayhem.sportsline.com/',
'id' => 'xxxxxxxxxxx',
'label' => 'XXXX XXXXXX
+XX<BR>CBS SportsLine.com Round by Round Challenge',
'key' => 'mayhem:xxxxxx
+xxxxxxxxxx.2',
'league_abbr' => 'mayhe
+m',
'logo' => 'http://xxxxx
+xxxxxxxxxxx.2.mayhem.sportsline.com/ownerlogo?size=00x00'
},
{
'args' => 'pid=xxxxxxxx
+xxx',
'base' => 'http://xxxxx
+xxxxxxxxxxxxxxxx.2.mayhem.sportsline.com/',
'id' => 'xxxxxxxxxxx',
'label' => 'XXXX XXXXXX
+XX <BR>CBS SportsLine.com Perfect Bracket Challenge',
'key' => 'mayhem:xxxxxx
+xxxxxxxxxxxxxxx.2',
'league_abbr' => 'mayhe
+m',
'logo' => 'http://xxxxx
+xxxxxxxxxxxxxxxx.2.mayhem.sportsline.com/ownerlogo?size=00x00'
}
],
'active_roster_date_mayhem' => '000000
+00',
'active_team_MLB' => 'baseball:xxxxx',
'active_team_NFL' => 'football:xxxxxxx
+xxxxxxxxxxx',
'active_team_type_mayhem' => '_set',
'active_team_mayhem' => 'mayhem:xxxxxx
+xxxxxxxxxx.2'
}
}, 'Profile' );
[root@devel3 Storable.patch]#