import json


def rule(event):
    if all(
        [
            event.deep_get("cs-method", default="") == "POST",
            "/mgmt/tm/util/bash" in event.deep_get("cs-uri-stem", default=""),
            any(
                [
                    all(
                        [
                            "2f746d75692f436f6e74726f6c2f666f726d" in json.dumps(event.to_dict()),
                            "666f726d5f706167653d253266746d756925326673797374656d253266757365722532666372656174652e6a7370"
                            in json.dumps(event.to_dict()),
                        ]
                    ),
                    all(
                        [
                            "/tmui/Control/form" in json.dumps(event.to_dict()),
                            "form_page=%2ftmui%2fsystem%2fuser%2fcreate.jsp"
                            in json.dumps(event.to_dict()),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
