decalage2/oletools

下载页面

不同的Python脚本提取的内容(个人工作向笔记)

OLE

olebrowse.py

oledir.py

oleform.py

oleid.py

  • 语言
  • 作者
  • 是否存在Macros(宏代码)
    • VBA
    • XLM

image.png

  1. --------------------+--------------------+----------+--------------------------
  2. Indicator |Value |Risk |Description
  3. --------------------+--------------------+----------+--------------------------
  4. File format |MS Word 97-2003 |info |
  5. |Document or Template| |
  6. --------------------+--------------------+----------+--------------------------
  7. Container format |OLE |info |Container type
  8. --------------------+--------------------+----------+--------------------------
  9. Application name |Microsoft Office |info |Application name declared
  10. |Word | |in properties
  11. --------------------+--------------------+----------+--------------------------
  12. Properties code page|1254: ANSI Turkish; |info |Code page used for
  13. |Turkish (Windows) | |properties
  14. --------------------+--------------------+----------+--------------------------
  15. Author |kinger |info |Author declared in
  16. | | |properties
  17. --------------------+--------------------+----------+--------------------------
  18. Encrypted |False |none |The file is not encrypted
  19. --------------------+--------------------+----------+--------------------------
  20. VBA Macros |No |none |This file does not contain
  21. | | |VBA macros.
  22. --------------------+--------------------+----------+--------------------------
  23. XLM Macros |No |none |This file does not contain
  24. | | |Excel 4/XLM macros.
  25. --------------------+--------------------+----------+--------------------------
  26. External |0 |none |External relationships
  27. Relationships | | |such as remote templates,
  28. | | |remote OLE objects, etc
  29. --------------------+--------------------+----------+--------------------------

olemap.py

olemeta.py

  • title:标题
  • subject:主题
  • author:作者
  • keywords:关键字
  • comments:评论
  • last_saved_by:最后保存者
  • last_saved_time:最后保存时间
  • create_time:创建时间
  • total_edit_time:总编辑时长

image.png

  1. Properties from the SummaryInformation stream:
  2. +---------------------+------------------------------+
  3. |Property |Value |
  4. +---------------------+------------------------------+
  5. |codepage |1254 |
  6. |title |nominelo |
  7. |subject |Topara |
  8. |author |kinger |
  9. |keywords |Nunc lobortis mattis aliquam |
  10. | |faucibus puru |
  11. |comments |Turpis cursus in hac habitasse|
  12. | |platea dictumst quisque. Velit|
  13. | |laoreet id donec ultrices. At |
  14. | |elementum eu facilisis sed. In|
  15. | |pellentesque massa placerat |
  16. | |duis ultricies lacus sed |
  17. | |turpis. Purus ut faucibus |
  18. | |pulvinar elementum integer |
  19. | |enim neque volutpat. Magna |
  20. | |eget est lorem ipsum dolor sit|
  21. | |amet consectetur. Eget aliquet|
  22. | |nibh praesent tristique. |
  23. |template |Normal.dotm |
  24. |last_saved_by |-- |
  25. |revision_number |1 |
  26. |total_edit_time |0 |
  27. |create_time |2018-03-01 23:16:00 |
  28. |last_saved_time |2018-03-01 23:16:00 |
  29. |num_pages |1 |
  30. |num_words |0 |
  31. |num_chars |3 |
  32. |creating_application |Microsoft Office Word |
  33. |security |0 |
  34. +---------------------+------------------------------+

image.png

  1. Properties from the DocumentSummaryInformation stream:
  2. +---------------------+------------------------------+
  3. |Property |Value |
  4. +---------------------+------------------------------+
  5. |codepage_doc |1254 |
  6. |bytes |11000 |
  7. |lines |1 |
  8. |paragraphs |1 |
  9. |scale_crop |False |
  10. |company |-- |
  11. |links_dirty |False |
  12. |chars_with_spaces |3 |
  13. |shared_doc |False |
  14. |hlinks_changed |False |
  15. |version |1048576 |
  16. +---------------------+------------------------------+

oleobj.py

oletimes.py

olevba.py

olevba3.py