-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtst.py
More file actions
executable file
·21 lines (17 loc) · 803 Bytes
/
tst.py
File metadata and controls
executable file
·21 lines (17 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python3
#
#<form method="post" name="networkmapdRefresh" action="/apply.cgi" target="hidden_frame">
#<input type="hidden" name="action_mode" value="update_client_list">
#<input type="hidden" name="action_script" value="">
#<input type="hidden" name="action_wait" value="1">
#<input type="hidden" name="current_page" value="httpd_check.xml">
#<input type="hidden" name="next_page" value="httpd_check.xml">
#<input type="hidden" name="client_info_tmp" value="">
#</form>
from asus import AsusDeviceScanner
#http://190.53.26.252/apply.cgi?refresh_networkmap
#sc = AsusDeviceScanner('190.53.26.252','','*')
sc = AsusDeviceScanner('192.168.1.1','admin','Wmb540i*')
#print(sc.client_connected('foo'))
#print(sc.client_connected('MACBOOKAIR-EAFB'))
print(sc.client_connected('android-8c4066f'))