Comments (5)
Maybe we can have an implementation where you can set your own "environmental variables" e.g.
mercury> set p="com.mwr.droidhg.agent"
mercury> run app.activity.info -a $p
This will also be useful to make a cleaner implementation of the dirty replace() used for $BB in shell.py
I was also looking to provide a helper module for SQLITE3 that allows you to type $sqlite in a shell and have that binary referenced like busybox. Implementing this functionality would allow it to be cleanly integrated without adding another dirty replace() for it
from drozer.
Or something that conforms more to the rest of the Mercury UI like:
mercury> set p com.mwr.droidhg.agent
and then have the following command to remove it:
mercury> unset p
from drozer.
I think this is two separate features. I like the idea of being able to set and unset variables (maybe with an alias to export to keep the linux folks happy), but auto-completing package names would also be very handy.
from drozer.
Agreed, two separate features. Maybe we can keep these variables in the .mercury_config and when running the setup modules like busybox then it registers the appropriate variable automatically
from drozer.
The use of these variables may not be the best idea. Having uploaded binaries like busybox directly on the path for each Mercury shell as described in #81 seems like a better way to go.
from drozer.
Related Issues (20)
- scanner.provider.traversal returned exception error. HOT 4
- kali can not use docker-drozer HOT 6
- Add support for adding byte array to extra in `app.service.send` HOT 4
- Caught Exception [Errno 35] Resource temporarily unavailable and Caught Exception [Errno 22] Invalid argument HOT 17
- agent build fails HOT 1
- python setup.py bdist_wheel raises `TypeError: expected string or bytes-like object` HOT 4
- Exception occured: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' HOT 1
- local variable 'session' referenced before assignment HOT 3
- Implement old drozer-agent detection HOT 1
- Overhaul exception handling
- Review the old build process
- Fix latest version checks
- When using Docker to build an environment on a Mac, there seems to be network isolation, which prevents direct access. HOT 2
- `auxiliary.webcontentresolver` needs a little bit of love HOT 1
- Unbreak `PackageManagerProxy.installedPackages()` HOT 1
- 'local variable 'session' referenced before assignment' error HOT 1
- `app.service.send` does not include intent extras when binding a service HOT 1
- Getting result in python using sendAndReceive or other methods HOT 1
- I tried connecting my emulator to drozer but getting this error. I followed every steps same like mentioned in docs HOT 4
- drozer no longer supports old intent URI scheme and broken parcelable intents HOT 4
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.