how to rip a PDF out of CB Protect’s Virtual Vault
Monday, February 6th, 2006this is just for PDFs… cuz they are seriously really easy to rip outta there… but similar crap could be done for whatever kinda code you are lookin for…
#!/usr/bin/perl
@lines = <STDIN>;
$foundpdf = 0;
foreach $line (@lines) {
$foundpdf = 1 if($line =~ /%PDF/);
print "%PDF-1.6\n" if($line =~ /%PDF/);
next if($line =~ /%PDF/);
next if($foundpdf == 0);
print $line;
}
….. yep… delete everything up until “%PDF” and then save it to a .PDF file and you are done. I was trying to do it in fewer lines, but got tired of messing with it.
So.. for the mentally handicapped… get yourself a Linux machine, save that above in a file (”break_virtual_vault.pl” for example), and run:
cat my_protected_pdf.exe | perl break_virtual_vault.pl > mypdf.pdf
And you get an unprotected PDF… completely bypassing Shawn’s Pringle’s amazing “bullet proof” DRM. Seriously. I think I’m gonna go shit now it’s so amazing.
Also, Shawn, if you are only going to protect the people that don’t want to break in to the files, then what good is protecting them? I don’t get a car alarm to keep away parapalegics. And this is not super hacking. I’m treating a binary file as a text file… not usually very fruitful. I used VI and Perl to break your DRM… seriously.. I’m not a super hacker here.
But I know that you need stay outta the security industry… you don’t know what you are doing… you are selling lies and making money off it… and that’s sick man.