Skip to main content

工具集成说明

1、已有工具改造非常简单,把之前的工具转换为cli启动,接受一个文件路径参数。

2、需要把原来的任务输入改装一下,通过调用函数方法获取任务。

3、(可选)如果有任务调度图,可以把 节点、边(执行流向)分别保存一下,如果没有可以不保存。

4、把之前的任务日志,调用函数方法保存一下。

5、把之前的漏洞信息,调用函数方法保存一下。

6、把工具编译成一个二进制文件,目标平台:Linux x86_64 架构,或者提供代码和 dockerfile 文件。

安装使用

pip install tasklite
import sys

from tasklite import model, task

if __name__ == '__main__':
    args = sys.argv[1:]
    db_path = args[0]
    model.init_db(db_path, echo=True)
    t = task.get_task()
    print(t.name, t.target, t.download_dir, t.test_type)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tasklite-0.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tasklite-0.0.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file tasklite-0.0.3.tar.gz.

File metadata

  • Download URL: tasklite-0.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for tasklite-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e5769fdcc002c7d6cd081ca3efca33ca9201218c3f5efe656ca35f2e930a10af
MD5 c157fba023766423bfe892f78c810def
BLAKE2b-256 0b5c7e2cca34fe8661c6bbda1da09ed8ca2dedc4c2ba8b81625f773a2022897a

See more details on using hashes here.

File details

Details for the file tasklite-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: tasklite-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for tasklite-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad1815cdedf43e62f37d30a2f5812c1bca9f05103150a59f72ecd840e09653d2
MD5 5a890d78b6869838bc68c41c94ea1742
BLAKE2b-256 c2655ae6ca067afda97dd8c9cd34e0aef0234a58fc3ae038a182a898b5ca6387

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

This release

0.0.3 This release

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page