zeropwn / intelx.py

Python API Wrapper and command-line utility for intelx.io
31 stars 10 forks source link

New function SHOW_FILE_VIEW with auto-select correct format #2

Closed Kleissner closed 4 years ago

Kleissner commented 4 years ago

The correct format in SHOW_FILE_PREVIEW should be copied to SHOW_FILE_VIEW and auto select format based on the content type and media type. This can be done within the function.

Right now they are incorrectly hard-coded in the code: https://github.com/zeropwn/intelx/blob/ea07c86d4da6c8d39b630a2283cad01bc9d2e12f/cli/intelx.py#L58-L64

Kleissner commented 4 years ago

Fixed in 0a0d6bc2902d1c6a84064beda0e8fe63fa035d15