Skip to content

Instantly share code, notes, and snippets.

View 0xBruno's full-sized avatar
:shipit:
idk

Bruno Hernandez 0xBruno

:shipit:
idk
View GitHub Profile
@0xBruno
0xBruno / CefSharpEnum.js
Last active October 14, 2025 08:27
Enumerate CefSharp JS to .NET bindings
for (const key of Object.keys(window)) {
const value = window[key];
const type = (value != null && typeof value.toString === 'function')
? value.toString()
: Object.prototype.toString.call(value);
if(type instanceof Promise){
console.log(`${key}: ${await window[key].toString()}`);
}
#!/bin/bash
# Path to the SQLite database
DB_PATH="/Users/EXAMPLEUSER/Library/Caches/com.microsoft.SharePoint-mac/Cache.db"
# Sharepoint REST API docs
# https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
# Initialize an empty array to store tokens
declare -a tokens
@0xBruno
0xBruno / SwiftLoader.swift
Created January 8, 2025 15:51
Swift Reflective Loader
// Required files:
// - custom_dlfcn.h https://github.com/pwardle/ReflectiveLoader/blob/main/PoC/PoC/custom_dlfcn.h
// - libloader.a https://github.com/pwardle/ReflectiveLoader/tree/main/Distribute
// Required Xcode settings:
// - Build Settings > Linking - General > Other Linker Flags -> "-lc++"
// - Build Phases > Link Binary With Libraries -> "libloader.a"
import Foundation
#!/bin/bash
# All credit to this post
# https://medium.com/@wicked_picker/configuring-the-alpha-awus036ach-wi-fi-adapter-on-kali-linux-eb5ec2826713
# Update first
sudo apt-get update -y
sudo apt-upgrade -y
sudo apt dist-upgrade -y