Android Backstage, a podcast by and for Android developers. Hosted by developers from the Android engineering team, this show covers topics of interest to Android programmers, with in-depth discussions and interviews with engineers on the Android team at Google. Subscribe to Android Developers YouTube → https://goo.gle/AndroidDevs
…
continue reading
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!
Go offline with the Player FM app!
HPR4331: Re-inventing the light switch
MP3•Episode home
Manage episode 470527265 series 108988
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Bulbs Wiz Connected smart light bulbs Exploit Article about hacking the lights Source Code Source code of the hack Cordova Apache Cordova framework for mobile apps Cordova Plugin SSH Connect Cordova Plugin KDE Widgets Mobile Interface Code Python Script wiz-hack.py import socket import time import random import sys if len(sys.argv) < 3: print(help) exit() IP = sys.argv[1] on = """{"params":{"orig":"andr","state":true},"id":6,"method":"setPilot"}""" off = """{"params":{"orig":"andr","state":false},"id":6,"method":"setPilot"}""" s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect((IP, 38899)) if sys.argv[2] != "on" and sys.argv[2] != "off": print("Changing lights color") b = sys.argv[2] color_send = """{"method":"setPilot","params":{"r":""" + str(255) + ""","g":""" + str(255) + ""","b":""" + str(255) + ""","dimming":""" + str(b) + """}}""" print(color_send) s.sendall(bytes(color_send, "utf-8")) s.close() elif sys.argv[2] == "on": print("Turning on the lights") s.sendall(bytes(on, "utf-8")) s.close() elif sys.argv[2] == "off": print("Turning off the lights") s.sendall(bytes(off, "utf-8")) s.close() Shell Scripts on.sh
…
continue reading
4385 episodes
MP3•Episode home
Manage episode 470527265 series 108988
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Bulbs Wiz Connected smart light bulbs Exploit Article about hacking the lights Source Code Source code of the hack Cordova Apache Cordova framework for mobile apps Cordova Plugin SSH Connect Cordova Plugin KDE Widgets Mobile Interface Code Python Script wiz-hack.py import socket import time import random import sys if len(sys.argv) < 3: print(help) exit() IP = sys.argv[1] on = """{"params":{"orig":"andr","state":true},"id":6,"method":"setPilot"}""" off = """{"params":{"orig":"andr","state":false},"id":6,"method":"setPilot"}""" s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect((IP, 38899)) if sys.argv[2] != "on" and sys.argv[2] != "off": print("Changing lights color") b = sys.argv[2] color_send = """{"method":"setPilot","params":{"r":""" + str(255) + ""","g":""" + str(255) + ""","b":""" + str(255) + ""","dimming":""" + str(b) + """}}""" print(color_send) s.sendall(bytes(color_send, "utf-8")) s.close() elif sys.argv[2] == "on": print("Turning on the lights") s.sendall(bytes(on, "utf-8")) s.close() elif sys.argv[2] == "off": print("Turning off the lights") s.sendall(bytes(off, "utf-8")) s.close() Shell Scripts on.sh
…
continue reading
4385 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.