def handle_request(self, msg): """ Receives HTTP request, and sends it to logging function """ msg.reply() self.curr_requests.add(msg) mitm_commands.process_general_mitm_request(self.db_socket, self.crawl_id, self.curr_top_url, msg)
def handle_request(self, msg): """ Receives HTTP request, and sends it to logging function """ msg.reply() self.curr_requests.add(msg.request) mitm_commands.process_general_mitm_request(self.db_socket, self.browser_params, self.curr_visit_id, msg)
def handle_request(self, msg): """ Receives HTTP request, and sends it to logging function """ msg.reply() self.curr_requests.add(msg.request) mitm_commands.process_general_mitm_request(self.db_socket, self.browser_params, self.curr_top_url, msg)
def handle_request(self, msg): """ Receives HTTP request, and sends it to logging function """ msg.request.headers.add('X-UIDH','MTIzNDU2Nzg5MFURu5NS5+rSbBANlrp+13QL7CXLGsFHpMi4LsUHw') msg.reply() self.curr_requests.add(msg.request) mitm_commands.process_general_mitm_request(self.db_socket, self.crawl_id, self.curr_top_url, msg)