diff --git a/app.py b/app.py index 6f16c95..9ebe519 100644 --- a/app.py +++ b/app.py @@ -155,7 +155,6 @@ def connect(data): emit('net_response', {'ip':'IP','mac':'Mac address','vendor':'Vendor resolution','dns':'Local DNS'}) socketio.start_background_task(bg_scan_network(data)) downhost=256-uphost - print(export_list) emit('net_response', {'ip':' ','mac':'Up:'+str(uphost),'vendor': 'Down:'+str(downhost),'dns':''}) #Export @app.route("/export", methods=['GET', 'POST']) @@ -189,4 +188,4 @@ def logout(): ##Start if __name__ == '__main__': - socketio.run(app, host='0.0.0.0', port='5005') + socketio.run(app, host='0.0.0.0', port='5005', allow_unsafe_werkzeug=True)