danielpoliakov / lisa

Sandbox for automated Linux malware analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing default execution time

adliwahid opened this issue · comments

Is there a way to pass the 'execution time' via the API call or change the default value of execution time? thanks!

You can pass the 'execution time' as an argument in the POST request. Here an example in python.

import requests

myfile = {"file": yourfile}
args = {'exec_time': 300}
response = requests.post("http://localhost:4242/api/tasks/create/file",files=myfile,data=args)