Commit 21af4784 authored by Ismail Moumni's avatar Ismail Moumni
Browse files

Rdos TOOL editing in server

parent b09ab427
Pipeline #1316 failed with stage
in 13 seconds
......@@ -5,7 +5,7 @@ import datetime
import os
import sys
sys.path.append(os.path.realpath('../softwares/'))
import database as db
import database as db # noqa E402
__RDOS_Dict__ = {"parameters": "request"}
......@@ -14,7 +14,7 @@ __RDOS_Dict__ = {"parameters": "request"}
class RdosServer:
__RDOS_Tool__ = db.list_generators()
__RDOS_Tool__ = db.list_generator()
# Function server_conn creates a socket and listens on port 9393
# Function input address : SERVER IP ADRESS & Port server Port
......@@ -54,7 +54,7 @@ class RdosServer:
def query_client(addr, data):
__RDOS_Tool__ = db.list_generators()
__RDOS_Tool__ = db.list_generator()
sa = __RDOS_Tool__.get(list(data.keys())[0])
lm = list((data.values()))
s = {"id": "", "idGenerator": "", "IP": "", "timeSubmitted": "", "timeExecuted": "", "timeFinished": "", "status": "", "parametersJSON": "", "directory": "", "url": "", "message": "", "email": ""}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment