Skip to content

Instantly share code, notes, and snippets.

@sundowndev
sundowndev / GoogleDorking.md
Last active May 6, 2024 13:17
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
# RESCUE BOOT
cryptsetup open /dev/nvme0n1p2 luks
mkdir /current
mount -o subvol=@,ssd,compress=lzo,noatime,nodiratime /dev/mapper/luks /current
manjaro-chroot /current /bin/bash
# INSTALL
# activate wifi
# done
@elevenchars
elevenchars / fridanotes.md
Last active March 14, 2024 15:12
My notes on injecting a frida gadget into an apk

Sublime Text

Build 3176

Windows 32-bit

Name Offset Original Patched
Persistent License Check 0x267CA 0x00 0x01
Initial License Check 0x26C4F 0x38 0x08
0x26C50 0x00 0x01
Software Update Prompt 0x50AFA 0x55 0xC3

Windows 64-bit

@cipherknight
cipherknight / cracking.md
Created March 28, 2019 15:05
Cracking guide for Sublime Text 3 Build 3200/3202 and Sublime Merge - Build 1109/1111 (Linux x86_64) - Updated #3 (20190327)

screen

Sublime Text 3 - Build 3200/3202 - Linux x64

For Build 3202:

Desciption Offset Original Patched
@cipherknight
cipherknight / sublime_text_patch.md
Last active September 1, 2019 10:25 — forked from deyixtan/sublime_text_patch.md
Sublime Text Patching Guide

Sublime Text

Build 3176

Windows 32-bit

Name Offset Original Patched
Persistent License Check 0x267CA 0x00 0x01
Initial License Check 0x26C4F 0x38 0x08
0x26C50 0x00 0x01
Software Update Prompt 0x50AFA 0x55 0xC3

Windows 64-bit

@franciscocpg
franciscocpg / README.md
Last active March 6, 2024 12:40
Import mitm certificate to CA in arch linux
  1. After installing mitmproxy run it (just type mitmproxy) in a terminal session and quit. This will create the necessaries certificates files at ~/.mitmproxy.

  2. Extract the certificate to .crt format:
    openssl x509 -in ~/.mitmproxy/mitmproxy-ca.pem -inform PEM -out ca.crt

  3. Trust the certificate into CA:
    sudo trust anchor ca.crt

  4. Run the mitmproxy again

@matthewsuan
matthewsuan / axios.js
Last active March 28, 2024 12:36
Axios request queue-like that limits number of requests at any given time
import axios from 'axios'
const MAX_REQUESTS_COUNT = 5
const INTERVAL_MS = 10
let PENDING_REQUESTS = 0
// create new axios instance
const api = axios.create({})
/**
@mauronofrio
mauronofrio / twrp_fajita.patch
Last active October 1, 2021 15:04
Patch to make decryption works on OnePlus fajita
# To Compile Fajita TWRP and make decryption working
--- hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
+++ hardware/interfaces/keymaster/4.0/support/Keymaster.cpp
@@ -111,11 +111,10 @@
CHECK(serviceManager) << "Could not retrieve ServiceManager";
auto km4s = enumerateDevices<Keymaster4>(serviceManager);
- auto km3s = enumerateDevices<Keymaster3>(serviceManager);
@unoexperto
unoexperto / patch_apk_for_sniffing.md
Last active May 6, 2024 15:19
How to patch Android app to sniff its HTTPS traffic with self-signed certificate

How to patch Android app to sniff its HTTPS traffic with self-signed certificate

  • Download apktool from https://ibotpeaches.github.io/Apktool/
  • Unpack apk file: java -jar /home/expert/work/tools/apktool.jar d net.flixster.android-9.1.3@APK4Fun.com.apk
  • Modify AndroidManifest.xml by adding android:networkSecurityConfig="@xml/network_security_config" attribute to application element.
  • Create file /res/xml/network_security_config.xml with following content:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config>