| 1 |
len(results) == 1 |
| 2 |
"127.0.0.1" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["127.0.0.1"].IP == "127.0.0.1" |
| 4 |
results[0].Overflow.Sources["127.0.0.1"].Range == "" |
| 5 |
results[0].Overflow.Sources["127.0.0.1"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["127.0.0.1"].GetValue() == "127.0.0.1" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_args_len") == "27" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/foo?a=information_schema.tables" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "404" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "curl/7.68.0" |
| 13 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" |
| 14 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 15 |
results[0].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 16 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "127.0.0.1" |
| 17 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 18 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" |
| 19 |
results[0].Overflow.Alert.Events[1].GetMeta("http_args_len") == "28" |
| 20 |
results[0].Overflow.Alert.Events[1].GetMeta("http_path") == "/foo?a=%20union%20all%20select%20" |
| 21 |
results[0].Overflow.Alert.Events[1].GetMeta("http_status") == "404" |
| 22 |
results[0].Overflow.Alert.Events[1].GetMeta("http_user_agent") == "curl/7.68.0" |
| 23 |
results[0].Overflow.Alert.Events[1].GetMeta("http_verb") == "GET" |
| 24 |
results[0].Overflow.Alert.Events[1].GetMeta("log_type") == "http_access-log" |
| 25 |
results[0].Overflow.Alert.Events[1].GetMeta("service") == "http" |
| 26 |
results[0].Overflow.Alert.Events[1].GetMeta("source_ip") == "127.0.0.1" |
| 27 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 28 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_type") == "file" |
| 29 |
results[0].Overflow.Alert.Events[2].GetMeta("http_args_len") == "22" |
| 30 |
results[0].Overflow.Alert.Events[2].GetMeta("http_path") == "/foo?a=%20union%20select%20" |
| 31 |
results[0].Overflow.Alert.Events[2].GetMeta("http_status") == "404" |
| 32 |
results[0].Overflow.Alert.Events[2].GetMeta("http_user_agent") == "curl/7.68.0" |
| 33 |
results[0].Overflow.Alert.Events[2].GetMeta("http_verb") == "GET" |
| 34 |
results[0].Overflow.Alert.Events[2].GetMeta("log_type") == "http_access-log" |
| 35 |
results[0].Overflow.Alert.Events[2].GetMeta("service") == "http" |
| 36 |
results[0].Overflow.Alert.Events[2].GetMeta("source_ip") == "127.0.0.1" |
| 37 |
results[0].Overflow.Alert.Events[3].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 38 |
results[0].Overflow.Alert.Events[3].GetMeta("datasource_type") == "file" |
| 39 |
results[0].Overflow.Alert.Events[3].GetMeta("http_args_len") == "16" |
| 40 |
results[0].Overflow.Alert.Events[3].GetMeta("http_path") == "/foo?a=%2cnull%2cnull" |
| 41 |
results[0].Overflow.Alert.Events[3].GetMeta("http_status") == "404" |
| 42 |
results[0].Overflow.Alert.Events[3].GetMeta("http_user_agent") == "curl/7.68.0" |
| 43 |
results[0].Overflow.Alert.Events[3].GetMeta("http_verb") == "GET" |
| 44 |
results[0].Overflow.Alert.Events[3].GetMeta("log_type") == "http_access-log" |
| 45 |
results[0].Overflow.Alert.Events[3].GetMeta("service") == "http" |
| 46 |
results[0].Overflow.Alert.Events[3].GetMeta("source_ip") == "127.0.0.1" |
| 47 |
results[0].Overflow.Alert.Events[4].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 48 |
results[0].Overflow.Alert.Events[4].GetMeta("datasource_type") == "file" |
| 49 |
results[0].Overflow.Alert.Events[4].GetMeta("http_args_len") == "14" |
| 50 |
results[0].Overflow.Alert.Events[4].GetMeta("http_path") == "/foo?a=benchmark%28" |
| 51 |
results[0].Overflow.Alert.Events[4].GetMeta("http_status") == "404" |
| 52 |
results[0].Overflow.Alert.Events[4].GetMeta("http_user_agent") == "curl/7.68.0" |
| 53 |
results[0].Overflow.Alert.Events[4].GetMeta("http_verb") == "GET" |
| 54 |
results[0].Overflow.Alert.Events[4].GetMeta("log_type") == "http_access-log" |
| 55 |
results[0].Overflow.Alert.Events[4].GetMeta("service") == "http" |
| 56 |
results[0].Overflow.Alert.Events[4].GetMeta("source_ip") == "127.0.0.1" |
| 57 |
results[0].Overflow.Alert.Events[5].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 58 |
results[0].Overflow.Alert.Events[5].GetMeta("datasource_type") == "file" |
| 59 |
results[0].Overflow.Alert.Events[5].GetMeta("http_args_len") == "14" |
| 60 |
results[0].Overflow.Alert.Events[5].GetMeta("http_path") == "/foo?a=load_file%28" |
| 61 |
results[0].Overflow.Alert.Events[5].GetMeta("http_status") == "404" |
| 62 |
results[0].Overflow.Alert.Events[5].GetMeta("http_user_agent") == "curl/7.68.0" |
| 63 |
results[0].Overflow.Alert.Events[5].GetMeta("http_verb") == "GET" |
| 64 |
results[0].Overflow.Alert.Events[5].GetMeta("log_type") == "http_access-log" |
| 65 |
results[0].Overflow.Alert.Events[5].GetMeta("service") == "http" |
| 66 |
results[0].Overflow.Alert.Events[5].GetMeta("source_ip") == "127.0.0.1" |
| 67 |
results[0].Overflow.Alert.Events[6].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 68 |
results[0].Overflow.Alert.Events[6].GetMeta("datasource_type") == "file" |
| 69 |
results[0].Overflow.Alert.Events[6].GetMeta("http_args_len") == "11" |
| 70 |
results[0].Overflow.Alert.Events[6].GetMeta("http_path") == "/foo?a=substr%28" |
| 71 |
results[0].Overflow.Alert.Events[6].GetMeta("http_status") == "404" |
| 72 |
results[0].Overflow.Alert.Events[6].GetMeta("http_user_agent") == "curl/7.68.0" |
| 73 |
results[0].Overflow.Alert.Events[6].GetMeta("http_verb") == "GET" |
| 74 |
results[0].Overflow.Alert.Events[6].GetMeta("log_type") == "http_access-log" |
| 75 |
results[0].Overflow.Alert.Events[6].GetMeta("service") == "http" |
| 76 |
results[0].Overflow.Alert.Events[6].GetMeta("source_ip") == "127.0.0.1" |
| 77 |
results[0].Overflow.Alert.Events[7].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 78 |
results[0].Overflow.Alert.Events[7].GetMeta("datasource_type") == "file" |
| 79 |
results[0].Overflow.Alert.Events[7].GetMeta("http_args_len") == "14" |
| 80 |
results[0].Overflow.Alert.Events[7].GetMeta("http_path") == "/foo?a=substring%28" |
| 81 |
results[0].Overflow.Alert.Events[7].GetMeta("http_status") == "404" |
| 82 |
results[0].Overflow.Alert.Events[7].GetMeta("http_user_agent") == "curl/7.68.0" |
| 83 |
results[0].Overflow.Alert.Events[7].GetMeta("http_verb") == "GET" |
| 84 |
results[0].Overflow.Alert.Events[7].GetMeta("log_type") == "http_access-log" |
| 85 |
results[0].Overflow.Alert.Events[7].GetMeta("service") == "http" |
| 86 |
results[0].Overflow.Alert.Events[7].GetMeta("source_ip") == "127.0.0.1" |
| 87 |
results[0].Overflow.Alert.Events[8].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 88 |
results[0].Overflow.Alert.Events[8].GetMeta("datasource_type") == "file" |
| 89 |
results[0].Overflow.Alert.Events[8].GetMeta("http_args_len") == "15" |
| 90 |
results[0].Overflow.Alert.Events[8].GetMeta("http_path") == "/foo?a=selectchar%28" |
| 91 |
results[0].Overflow.Alert.Events[8].GetMeta("http_status") == "404" |
| 92 |
results[0].Overflow.Alert.Events[8].GetMeta("http_user_agent") == "curl/7.68.0" |
| 93 |
results[0].Overflow.Alert.Events[8].GetMeta("http_verb") == "GET" |
| 94 |
results[0].Overflow.Alert.Events[8].GetMeta("log_type") == "http_access-log" |
| 95 |
results[0].Overflow.Alert.Events[8].GetMeta("service") == "http" |
| 96 |
results[0].Overflow.Alert.Events[8].GetMeta("source_ip") == "127.0.0.1" |
| 97 |
results[0].Overflow.Alert.Events[9].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 98 |
results[0].Overflow.Alert.Events[9].GetMeta("datasource_type") == "file" |
| 99 |
results[0].Overflow.Alert.Events[9].GetMeta("http_args_len") == "14" |
| 100 |
results[0].Overflow.Alert.Events[9].GetMeta("http_path") == "/foo?a=%7c%7cchr%28" |
| 101 |
results[0].Overflow.Alert.Events[9].GetMeta("http_status") == "404" |
| 102 |
results[0].Overflow.Alert.Events[9].GetMeta("http_user_agent") == "curl/7.68.0" |
| 103 |
results[0].Overflow.Alert.Events[9].GetMeta("http_verb") == "GET" |
| 104 |
results[0].Overflow.Alert.Events[9].GetMeta("log_type") == "http_access-log" |
| 105 |
results[0].Overflow.Alert.Events[9].GetMeta("service") == "http" |
| 106 |
results[0].Overflow.Alert.Events[9].GetMeta("source_ip") == "127.0.0.1" |
| 107 |
results[0].Overflow.Alert.Events[10].GetMeta("datasource_path") == "nginx-http-sqli-probing.log" |
| 108 |
results[0].Overflow.Alert.Events[10].GetMeta("datasource_type") == "file" |
| 109 |
results[0].Overflow.Alert.Events[10].GetMeta("http_args_len") == "13" |
| 110 |
results[0].Overflow.Alert.Events[10].GetMeta("http_path") == "/foo?a=distinct%28" |
| 111 |
results[0].Overflow.Alert.Events[10].GetMeta("http_status") == "404" |
| 112 |
results[0].Overflow.Alert.Events[10].GetMeta("http_user_agent") == "curl/7.68.0" |
| 113 |
results[0].Overflow.Alert.Events[10].GetMeta("http_verb") == "GET" |
| 114 |
results[0].Overflow.Alert.Events[10].GetMeta("log_type") == "http_access-log" |
| 115 |
results[0].Overflow.Alert.Events[10].GetMeta("service") == "http" |
| 116 |
results[0].Overflow.Alert.Events[10].GetMeta("source_ip") == "127.0.0.1" |
| 117 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/http-sqli-probbing-detection" |
| 118 |
results[0].Overflow.Alert.Remediation == true |
| 119 |
results[0].Overflow.Alert.GetEventsCount() == 11 |