Comments (6)
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.
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.
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.
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.
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.
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)
- How do I solve this problem 【Unexpected [Errno 2] No such file or directory】 HOT 3
- 1111 HOT 1
- Problems running Drozer console connect on Kali 2020.3 and Santoku HOT 2
- dz> run app.service.send com.mwr.example.sieve com.mwr.example.sieve.CryptoService --msg 1 5 3 Didn't find class "ServiceBinder" on path: DexPathList[[zip file "/data/user/0/com.mwr.dz/cache/d781ddba6e94325b7a27a0fb2b5fd813.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] dz> HOT 5
- [Issue]Can't install drozer with error OSError: [Errno 2] No such file or directory HOT 3
- Failed install of Drozer 2.4.4 HOT 10
- can this project be added in GSOC 2021 HOT 3
- Failed to get drozer module HOT 1
- ERROR: drozer-2.x.x-py2-none-any.whl is not a supported wheel on this platform. HOT 1
- jdk version HOT 1
- [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond HOT 1
- ImportError: DLL load failed: %1 is not a valid Win32 application. HOT 1
- Drozer console connect - SyntaxError. Help Please. HOT 4
- my own module can't proceed from beginning HOT 1
- Virus alert in drozer HOT 1
- syntex error pleased solve it same problem have many people HOT 2
- WheN try to setup drozer it shows SyntaxError: invalid syntax HOT 1
- protobuf update libprotobuf.so.28 -> libprotobuf.so.32 HOT 1
- Run 'pip install twisted' to fetch this dependency. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drozer.