Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # REMEMBER: Be careful with spacing and quotation marks when copying/pasting tokens etc. Each of these commands is a full (long) line, not multiple lines. Copy the whole line and paste into Powershell or Terminal after replacing any necessary parts.
- # -- FOR WINDOWS USERS: (In Powershell app) --
- curl.exe -X POST http://192.168.12.1/TMI/v1/auth/login -d '{\"username\": \"admin\", \"password\": \"see_video_replace_me\" }'
- # then...
- curl.exe http://192.168.12.1/TMI/v1/network/configuration?get=ap -H 'Authorization: Bearer see_video_replace_me' > c:\t-mobile-wifi-info.txt
- # then...
- cat c:\t-mobile-wifi-info.txt | curl.exe -d "@-" http://192.168.12.1/TMI/v1/network/configuration?set=ap -H 'Authorization: Bearer see_video_replace_me'
- # -- FOR MACOS & LINUX.etc USERS: (In Terminal app) --
- curl -X POST http://192.168.12.1/TMI/v1/auth/login -d '{"username": "admin", "password": "SEE_VIDEO_REPLACE_ME" }'
- # then...
- curl http://192.168.12.1//TMI/v1/network/configuration\?get\=ap -H 'Authorization: Bearer SEE_VIDEO_REPLACE_ME' > ~/Desktop/t-mobile-wifi-info.txt
- # then...
- cat ~/Desktop/t-mobile-wifi-info.txt | curl -d "@-" http://192.168.12.1/TMI/v1/network/configuration\?set\=ap -H 'Authorization: Bearer SEE_VIDEO_REPLACE_ME'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement