Skip to content

Instantly share code, notes, and snippets.

@nrafter
nrafter / b.java
Last active August 14, 2019 01:29
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
package com.waybots.blackbox;
import android.content.Context;
@nrafter
nrafter / e.java
Last active August 14, 2019 01:26
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
The class file version is 52.0 (only 45.3, 46.0 and 47.0 are supported)
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
package com.waybots.blackbox;
private void p()
{
String s1 = com.waybots.blackbox.s.c(this);
WifiManager wifimanager = (WifiManager)getSystemService("wifi");
if(!"\"waybridge\"".equals(s1))
{
a("Setting up wifi");
WifiConfiguration wificonfiguration = new WifiConfiguration();
wificonfiguration.SSID = "\"waybridge\"";
wificonfiguration.hiddenSSID = true;
Overlapped try statements detected. Not all exception handlers will be resolved in the method onCreate
Couldn't fully decompile method onCreate
Couldn't resolve all exception handlers in method onCreate
public void onCreate()
{
B = com.waybots.blackbox.s.a(this);
a((new StringBuilder()).append("onCreate: ").append(B).toString());
super.onCreate();
F = true;
J = false;
private void p()
{
String s1 = com.waybots.blackbox.s.c(this);
WifiManager wifimanager = (WifiManager)getSystemService("wifi");
if(!"\"waybridge\"".equals(s1))
{
a("Setting up wifi");
WifiConfiguration wificonfiguration = new WifiConfiguration();
wificonfiguration.SSID = "\"waybridge\"";
wificonfiguration.hiddenSSID = true;
@nrafter
nrafter / manjaro.sh
Last active December 8, 2021 13:39
live cd instascript
sudo rmmod pcspkr
echo '[xyne-any]' | sudo tee --append /etc/pacman.conf
echo 'SigLevel = Required' | sudo tee --append /etc/pacman.conf
echo 'Server = https://xyne.archlinux.ca/repos/xyne' | sudo tee --append /etc/pacman.conf
echo '[xyne-x86_64]' | sudo tee --append /etc/pacman.conf
echo 'SigLevel = Required' | sudo tee --append /etc/pacman.conf
echo 'Server = https://xyne.archlinux.ca/repos/xyne' | sudo tee --append /etc/pacman.conf
sudo pacman-mirrors --country United_States
sudo pacman -Sy chromium bauerbill --noconfirm
@nrafter
nrafter / mitmproxy.py
Created May 23, 2018 03:05
mitmproxy.py
from bs4 import BeautifulSoup
from mitmproxy import ctx, http
import argparse
class Injector:
def __init__(self, path):
self.path = path
def response(self, flow: http.HTTPFlow) -> None:
if self.path:
// This function takes a component...
function withSubscription(WrappedComponent, selectData) {
// ...and returns another component...
return class extends React.Component {
constructor(props) {
super(props);
this.handleChange = this.handleChange.bind(this);
this.state = {
data: selectData(DataSource, props)
};
@nrafter
nrafter / binaryreader.cs
Created May 11, 2017 15:11
rig ek 2016-0034 decompiled exploit
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Windows;
using eilquO2RA2sF4k0Luh;
namespace binaryreader
{
// Token: 0x02000003 RID: 3
public class App : Application
currentLocation = jmp/call;
counter = 1233;
for (counter; counter > 0; counter--) {
currentLocation + counter = (currentLocation + counter) - 19
}