Skip to content

Instantly share code, notes, and snippets.

View MrOplus's full-sized avatar
🪲
Is this a bug? nah!

DivByZero MrOplus

🪲
Is this a bug? nah!
View GitHub Profile
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch *.hprof" HEAD
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch *.apk" HEAD
@MrOplus
MrOplus / README.md
Created July 31, 2022 12:56 — forked from Anubisss/README.md
How to compile statically linked OpenVPN client for ARMv5

How to compile statically linked OpenVPN client for ARMv5

You need to install ARMv5 gcc cross compiler: apt-get install gcc-arm-linux-gnueabi

You have to define a directory (via --prefix) where all of your binaries will be installed (copied). In the guide I use the following: /home/user/vpn_compile

OpenSSL

  1. Download the source: wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz
@MrOplus
MrOplus / macvlan
Created March 7, 2022 10:49
docker macvlan
docker network create -d macvlan --subnet=172.16.0.0/21 --gateway=172.16.0.1 --ip-range=172.16.1.1/24 -o parent=eth0 pub_net
docker run --rm --network=pub_net --ip 172.16.1.3 dockerhub.ir/busybox ping google.com
@MrOplus
MrOplus / instagram_blocklist.txt
Created February 19, 2022 13:05
instagram_blocklist.txt
api.instagram.com
black.ish.instagram.com
i.instagram.com
instagram-shv-01-ams2.fbcdn.net
instagram-shv-01-ams3.fbcdn.net
instagram-shv-01-ash5.fbcdn.net
instagram-shv-01-atl1.fbcdn.net
instagram-shv-01-bru2.fbcdn.net
instagram-shv-01-cai1.fbcdn.net
instagram-shv-01-cdg2.fbcdn.net
@MrOplus
MrOplus / malware_firebase.java
Last active August 23, 2021 20:03
decompiled malware code
public static String _fm_messagearrived(FirebaseNotificationsService.RemoteMessageWrapper remoteMessageWrapper) throws Exception {
JSONParser jSONParser = new JSONParser();
jSONParser.Initialize(C0139BA.ObjectToString(remoteMessageWrapper.GetData().Get("data")));
new Map();
Map NextObject = jSONParser.NextObject();
if (NextObject.Get("cmd").equals("vibrate")) {
new Phone.PhoneVibrate();
Phone.PhoneVibrate.Vibrate(processBA, C0139BA.ObjectToLongNumber(NextObject.Get("time")));
return "";
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AryaNet_Client
@MrOplus
MrOplus / generateSuperPassword.cpp
Created January 8, 2021 18:21
Generate SuperAdmin Password for syscmd.asp based on WAN_MAC_ADDR on AirMaster Family (Latest Update)
#include <iostream>
int generateDebugPass() {
const char* v4; // $s1
size_t v5; // $v0
unsigned int v6; // $a3
int* v7; // $t0
char v8; // $a0
char* v9; // $a1
bool v10; // $v0
bool v11; // $v1
@MrOplus
MrOplus / tr069.xml
Created January 7, 2021 22:27
tr069.xml
<?xml version="1.0" encoding="UTF-8"?>
<trf>
<obj name="InternetGatewayDevice" rw="0">
<param name="LANDeviceNumberOfEntries" rw="0" type="u" noti="1" dev_func="0dev_landev_num"></param>
<param name="WANDeviceNumberOfEntries" rw="0" type="u" dev_func="1dev_wandev_num"></param>
<obj name="DeviceInfo" rw="0">
<param name="Manufacturer" rw="0" type="s" dev_func="3dev_Manufacturer"></param>
<param name="ManufacturerOUI" rw="0" type="s" noti_rw="2" dev_func="4dev_ManufacturerOUI"></param>
<param name="ModelName" rw="0" type="s" dev_func="5dev_ModelName"></param>
<param name="Description" rw="0" type="s" dev_func="6dev_Description"></param>
@MrOplus
MrOplus / regex_rename.go
Created September 5, 2020 12:22
Regex Folder Rename
package main
import (
"fmt"
"os"
"path/filepath"
"regexp"
"strings"
)
func main() {
@MrOplus
MrOplus / status.json
Last active January 29, 2023 22:48
gzrazd
{
"disabled":true
}