Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

usage: packettotal [-h] [--query QUERY] [--pcap-id PCAP_ID]
                   [--search-id SEARCH_ID] [--path PCAP_PATH]
                   [--ioc-path IOC_PATH] [--skip-warnings] [--name PCAP_NAME]
                   [--sources PCAP_SOURCES [PCAP_SOURCES ...]]
                   [--output OUTPUT]

A simple command-line utility for interacting with the PacketTotal API.

positional arguments:
  mode                  The mode to invoke [ analyze|search|search_by_pcap|ioc

optional arguments:
  -h, --help            show this help message and exit
  --query QUERY         A search query
  --pcap-id PCAP_ID     The MD5 hash of the pcap on PacketTotal.
  --search-id SEARCH_ID
                        The search identifier corresponding to a deep search
  --path PCAP_PATH      The path to the pcap file you wish to analyze.
  --ioc-path IOC_PATH   The path to a newline delimited text file containing
                        search terms.
  --skip-warnings       Skip pcap analyze warning prompt
  --name PCAP_NAME      The optional name associated with the pcap analysis.
                        URLs referencing the original analysis.
  --output OUTPUT       A path to an output file, defaulted to stdout if not
You can’t perform that action at this time.