Skip to content

Instantly share code, notes, and snippets.

View satheshshiva's full-sized avatar
💻
coding rn..

Sathesh Sivashanmugam satheshshiva

💻
coding rn..
View GitHub Profile
@liam-russell
liam-russell / Readme.md
Last active May 6, 2024 23:30
TP-Link Kasa Smart Plug - get energy consumption statistics as a CSV file

TP-Link Kasa Smart Plug - get energy consumption statistics as a CSV file

Background

The TP Link Kasa smart switches log energy consumption data over time, however the app is very limited and won't let you get out data, graph it or see historical usage. This script extracts and saves to a CSV file.

The python-kasa library is used to communicate with the Kasa switch.

Requirements

  • Python must be installed
  • You must be on the same wifi network as the Kasa switch
@danielchc
danielchc / docker-emby-bypass.md
Last active June 29, 2024 00:05
Emby Premiere: ByPass Docker container

Emby Premiere ByPass Docker container

❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it

Table of Contents

@pich4ya
pich4ya / Metasploit_Database_Kali_Container.txt
Created July 26, 2018 06:05
Setup Metasploit Database in Kali Docker Container
$ apt update && apt -y upgrade
$ apt install metasploit-framework
$ service postgresql start
Starting PostgreSQL 10 database server: main.
$ msfdb init
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[+] Starting database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down