-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathloader.js
More file actions
31 lines (27 loc) · 701 Bytes
/
loader.js
File metadata and controls
31 lines (27 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// loader.js
// Modular loading script for Frida
const scripts = [
'bypass_ssl.js',
'detect_root.js',
'hook_password.js',
'native_strstr_hook.js',
'emulator_bypass.js',
'prefs_hook.js',
'force_login.js',
'block_system_exit.js'
];
// Helper to load scripts dynamically
function loadScript(path) {
try {
const content = require('fs').readFileSync(path, 'utf8');
eval(content);
console.log(`✅ Loaded: ${path}`);
} catch (e) {
console.error(`❌ Failed to load: ${path}`, e);
}
}
// Load all scripts
scripts.forEach(name => {
loadScript(`scripts/${name}`);
});
// You can use: frida -U -n com.package.name -l loader.js