Giter VIP home page Giter VIP logo

Comments (2)

zehuanncc avatar zehuanncc commented on June 16, 2024

Diff below:

diff --git a/app.py b/app.py
index fe2480e..6267f43 100644
--- a/app.py
+++ b/app.py
@@ -107,7 +107,7 @@ def hook_clear():
 
 @app.route('/hook', methods=['POST'])
 def hook():
-    house_global.device = frida.get_usb_device()
+    house_global.device = house_global.device_manager.enumerate_devices()[-1]
     class_name = str(request.form.get('classname'))
     method_name = str(request.form.get('methodname')) 
     if (method_name != 'None') & (class_name != 'None'):
@@ -121,7 +121,7 @@ def hook():
 
 @app.route('/load_script', methods=['POST'])
 def loadscript():
-    house_global.device = frida.get_usb_device()
+    house_global.device = house_global.device_manager.enumerate_devices()[-1]
 
     house_global.script_to_load = str(request.form.get('script'))
     load_script()
diff --git a/houseSock.py b/houseSock.py
index 09c905b..0b16237 100644
--- a/houseSock.py
+++ b/houseSock.py
@@ -382,7 +382,7 @@ def dounloadMonitor():
 @authenticated_only
 def doInspect(message):
 
-    house_global.device = frida.get_usb_device()
+    house_global.device = house_global.device_manager.enumerate_devices()[-1]
 
     house_global.onMessageException = ''
     ins_classname = message.get('ins_classname')
diff --git a/houseUtil.py b/houseUtil.py
index a34646f..64c67ec 100644
--- a/houseUtil.py
+++ b/houseUtil.py
@@ -203,6 +203,10 @@ def getDevice():
         print (stylize("[+] Trying to get device..", Info))
         house_global.device_dict = {}
         house_global.device_manager = frida.get_device_manager()
+        try:
+            house_global.device_manager.add_remote_device('192.168.XX.XX')
+        except:
+            pass
         device_list = house_global.device_manager.enumerate_devices()
         if len(device_list) != 0:
             remote_device_list = []

from house.

freeload101 avatar freeload101 commented on June 16, 2024

Does this still work ? I would like to use NOX app player would it work for this ? it uses the Intel HAXM

from house.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.