Skip to content

Instantly share code, notes, and snippets.

import json
import requests
import re
import subprocess
# Show = WWE Raw
show = 1007
year = 2014
# Used for episode end points
import requests
import subprocess
import datetime
# These are all of the WWF PPVs
show = "8518,8473,8561,1733,912,1731,4846,5123,8569,1736,94434,1868,8474,8470,5120,1734,4839,4840,8543,5124,8485,5117,8554,8551,8520, \
8562,8516,8550,8493,8556,8565,8511,8523,8487,8459,8478,8476,8482,8505,8499,8535,8527,8531,8495,8560,8563,8566,8568,8540,8526, \
8530,8517,8572,8480,8514,8545,8555"
@freyta
freyta / freighter_frida.py
Created July 28, 2020 07:02
Frida script to set mock location to the coordinates from ProjectZeroThree
import frida
import sys, argparse, textwrap
import json, requests
AVAILABLE_REGIONS = [0,1,2,3,4]
AVAILABLE_FUEL_TYPE = [0,1,2,3,4,5]
# Add args so we can choose which area in Australia we get the prices.
parser = argparse.ArgumentParser(prog='freighter_frida.py',
formatter_class=argparse.RawDescriptionHelpFormatter,
@freyta
freyta / main.py
Created October 8, 2019 08:59
WWE Downloader
import wwe
import json
import subprocess
import m3u8
import argparse
def make_safe_filename(s):
def safe_char(c):
if c.isalnum():
return c
@freyta
freyta / tutorial.md
Last active December 24, 2023 09:56
Patching the 7Eleven 1.7.1 APK for mock location, root and "foreign APK" installation

Required files: jadx -> https://github.com/skylot/jadx/releases APK Easy Tool to easily decompile/recompile the APK -> https://forum.xda-developers.com/android/software-hacking/tool-apk-easy-tool-v1-02-windows-gui-t3333960 7 Eleven Fuel App APK ripped off your phone or download from here -> https://apkpure.com/7-eleven-fuel/au.com.fuel7eleven A Google Maps API key -> https://developers.google.com/maps/documentation/android-sdk/signup

I'll be explaining how to remove the mock location check and allow root access for version 1.7.1 in this little guide.

Step 1 - Install the downloaded APK onto your phone and open it up. What happens? It closes straight away. Bugger! Lets take a look at our code and see what could be causing that.

@freyta
freyta / Dockerfile
Last active March 20, 2019 04:45
7-Eleven Fuel App Dockerfile
FROM python:2-alpine
COPY . /volume1/docker/fuelapp
WORKDIR /volume1/docker/fuelapp
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . /volume1/docker/fuelapp