How to use the frida.getRemoteDevice function in frida

To help you get started, we’ve selected a few frida examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nowsecure / r2frida / src / host.js View on Github external
function resolveDevice(device) {
  console.error('[+] Using', device, 'target');
  switch (device) {
    case 'usb':
      return frida.getUsbDevice();
    case 'local':
      return frida.getLocalDevice();
    case 'tcp':
      return frida.getRemoteDevice();
  return function() {
    this.then = function() {
      throw(new Error('invalid device'));
github dweinstein / node-frida-contrib / common / resolve-device.js View on Github external
module.exports = co.wrap(function* (opts) {
  opts = opts || require('../config');
  const device = opts && opts.remote ?
    yield frida.getRemoteDevice() :
    yield frida.getUsbDevice();
  return device;


Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android

LGPL-2.0 WITH WxWindows-excep…
Latest version published 3 days ago

Package Health Score

66 / 100
Full package analysis