Copied all server responses from the http_com listener

php_fix
xorrior 2018-01-05 12:16:26 -05:00
parent f016267b9b
commit 617a663270
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ def send_message(packets=None):
else: else:
dispatcher.send("[!] %s requested by %s with no routing packet." % (request_uri, clientIP), sender='listeners/http') dispatcher.send("[!] %s requested by %s with no routing packet." % (request_uri, clientIP), sender='listeners/http')
return make_response(self.default_response(), 404) return make_response(self.default_response(), 200)
@app.route('/<path:request_uri>', methods=['POST']) @app.route('/<path:request_uri>', methods=['POST'])
def handle_post(request_uri): def handle_post(request_uri):