Giter Site home page Giter Site logo

help about droidbot HOT 11 CLOSED

honeynet avatar honeynet commented on July 24, 2024
help

from droidbot.

Comments (11)

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

Hi, the serial no is what you see by typing "adb devices", which might be "emulator-5554" in your case.

The evaluation report is generated by evaluation_scripts/DroidbotEvaluator.py, which requires droidbox being installed.
I don't understand why can't you run droidbox in windows, it worked for me :).

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

thanks for your answer the msg now is:
INFO:Device:waiting for device
Connecting to a device with serialno=emulator-5554 with a timeout of 60 secs...
Connected to device with serialno=emulator-5554
Actual device serialno=emulator-5554
INFO:DroidBot:Starting DroidBot
INFO:AppEnvManager:start deploying environment, policy is none
INFO:AppEventManager:start sending events, policy is none
press ENTER to save current state, type q to exit...
INFO:Device:getting current device state...
WARNING:Device:You have to install PIL to use takeSnapshot()
press ENTER to save current state, type q to exit...
what should i do now?
How droidbox run in windows I download DroidBox411RC and extract it what can I do after that ?
you didn't use linux in your analysis only windows
thanks alot but I realy need your help I tried your project for days ago but I can't reach to the result

from droidbot.

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

select an event mode.
For example,
droidbot -d emulator-5554 -a XXX.apk -event dynamic

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

woooooooooooooooooow Yes It works for me then how to stop this test and how to get the result with permissions and APIs
Thank you very very much

from droidbot.

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

To stop testing, type ctrl+C.
To generate the report you need to run evaluation_scripts/DroidbotEvaluator.py with droidbox.
Note that the report is not a production of DroidBot, instead it is just what I used to compare DroidBot with Monkey.

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

when I write this command in Git to Create avd Start the avd with droidbox image
$ sh startemu.sh droidbox
this message appear
PANIC: Could not find droidbox.ini file in $ANDROID_AVD_HOME nor in $HOME/.android/avd
I don't understand how to Create an avd named droidbox
or use android avd manager or use android create avd command.
and Start the avd with droidbox image in windows 7 , you said you do that how can you do that with details please

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

now I write this command
$ sh startemu.sh Nexus_6_API_21_4
the emulator start but with only black screen and this msg :
$ Creating filesystem with parameters:
Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
WARNING: userdata image already in use, changes will not persist!
WARNING: cache image already in use, changes will not persist!
WARNING: SD Card image already in use: C:\Users\hp.android\avd\Nexus_6_API_21_4.avd/sdcard.img
emulator: device fd:692

emulator: The memory needed by this VM exceeds the driver limit.

HAX is not working and emulator runs in emulation mode
creating window 54 57 345 612

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

Hi,
I want to know how can I run droidbox plz in windows7
I want the report for static & dynamic analysis

I write this command
$ sh startemu.sh Nexus_6_API_21_4
the emulator start but with only black screen and this msg :
$ Creating filesystem with parameters:
Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
WARNING: userdata image already in use, changes will not persist!
WARNING: cache image already in use, changes will not persist!
WARNING: SD Card image already in use:
C:\Users\hp.android\avd\Nexus_6_API_21_4.avd/sdcard.img
emulator: device fd:692

emulator: The memory needed by this VM exceeds the driver limit.

HAX is not working and emulator runs in emulation mode
creating window 54 57 345 612

and when write this command:

python DroidboxEvaluator.py -d emulator-5554 -a app-debug.apk

the result is:

INFO:DroidboxEvaluator:Evaluator initialized

INFO:DroidboxEvaluator:apk_path:C:\Python27\Scripts\droidbot\evaluation_scripts\

app-debug.apk

duration:200

count:200

inteval:2

report title:Evaluation_Report_2016-04-09_2009 // I can't find this report

INFO:DroidboxEvaluator:evaluating [1.default] mode

Exception in thread Thread-1:

Traceback (most recent call last):

File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner

self.run()

File "C:\Python27\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)

File "DroidboxEvaluator.py", line 153, in default_mode

self.droidbox.set_apk(self.apk_path)

File "c:\users\hp\droidbot\droidbox_scripts\droidbox.py", line 128, in
set_apk

cwd=os.path.dirname(os.path.realpath(__file__)))

File "C:\Python27\lib\subprocess.py", line 522, in call

return Popen(*popenargs, **kwargs).wait()

File "C:\Python27\lib\subprocess.py", line 710, in init

errread, errwrite)

File "C:\Python27\lib\subprocess.py", line 958, in _execute_child

startupinfo)

WindowsError: [Error 2] The system cannot find the file specified

what's wrong with me???????????

On Thu, Apr 7, 2016 at 11:43 AM, Lynn [email protected] wrote:

To stop testing, type ctrl+C.
To generate the report you need to run
evaluation_scripts/DroidbotEvaluator.py with droidbox.
Note that the report is not a production of DroidBot, instead it is just
what I used to compare DroidBot with Monkey.

β€”
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#13 (comment)

from droidbot.

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

It seems you didn't boot up DroidBox correctly, and perhaps there is something wrong in your emulator configuration.
However, it is inappropriate to talk about DroidBox configuration here.
I'm going to close this issue, but maybe I can help you in private.

from droidbot.

dinasaif avatar dinasaif commented on July 24, 2024

Thanks for your reply can you help me in private I want to ask you some
questions you are very Collaborator.πŸ˜ƒ

On Thu, Apr 14, 2016 at 3:14 AM, Lynn [email protected] wrote:

Closed #13 #13.

β€”
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#13 (comment)

from droidbot.

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

My pleasure.
It seemed you have trouble booting DroidBox, could you describe the issue in more detail?
My email address is [email protected] mailto:[email protected]

On Apr 18, 2016, at 18:02, dinasaif <[email protected] mailto:[email protected]> wrote:

Thanks for your reply can you help me in private I want to ask you some
questions you are very Collaborator.πŸ˜ƒ

On Thu, Apr 14, 2016 at 3:14 AM, Lynn <[email protected] mailto:[email protected]> wrote:

Closed #13 <#13 #13>.

β€”
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<#13 (comment) #13 (comment)>

β€”
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub #13 (comment)

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.