Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. import os
  2. import subprocess
  3. import glob
  4. paths = glob.glob("*.exe")
  5. ida_path = os.path.join(os.environ['PROGRAMFILES'], "IDA", "idaw.exe")
  6.  
  7. for file_path in paths:
  8. subprocess.call([ida_path, "-B", file_path])
  9.  
  10. C:Documents and SettingsAdministratorDesktopdiffpython make-asm.py
  11.  
  12. Thank you for using IDA. Have a nice day!
  13.  
  14. C:Documents and SettingsAdministratorDesktopdiff>dir
  15. Directory of C:Documents and SettingsAdministratorDesktopdiff
  16.  
  17. 10/25/2013 11:16 AM <DIR> .
  18. 10/25/2013 11:16 AM <DIR> ..
  19. 10/25/2013 11:16 AM 40,604 a.asm
  20. 10/24/2013 08:35 AM 9,938 a.exe
  21. 10/25/2013 11:16 AM 368,957 a.idb
  22. 10/25/2013 11:16 AM 40,657 b.asm
  23. 10/24/2013 08:35 AM 9,969 b.exe
  24. 10/25/2013 11:16 AM 368,957 b.idb
  25. 10/25/2013 11:15 AM 218 make-asm.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement