Skip to content

Instantly share code, notes, and snippets.

exelix exelix11

Block or report user

Report or block exelix11

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
exelix11 /
Created Aug 9, 2019
RemoteInstall script for NXThemes Installer on Linux
#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)"
if [ -z "$FILENAME" ] || [ -z "$IPADDR" ]
echo "Usage $0 [IpAddress] [fileName]"
exelix11 / script.js
Created Jul 4, 2019
Get yi home device id with frida
View script.js
import frida
import time
device = frida.get_usb_device()
pid = device.spawn([""])
time.sleep(1) #Without it Java.perform silently fails
session = device.attach(pid)
script = session.create_script(open("script.js").read())
View RedAppletButtons.json
"PatchName":"Red applet buttons example V3. Color format is AABBGGRR",
"TargetName": "ResidentMenu.szs",
exelix11 / IpcMitm.c
Last active May 4, 2019
mitm and block ipc requests for the Yi IOT cameras
View IpcMitm.c
#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
exelix11 / YiCli.cs
Last active Apr 23, 2019
Yi cloud api RE
View YiCli.cs
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
exelix11 / screenshot.csx
Created Aug 16, 2018
C# android screenshot in memory with ADB
View screenshot.csx
//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()
exelix11 / devRantThing.cs
Last active May 1, 2018
devrant api thing
View devRantThing.cs
class Program
{ //Note: this is an extract from a program of mine, may not actually compile
static Rant[] Rants;
static LoginData loginfo = new LoginData {expire = -1 };
static void Main(string[] args)
Rants = Rant.GetRants();
while (true)
You can’t perform that action at this time.