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
// Calculates the password reset "super password" that reolink support can give you if you forget your NVR password. | |
// May work only on specific models. | |
// Original code can be found in the router binary in the firmware files, look for constant 3703 or string "MSG_AUTH_FORGET_PWD_LOGIN" | |
var key = "1987304876298745017645449830875611094356923076019854398671285463"; | |
string find_key(string seed) | |
{ | |
char[] pass = new char[4 * 8]; |
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
pm disable-user com.xiaomi.mipicks | |
pm disable-user com.android.browser | |
pm disable-user com.miui.calculator | |
pm disable-user com.miui.compass | |
pm disable-user com.miui.bugreport | |
pm disable-user com.mi.android.globalFileexplorer | |
pm disable-user com.miui.gallery | |
pm disable-user com.xiaomi.glgm | |
pm disable-user com.xiaomi.midrop | |
pm disable-user com.mipay.wallet.id |
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 <iostream> | |
#include <windows.h> | |
int main() | |
{ | |
SetConsoleTitleW(L"Sleepless"); | |
if (SetThreadExecutionState(ES_CONTINUOUS | ES_SYSTEM_REQUIRED | ES_AWAYMODE_REQUIRED)) | |
std::cout << "Here, have some coffee." << std::endl << "Press return to quit..."; | |
else | |
{ |
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
[automount] | |
enabled=false | |
[interop] | |
enabled=false | |
appendWindowsPath=false |
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 | |
#If used on WSL mind the line endings, only use LF (unix-style) | |
echo "RemoteInstall for NXThemeInstaller by exelix" | |
echo "Tested on Installer 2.0.1, may break for future versions (hopefully not)" | |
IPADDR=$1 | |
FILENAME=$2 | |
if [ -z "$FILENAME" ] || [ -z "$IPADDR" ] | |
then | |
echo "Usage $0 [IpAddress] [fileName]" |
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
/* | |
LAUNCHER: | |
import frida | |
import time | |
device = frida.get_usb_device() | |
pid = device.spawn(["com.ants360.yicamera.international"]) | |
time.sleep(1) #Without it Java.perform silently fails | |
session = device.attach(pid) | |
script = session.create_script(open("script.js").read()) |
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 <stdio.h> | |
#include <malloc.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <mqueue.h> | |
#include <unistd.h> | |
#define LOGGING | |
//#define NOPRINT |
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
using System; | |
using System.Collections.Generic; | |
using System.Net; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.IO; | |
using System.Linq; | |
using System.Collections; | |
namespace YiCli |
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
//Rquired to run in C# Interactive (csi screenshot.csx) | |
#r "C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Windows.Forms.dll" //depends on your pc | |
using System.Windows.Forms; | |
using System.IO; | |
static void screenshot() | |
{ | |
var process = new System.Diagnostics.Process(); | |
var start = new System.Diagnostics.ProcessStartInfo() |