Giter VIP home page Giter VIP logo

Comments (5)

metall0id avatar metall0id commented on September 1, 2024

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.

metall0id avatar metall0id commented on September 1, 2024

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.

 avatar commented on September 1, 2024

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.

metall0id avatar metall0id commented on September 1, 2024

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.

metall0id avatar metall0id commented on September 1, 2024

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)

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.