Skip to content

Instantly share code, notes, and snippets.

@kairusds
kairusds / eruda.js
Last active June 27, 2025 17:39
eruda userscript for use with tampermonkey on mobile browsers / via web browser
// ==UserScript==
// @name eruda
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Console for mobile browsers
// @author kairusds
// @include http://*
// @include https://*
// @require https://cdnjs.cloudflare.com/ajax/libs/eruda/3.2.2/eruda.min.js
// @icon https://www.google.com/s2/favicons?domain=greasyfork.org
@zhaozzq
zhaozzq / inject.markdown
Last active October 16, 2024 01:41
Inject js to WKWebView
WKWebViewConfiguration *configuration = [WKWebViewConfiguration new];
NSString *eruda = @"(function () { var script = document.createElement('script'); script.src='//cdn.jsdelivr.net/npm/eruda'; document.body.appendChild(script); script.onload = function () { eruda.init() } })();";
WKUserScript *script = [[WKUserScript alloc] initWithSource:eruda injectionTime:WKUserScriptInjectionTimeAtDocumentEnd forMainFrameOnly:NO];
[configuration.userContentController addUserScript:script];
_webView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:configuration];

or

NSString *jsPath = [[NSBundle mainBundle] pathForResource:@"vConsole" ofType:@"js"];
From: http://redteams.net/bookshelf/
Techie
Unauthorised Access: Physical Penetration Testing For IT Security Teams by Wil Allsopp.
Social Engineering: The Art of Human Hacking by Christopher Hadnagy
Practical Lock Picking: A Physical Penetration Tester's Training Guide by Deviant Ollam
The Art of Deception: Controlling the Human Element of Security by Kevin Mitnick
Hacking: The Art of Exploitation by Jon Erickson and Hacking Exposed by Stuart McClure and others.
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning by Fyodor
The Shellcoder's Handbook: Discovering and Exploiting Security Holes by several authors