工具集成说明
1、已有工具改造非常简单,把之前的工具转换为cli启动,接受一个文件路径参数。
2、需要把原来的任务输入改装一下,通过调用函数方法获取任务。
3、(可选)如果有任务调度图,可以把 节点、边(执行流向)分别保存一下,如果没有可以不保存。
4、把之前的任务日志,调用函数方法保存一下。
5、把之前的漏洞信息,调用函数方法保存一下。
6、把工具编译成一个二进制文件,目标平台:Linux x86_64 架构,或者提供代码和 dockerfile 文件。
安装使用
pip install tasklite
from tasklite import model, task
if __name__ == '__main__':
model.init_db("tsecpent.db", 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.2.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tasklite-0.0.2.tar.gz.
File metadata
- Download URL: tasklite-0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3b96a97179494d15963991ce96772fe6fd567a6057d62f462853818586de402
|
|
| MD5 |
c7546fdd60e9a9218b1d51c8de4600fe
|
|
| BLAKE2b-256 |
6f7e464dddb0e391604b3dd144968860794e29da532d2c542b708755862ca171
|
File details
Details for the file tasklite-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tasklite-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eed3ad0f9e260bfadbb617716e03ceed6bc6012ce3e9b98172c84f2e9a210e07
|
|
| MD5 |
51626cca55a210be0005b8a305ff77c5
|
|
| BLAKE2b-256 |
b8102bac462368143ee1e40e104a232ecd91e644afa0f515e0834fb08992c172
|