SHARE
TWEET

Untitled

a guest Mar 31st, 2010 635 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Megapatch for Didier Launch action abuse
  2. #http://blog.didierstevens.com/2010/03/29/escape-from-pdf/
  3.  
  4. version="9.0"
  5. path = "C:\\Program Files\\Adobe\\Adobe Reader %s\\Reader\\"%version
  6. #path = "./"
  7.  
  8. data = file(path+"AcroRd32.dll","rb").read()
  9. file(path+"AcroRd32.dll.bak","wb").write(data)
  10. while data.find("Launch")!=-1:
  11.         data = data.replace("Launch","Felipe")
  12. file(path+"AcroRd32.dll","wb").write(data)
  13.  
  14. #feliam/
RAW Paste Data
Want to get better at Python?
Learn to code Python in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top