save previous update
parent
8d0dce1267
commit
7774bb5e6b
3
app.py
3
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)
|
||||
|
|
Loading…
Reference in New Issue