This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()}`); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |