Skip to content

Instantly share code, notes, and snippets.

View segfault-bilibili's full-sized avatar

segfault-bilibili

View GitHub Profile
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 8bbb26f829..8456703eef 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dropbear
-PKG_VERSION:=2020.81
+PKG_VERSION:=2022.82
@segfault-bilibili
segfault-bilibili / freednsv2.sh
Last active July 24, 2022 06:48
Ugly DDNS script for Huawei ONT's built-in OpenWrt
#!/bin/sh
mkdir -p /tmp/freednsv2
exec_wget() {
wget --no-hsts -O - $@ 2>&1 | head -c4096
}
wait_for_internet() {
echo $(date) "Wait for Internet connection..."
seq 0 300 | while read line; do
/* scrcap2bmp - convert Android screencap raw data to Windows BMP
Author: segfault
https://space.bilibili.com/15209122
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>