TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 606 forks source link

[Question]How to upload an zip file with password using API #2357

Open heywiorld opened 2 years ago

heywiorld commented 2 years ago

Request Type

Question

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) WIN10
Virtualized Env. False
Dedicated RAM 16 GB
vCPU 4
TheHive version / git hash 4.1.18
Package Type From source
Database Cassandra
Index type Elasticsearch
Attachments storage Local
Browser type & version If applicable

Question

How to upload an zip file with password using API?

I saw an example from TheHive4py with link : https://github.com/TheHive-Project/TheHive4py/blob/1.x/samples/test-case-observable.py

but there seems no parameter for zip file password, so pls give some suggestion.

thanks very much~