- LAN video protocol is TUTK
- Device password is
Base64.encode(deviceId.substring(0,4)+deviceTutkId.substring(deviceTutkId.length-4, deviceTutkId.length-4)).reverse()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <ESP8266Ping.h> | |
// WiFi設定 | |
const char* ssid = "AAA"; | |
const char* password = "8888888"; | |
// 計時變數 | |
unsigned long previousPingMillis = 0; | |
unsigned long previousReconnectMillis = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: ble-tesla-8bubu | |
friendly_name: ble-tesla-8bubu | |
project: | |
name: yoziru.esphome-tesla-ble | |
version: "2024.8.1" | |
libraries: | |
- https://github.com/yoziru/tesla-ble.git#v2.2.1 | |
on_boot: | |
then: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This should work with all versions of OpenVPN. | |
# Use TOTP:{Base32 Key} as password for OpenVPN, e.g. TOTP:JBSWY3DPEHPK3PXP | |
# | |
# For OpenWRT | |
# Put this file to openwrt-x.x.x/package/feeds/packages/openvpn/patches/230-add-totp-as-password.patch | |
# Then build the ipk with make package/openvpn/compile V=s | |
# | |
--- a/src/openvpn/misc.c 2022-10-28 14:44:17.000000000 +0800 | |
+++ b/src/openvpn/misc.c 2024-10-03 19:01:17.322280538 +0800 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt update && apt install wget xz-utils | |
wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz -O tmate.tar.xz | |
tar xvf tmate.tar.xz | |
chmod +x tmate-2.4.0-static-linux-amd64/tmate | |
bash -i -c "./tmate-2.4.0-static-linux-amd64/tmate" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hw/ide/core.c b/hw/ide/core.c | |
+++ qemu/hw/ide/core.c 2023-03-14 16:09:36.562918207 +0800 | |
@@ -2588,12 +2588,7 @@ | |
} | |
blk_set_dev_ops(blk, &ide_hd_block_ops, s); | |
} | |
- if (serial) { | |
- pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), serial); | |
- } else { | |
- snprintf(s->drive_serial_str, sizeof(s->drive_serial_str), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/playback/Cargo.toml b/playback/Cargo.toml | |
index 4e8d19c..37a06eb 100644 | |
--- a/playback/Cargo.toml | |
+++ b/playback/Cargo.toml | |
@@ -26,6 +26,7 @@ shell-words = "1.0.0" | |
tokio = { version = "1", features = ["sync"] } | |
zerocopy = { version = "0.3" } | |
thiserror = { version = "1" } | |
+atomic-shim = "*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# use curl https://gist.github.com/pccr10001/a1943101bf681f325ae45be20989c046/raw/bd434624501739077a3d7cd4d91cce3bc9c52efd/install_docker.sh | sh - | |
CURRENT_USER=`whoami` | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from pwn import * | |
context.arch='amd64' | |
r = remote('csie.ctf.tw',10136) | |
r.recvuntil(':') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from pwn import * | |
context.arch='amd64' | |
r = remote('csie.ctf.tw',10136) | |
r.recvuntil(':') |
NewerOlder