Coder Social home page Coder Social logo

Comments (6)

Yogehi avatar Yogehi commented on June 10, 2024 1

If you can interface with your android device via adb, then use adb

adb forward tcp:31415 tcp:31415
docker run -it --add-host host.docker.internal:host-gateway
drozer console connect --server host.docker.internal

from drozer.

Yogehi avatar Yogehi commented on June 10, 2024

lol not only is drozer no longer in support, but you're gonna ask for help from a docker image we have no association with?

https://github.com/FSecureLABS/drozer/tree/develop/docker

from drozer.

NickBot09 avatar NickBot09 commented on June 10, 2024

I am using the docker image at https://hub.docker.com/r/fsecurelabs/drozer, but still getting the same error as mentioned above, i.e cannot connect to device using drozer console connect

drozer@docker:~$ drozer connect --server <my_mobile's_ip>
There was a problem connecting to the drozer Server.

Things to check:

 - is the drozer Server running?
 - have you set up appropriate adb port forwards?
 - have you specified the correct hostname and port with --server?
 - is the server protected with SSL (add an --ssl switch)?
 - is the agent protected with a password (add a --password switch)?

Debug Information:
timed out

drozer@docker:~$ 

from drozer.

Yogehi avatar Yogehi commented on June 10, 2024

Can't give recommendations on what to do if you don't provide information on your setup

  • IP address of phone?
  • IP address of workstation host?
  • can the docker image ping your phone?
  • is the drozer server app turned on?
  • From your workstation host, while the drozer server is turned on, can you use netcat to connect to the phone's IP address on TCP port 31415?

from drozer.

NickBot09 avatar NickBot09 commented on June 10, 2024

Hey my bad, here is some more information on my setup

  • I have installed the docker image on my kali linux which is running in VM
  • My android device is running on Genymotion on ip 192.168.11.102
  • I can interact with my Android Device from Kali using adb
  • I have forwarded traffic using adb forward tcp:31415 tcp:31415
  • My docker's ip is
root@2123bb256c38:/# ip r
default via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0  proto kernel  scope link  src 172.17.0.2 
root@2123bb256c38:/# 
  • The drozer server app is turned on

from drozer.

NickBot09 avatar NickBot09 commented on June 10, 2024

It is working now, actually tried it from Kali ( Running in a VM ) but did not work. So I installed docker on my host ( Windows ) and followed the steps, so it is working and I can connect to my Android device via drozer console connect. Thanks

from drozer.

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.