|
|
|
@ -758,9 +758,6 @@ def get_logs_list(args): |
|
|
|
|
if method != "all": |
|
|
|
|
conn = conn.andWhere("method=?", (method,)) |
|
|
|
|
|
|
|
|
|
if status_code != "all": |
|
|
|
|
conn = conn.andWhere("status_code=?", (status_code,)) |
|
|
|
|
|
|
|
|
|
if request_time != "all": |
|
|
|
|
request_time_s = request_time.strip().split('-') |
|
|
|
|
# print(request_time_s) |
|
|
|
@ -795,6 +792,9 @@ def get_logs_list(args): |
|
|
|
|
if search_uri != "": |
|
|
|
|
conn = conn.andWhere("uri like '%" + search_uri + "%'", ()) |
|
|
|
|
|
|
|
|
|
if status_code != "all": |
|
|
|
|
conn = conn.andWhere("status_code=?", (status_code,)) |
|
|
|
|
|
|
|
|
|
attacHistoryLogHack(conn, domain, query_date) |
|
|
|
|
|
|
|
|
|
conn.changeTextFactoryToBytes() |
|
|
|
|