This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 31st, 2010  |  syntax: Python  |  size: 0.42 KB  |  views: 580  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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/
clone this paste RAW Paste Data