I need to get my MBR back.
On a remote machine I've just did:
Then I did:
Now it is in binary form and I don't know, how to extract it from my email.
Yea, yea, I had to base64 encode it, but I've also drank a few beers and was pissed of with typing too long CMDs!
On home machine I've:
Now when I 'vi /save_MBR' and delete all header and subject and one empty line, I get:
MBR is of size 512.
Unedited file /save_MBR has 1012 bytes?!
So, anyone has any ideas?
On a remote machine I've just did:
Code:
dd if=/dev/ada0 of=/MBR count=1
Code:
cat /MBR | mail -s 'ada0 MBR' me@my.mail
Now it is in binary form and I don't know, how to extract it from my email.
Yea, yea, I had to base64 encode it, but I've also drank a few beers and was pissed of with typing too long CMDs!
On home machine I've:
Code:
cp -v /var/mail/root/cur/1316634_bla_bla_rce.biz:2,S /save_MBR
Code:
# stat -f "%z" /save_MBR
26
Unedited file /save_MBR has 1012 bytes?!
So, anyone has any ideas?