Giter Site home page Giter Site logo

Comments (4)

yuanchun-li avatar yuanchun-li commented on July 24, 2024

Please checkout the 1.0.2b1 tag, in which we have an option to start DroidBot with DroidBox.

from droidbot.

zhang-li avatar zhang-li commented on July 24, 2024

Thanks for your prompt reply. I tried to 1.0.2b1 version and see the option -use_with_droidbox.
I started the droidbox emulator with ./startemu.sh test_droidbox. (Need I run ./droidbox.sh?)

Then I tried to start droidbot with droidbot -d emulator-5554 -a myapp.apk -use_with_droidbox. However, it reports the following error. May I know what are the possible reasons?
If possible, will you please share some detailed steps on how you perform the analysis together with Droidbox?

Traceback (most recent call last):
File "/home/csi/droidbot/droidbot/droidbot.py", line 78, in init
self.droidbox = DroidBox(droidbot=self, output_dir=self.output_dir)
File "/home/csi/droidbot/droidbox_scripts/droidbox.py", line 80, in init
self.state_monitor = self.droidbot.device.state_monitor
AttributeError: 'Device' object has no attribute 'state_monitor'
error: listener 'tcp:7335' not found

error: listener 'tcp:7336' not found

from droidbot.

zhang-li avatar zhang-li commented on July 24, 2024

I need to perform some dynamic analysis on Android apps and extract the analysis report. Is it possible to use the newest version of Droidbot together with sandbox like Droidbox or CuckooDroid?
Thanks.

from droidbot.

yuanchun-li avatar yuanchun-li commented on July 24, 2024

I removed the DroidBox module in the newest version of DroidBot, but it can work with those sandboxes.
For example, DroidBox logs sensitive operations in logcat, so maybe you can try:

  1. Start emulator with the DroidBox image;
  2. Start DroidBot (instead of using droidbox.sh);
  3. After DroidBot is finished, parse the logcat file in DroidBot's output dir to extract all sensitive operations.

from droidbot.

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.