Improved login errors,

Added user disable option,
Fix groups selection in tasks,
Improved Auto updater,
Fixed sorting of scan reports,
Some pro feature
This commit is contained in:
sepehr 2024-08-26 11:22:04 +03:30
parent c39721de96
commit 30d60a72ad
12 changed files with 115 additions and 38 deletions

View file

@ -45,7 +45,7 @@ def scan_resutls():
input = request.json
tasks=db_tasks.TaskResults
#Get tasks that is task_type is ip-scan
tasks=tasks.select().where(tasks.task_type=='ip-scan')
tasks=tasks.select().where(tasks.task_type=='ip-scan').order_by(tasks.id.desc())
tasks=list(tasks.dicts())
#Get task results
return buildResponse({'status': True,'data':tasks},200)