Skip to content

Commit 392d366

Browse files
committed
v1.3.2
1 parent 85d4980 commit 392d366

File tree

15 files changed

+867
-539
lines changed

15 files changed

+867
-539
lines changed

KitHack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python3
22
# -*- coding: utf-8 -*-
3-
#Copyright 2020 KITHACK
3+
#Copyright 2021 KITHACK
44
#Written by: Adrian Guillermo
55
#Facebook: https://facebook.com/adrian.guillermo.22
66
#Github: https://github.com/AdrMXR
@@ -43,7 +43,7 @@ def check_permissions():
4343

4444
def info():
4545
os.system('clear')
46-
print("{0}[VERSION]:{1} 1.3.1\n\n".format(RED, DEFAULT))
46+
print("{0}[VERSION]:{1} 1.3.2\n\n".format(RED, DEFAULT))
4747
time.sleep(0.5)
4848
print("{0}[AUTOR]:{1} Adrian Guillermo\n\n".format(RED, DEFAULT))
4949
time.sleep(0.5)
@@ -4249,4 +4249,4 @@ def main():
42494249
else:
42504250
print("\n{}[x] Opcion invalida.".format(RED))
42514251
time.sleep(2)
4252-
exit(0)
4252+
exit(0)

README.md

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<a href="https://github.com/AdrMXR"><img title="Autor" src="https://img.shields.io/badge/Author-Adrián%20Guillermo-blue?style=for-the-badge&logo=github"></a>
7-
<a href=""><img title="Version" src="https://img.shields.io/badge/Version-1.3.1-red?style=for-the-badge&logo="></a>
7+
<a href=""><img title="Version" src="https://img.shields.io/badge/Version-1.3.2-red?style=for-the-badge&logo="></a>
88
</p>
99

1010
<p align="center">
@@ -88,32 +88,35 @@ $ sudo bash uninstall.sh
8888
## Novedades:
8989

9090
**1) Depuración de herramientas obsoletas.**
91-
- Debido a la eliminación de algunos repositorios por parte de sus respectivos autores, es fundamental que nuestros usuarios nos [reporten](mailto:kithacking@gmail.com) cualquier herramienta que no se esté instalando de forma correcta, ya que de esa forma nosotros podremos depurarla completamente de kithack.
91+
- Es fundamental que nuestros usuarios nos [reporten](mailto:kithacking@gmail.com) cualquier herramienta que no se esté instalando de forma correcta, ya que de esa forma nosotros podremos depurarla completamente de kithack.
9292

9393
**2) Integración de nuevas herramientas.**
9494
- Así como depuramos herramientas también integramos algunas nuevas, si tienes algún proyecto personal en github que te gustaría que apareciera en nuestro kit de herramientas, o si estás interesado en ser contribuidor de kithack, lee nuestra [norma de contribución](https://github.com/AdrMXR/KitHack/blob/master/docs/CONTRIBUTING.md).
9595

9696
**3) Unificación de tipos de Payloads (por etapas y sin etapas).**
97-
- Tal como lo explicamos en nuestra pagina web de documentación, kithack nos permite utilizar tanto payloads por etapas como individuales. Si deseas saber sus diferencias, consulta [aquí.](https://adrmxr.github.io/KitHack#tipos-de-payloads)
97+
- Kithack nos permite utilizar tanto payloads por etapas como individuales. Si deseas saber sus diferencias, consulta [aquí.](https://adrmxr.github.io/KitHack#tipos-de-payloads)
9898

9999
**4) Incorporación de un nuevo método que permite infectar aplicaciones Android legitimas.**
100-
- Kithack nos proporciona la opción de poder infectar una APK original y certificarla para que sea menos detectable. Cabe destacar que no todas las aplicaciones son vulnerables, aplicaciones como Facebook, WhatsApp, Instagram y similares tienen los suficientes mecanismos de seguridad para evitar este tipo de ataques. Te sugerimos descargar aplicaciones directamente de [apkpure](https://apkpure.com) o similares a esta.
100+
- Kithack nos proporciona la opción de poder infectar una APK original. Cabe destacar que no todas las aplicaciones son vulnerables.
101101

102-
**5) Generación de enlaces tcp mediante Ngrok para conexiones publicas (puerto 443 por default).**
103-
- Ahora también puedes trabajar con [ngrok](https://ngrok.com) para realizar ataques fuera de tu red sin necesidad de abrir puertos. También se ha automatizado la validación de tu [authtoken](https://ngrok.com/docs#getting-started-authtoken), ya que en caso de no tenerlo configurado, kithack automaticamente te solicita ingresarlo para generar correctamente el enlace tcp. El archivo de configuración ```ngrok.yml``` ya no será validado en los directorios de inicio (home path), ahora se almacenará en ```KitHack/.config``` de manera predeterminada. Si por alguna razon necesita que kithack le solicite nuevamente su authtoken escriba ```rm .config/ngrok.yml```
102+
**5) Generación de conexiones TCP con ngrok.**
103+
- Ahora también puedes trabajar con [ngrok](https://ngrok.com) para realizar ataques fuera de tu red sin necesidad de abrir puertos. El archivo de configuración ```ngrok.yml``` se almacena en ```KitHack/.config``` de manera predeterminada. Si por alguna razon necesita que kithack le solicite nuevamente su authtoken escriba ```rm .config/ngrok.yml```.
104104

105-
**6) Automatización de Metasploit para ponerlo en escucha de nuevas sesiones.**
106-
- No tienes que perder tiempo en volver a setear las configuraciones de tu payload, kithack se encarga de poner en escucha a [metasploit](https://www.metasploit.com) de manera rapida.
105+
**6) Automatización de Metasploit.**
106+
- No tienes que perder tiempo en volver a establecer las configuraciones de tu payload, kithack se encarga de poner en escucha a [metasploit](https://www.metasploit.com) de manera rapida.
107107

108-
**7) Planificación de puntos estrategicos para la evasión de antivirus.**
109-
- Para nosotros es importante que nuestros backdoors sean lo menos detectables posibles, es por eso que te pedimos no subirlos a paginas como [virustotal](https://www.virustotal.com) ya que este tipo de plataformas almacenan en su base de datos los resultados de cada análisis.
108+
**7) Personalización de payloads para android.**
109+
- Ahora también tienes la posibilidad de personalizar tu propio payload para Android. Con kithack puedes cambiar el nombre predeterminado de la apk que genera [metasploit](https://www.metasploit.com) conocido como "MainActivity" y también puedes modificar el icono de Android predeterminado. Da click [aquí](https://github.com/AdrMXR/KitHack/blob/master/icons/LEEME.txt) para conocer el formato.
110110

111-
**8) Elaboración de un nuevo método que permite modificar el nombre e icono predeterminados de una APK generada por Metasploit.**
112-
- Ahora también tienes la posibilidad de personalizar tu propio payload para Android. Con kithack puedes cambiar el nombre predeterminado de la apk que genera [metasploit](https://www.metasploit.com) conocido como "MainActivity" y también puedes modificar el icono Android predeterminado. Da click [aquí](https://github.com/AdrMXR/KitHack/blob/master/icons/LEEME.txt) para conocer el formato.
113-
114-
**9) Aplicación de persistencia automatizada para cualquier APK.**
111+
**8) Aplicación de persistencia automatizada para cualquier APK.**
115112
- Olvidate de que tu sesión de [metasploit](https://www.metasploit.com) expire muy rapido, con kithack ahora podrás generar tu archivo de persistencia para cualquier APK. Si deseas saber como ponerlo en marcha en la shell de meterpreter, da click [aquí.](https://youtu.be/nERwsZyIVeo)
116113

114+
**9) Ejecución de herramientas.**
115+
- Ahora el usuario podrá ejecutar las herramientas directamente desde kithack a pesar de que ya se encuentren instaladas.
116+
117+
**10) Creación de ```clean.sh```.**
118+
- Si necesitas eliminar el contenido que te ha generado kithack en tu carpeta `tools` y `output`, puedes ejecutar el archivo `clean.sh` para hacerlo de forma rápida.
119+
117120
## Algunas APK vulnerables:
118121

119122
| APK | Versión |
@@ -139,22 +142,8 @@ $ sudo bash uninstall.sh
139142

140143
| Demo 1 | Demo 2 |
141144
| ------ | ------ |
142-
<a href="https://asciinema.org/a/fiIoQatBqUh7z79DKTrQnG7bW" target="_blank"><img src="https://asciinema.org/a/fiIoQatBqUh7z79DKTrQnG7bW.svg" /></a>|<a href="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY" target="_blank"><img src="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY.svg" /></a>
143-
<p align="center">
144-
145-
## Tutorial:
146-
145+
<a href="https://asciinema.org/a/OTymOt3NNSTfFERrw2bHvuFw7" target="_blank"><img src="https://asciinema.org/a/OTymOt3NNSTfFERrw2bHvuFw7.svg" /></a>|<a href="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY" target="_blank"><img src="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY.svg" /></a>
147146
<p align="center">
148-
<a href="https://www.youtube.com/watch?v=Wsdn158PH50">
149-
<img src="https://github.com/AdrMXR/KitHack/blob/master/images/youtube.png" />
150-
</a></p>
151-
152-
## Documentación:
153-
154-
| Titulo | Link |
155-
|-------------------------------------------|------------------------------|
156-
| Controlar un Android fuera de la red local| https://youtu.be/V1w1CMSdTyU |
157-
| KitHack - Una herramienta todo en uno | https://youtu.be/-8TCtiI9HWM |
158147

159148
## Menu:
160149

clean.sh

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/usr/bin
2+
#Copyright 2021 KITHACK
3+
#Written by: Adrian Guillermo
4+
#Facebook: https://facebook.com/adrian.guillermo.22
5+
#Github: https://github.com/AdrMXR
6+
7+
# Clean KitHack
8+
9+
# Colors
10+
red='\e[1;31m'
11+
default='\e[0m'
12+
yellow='\e[0;33m'
13+
green='\033[92m'
14+
15+
# Location
16+
path=$(pwd)
17+
18+
# Check root
19+
if [ "$(id -u)" != "0" ] > /dev/null 2>&1; then
20+
echo -e '\n$red[x] Este script necesita permisos root.' 1>&2
21+
exit
22+
fi
23+
24+
tools() {
25+
sleep 1.5
26+
if [ -d tools ]; then
27+
count="$( find tools/* -mindepth 1 -maxdepth 1 | wc -l )"
28+
if ! [ $count -eq 0 ] ; then
29+
rm -rf $( find tools/*/* -type d )
30+
echo -e "[✔]tools."
31+
else
32+
echo -e "[x]tools vacía."
33+
fi
34+
else
35+
echo -e "[x]tools no encontrada."
36+
fi
37+
}
38+
39+
output() {
40+
sleep 1.5
41+
if [ -d output ]; then
42+
count="$( find output -mindepth 1 -maxdepth 1 | wc -l )"
43+
if ! [ $count -eq 0 ] ; then
44+
rm -rf $( find output -type f)
45+
echo -e "[✔]output."
46+
else
47+
echo -e "[x]output vacía."
48+
fi
49+
else
50+
echo -e "[x]output no encontrada."
51+
fi
52+
}
53+
54+
clear
55+
echo -e """ $red
56+
╔──────────────────────────────────────────────╗
57+
| Con este script podrás eliminar el contenido |
58+
| que te genera KitHack en las carpetas |
59+
| tools y output. |
60+
┖──────────────────────────────────────────────┙"""
61+
echo -e "$green"
62+
echo -e "Seleccione la opción requerida."
63+
echo -e "$default[1]""$yellow tools"
64+
echo -e "$default[2]""$yellow output"
65+
echo -e "$default[3]""$yellow all"
66+
echo -e "$red"
67+
echo -ne "KitHack >> $default"
68+
read -r option
69+
case "$option" in
70+
71+
1)
72+
tools
73+
exit 1
74+
;;
75+
76+
2)
77+
output
78+
exit 1
79+
;;
80+
81+
3)
82+
tools
83+
output
84+
exit 1
85+
;;
86+
87+
*)
88+
echo -e "$red""Opción invalida."
89+
;;
90+
esac
91+

docs/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ Algunos escenarios de contribución con código son los siguientes:
2626
**Importante**: Cuando vaya a realizar una solicitud de extracción, es necesario que cumpla con los siguientes puntos:
2727

2828
* Especifique un titulo descriptivo para facilitar la comprensión de su solicitud.
29-
* Incluya todos los detalles posibles, si es posible incorpore un copy-paste de la salida en su terminal.
29+
* Incluya todos los detalles posibles.
3030
* Incluya referencias
31-
* Nunca deje la descripción vacía
3231
* Incluya instrucciones, consejos o sugerencias
3332
* Incluya documentación

docs/translations/English/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ Some code contribution scenarios are as follows:
2626
**Important**: When you are going to make a pull request, it is necessary that you comply with the following points:
2727

2828
* Specify a descriptive title to facilitate understanding of your request.
29-
* Include all possible details, if possible incorporate a copy-paste of the output in your terminal.
29+
* Include as much detail as possible.
3030
* Include references
31-
* Never leave the description empty
3231
* Include instructions, advice or suggestions
3332
* Include documentation

docs/translations/English/README.md

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<a href="https://github.com/AdrMXR"><img title="Autor" src="https://img.shields.io/badge/Author-Adrián%20Guillermo-blue?style=for-the-badge&logo=github"></a>
7-
<a href=""><img title="Version" src="https://img.shields.io/badge/Version-1.3.1-red?style=for-the-badge&logo="></a>
7+
<a href=""><img title="Version" src="https://img.shields.io/badge/Version-1.3.2-red?style=for-the-badge&logo="></a>
88
</p>
99

1010
<p align="center">
@@ -88,31 +88,34 @@ $ sudo bash uninstall.sh
8888
## New features:
8989

9090
**1) Debugging of obsolete tools.**
91-
- Due to the elimination of some repositories by their respective authors, it is essential that our users [report us](mailto:kithacking@gmail.com) any tool that is not being installed correctly, since in this way we can eliminate it from kithack.
91+
- It is essential that our users [report us](mailto:kithacking@gmail.com) any tool that is not being installed correctly, since that way we will be able to completely debug it from kithack.
9292

9393
**2) Integration of new tools.**
94-
- As we debug tools we also integrate some new ones, if you have a personal project on github that you would like to appear in our toolkit, or if you are interested in being a kithack contributor, read our [contribution policy](https://github.com/AdrMXR/KitHack/blob/master/docs/translations/English/CONTRIBUTING.md).
94+
- As we debug tools we also integrate some new ones, if you have a personal project on github that you would like to appear in our toolkit, or if you are interested in being a kithack contributor, read our [contribution policy](https://github.com/AdrMXR/KitHack/blob/master/docs/CONTRIBUTING.md).
9595

9696
**3) Unification of types of Payloads (by stages and without stages).**
97-
- As we explained on our documentation website, kithack allows us to use both staged and individual payloads. If you want to know their differences, see [here.](https://adrmxr.github.io/KitHack#tipos-de-payloads)
97+
- Kithack allows us to use payloads in stages and individual. If you want to know their differences, see [here.](Https://adrmxr.github.io/KitHack#tipos-de-payloads)
9898

99-
**4) Incorporation of a new method that allows legitimate Android applications to be infected.**
100-
- Kithack gives us the option of being able to infect an original APK and certify it so that it is less detectable. It should be noted that not all applications are vulnerable, applications such as Facebook, WhatsApp, Instagram and the like have sufficient security mechanisms to avoid this type of attack. We suggest you download the applications directly from [apkpure](https://apkpure.com) or similar to it.
99+
**4) Incorporation of a new method that allows infecting legitimate Android applications.**
100+
- Kithack gives us the option to infect an original APK. It should be noted that not all applications are vulnerable.
101101

102-
**5) Tcp link generation through Ngrok for public connections (port 443 by default).**
103-
- Now you can also work with [ngrok](https://ngrok.com) to perform attacks outside of your network without opening ports. The validation of your [authtoken](https://ngrok.com/docs#getting-started-authtoken) has also been automated, since in case of not having it configured, kithack automatically asks you to enter it to correctly generate the tcp link. The configuration file ```ngrok.yml``` will no longer be validated against home directorie (home path), it will now be stored in ```KitHack/.config``` by default. If for some reason you require kithack to request your authtoken again write ```rm .config/ngrok.yml```.
102+
**5) Generation of TCP connections with ngrok.**
103+
- Now you can also work with [ngrok](https://ngrok.com) to carry out attacks outside your network without the need to open ports. The configuration file ```ngrok.yml``` is stored in ```KitHack/.config``` by default. If for some reason you need kithack to request your authtoken again, write ```rm .config/ngrok.yml```.
104104

105-
**6) Metasploit automation to listen for new sessions.**
106-
- You don't have to waste time in re-setting your payload settings, kithack takes care of listening to [metasploit](https://www.metasploit.com) quickly.
105+
**6) Metasploit Automation.**
106+
- You don't have to waste time re-setting your payload settings, kithack takes care of listening to [metasploit](https://www.metasploit.com) quickly.
107107

108-
**7) Planning of strategic points for antivirus evasion.**
109-
- For us it is important that our backdoors are as undetectable as possible, that is why we ask you not to upload them to pages like [virustotal](https://www.virustotal.com) since these types of platforms store in their database the results of each analysis.
110-
111-
**8) Development of a new method that allows modifying the default name and icon of an APK generated by Metasploit.**
108+
**7) Custom payloads for android.**
112109
- Now you also have the possibility to customize your own payload for Android. With kithack you can change the default name of the apk generated by [metasploit](https://www.metasploit.com) known as "MainActivity" and you can also modify the default Android icon. Click [here](https://github.com/AdrMXR/KitHack/blob/master/icons/LEEME.txt) to know the format.
113110

114-
**9) Automated persistence application for any APK.**
115-
- Forget that your [metasploit](https://www.metasploit.com) session expires very quickly, with kithack you can now generate your persistence file for any APK. If you want to know how to start it in the meterpreter shell, click [here.](https://youtu.be/nERwsZyIVeo)
111+
**8) Automated persistence application for any APK.**
112+
- Forget that your [metasploit] session (https://www.metasploit.com) expires very fast, with kithack you can now generate your persistence file for any APK. If you want to know how to start it in the meterpreter shell, click [here.](https://youtu.be/nERwsZyIVeo)
113+
114+
**9) Run tools.**
115+
- Now the user can run the tools directly from kithack even though they are already installed.
116+
117+
**10) Creation of ```clean.sh```.**
118+
- If you need to remove the content that kithack has generated in your "tools and output" folders, you can run the clean.sh file to do it quickly.
116119

117120
## Some vulnerable APK:
118121

@@ -139,22 +142,8 @@ $ sudo bash uninstall.sh
139142

140143
| Demo 1 | Demo 2 |
141144
| ------ | ------ |
142-
<a href="https://asciinema.org/a/fiIoQatBqUh7z79DKTrQnG7bW" target="_blank"><img src="https://asciinema.org/a/fiIoQatBqUh7z79DKTrQnG7bW.svg" /></a>|<a href="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY" target="_blank"><img src="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY.svg" /></a>
143-
<p align="center">
144-
145-
## Tutorial:
146-
145+
<a href="https://asciinema.org/a/OTymOt3NNSTfFERrw2bHvuFw7" target="_blank"><img src="https://asciinema.org/a/OTymOt3NNSTfFERrw2bHvuFw7.svg" /></a>|<a href="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY" target="_blank"><img src="https://asciinema.org/a/oV5lttCQpOmmgcgIaFIQEkcxY.svg" /></a>
147146
<p align="center">
148-
<a href="https://www.youtube.com/watch?v=Wsdn158PH50">
149-
<img src="https://github.com/AdrMXR/KitHack/blob/master/images/youtube.png" />
150-
</a></p>
151-
152-
## Documentation:
153-
154-
| Titulo | Link |
155-
|----------------------------------------------|------------------------------|
156-
| Control an android outside the local network | https://youtu.be/V1w1CMSdTyU |
157-
| KitHack - an all-in-one tool | https://youtu.be/-8TCtiI9HWM |
158147

159148
## Menu:
160149

images/screenshot-1.png

-8.47 KB
Loading

images/youtube.png

-55.4 KB
Binary file not shown.

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin
2-
#Copyright 2020 KITHACK
2+
#Copyright 2021 KITHACK
33
#Written by: Adrian Guillermo
44
#Facebook: https://facebook.com/adrian.guillermo.22
55
#Github: https://github.com/AdrMXR
@@ -32,7 +32,7 @@ echo -e "$yellow | | | \___ \ | | / __ \| |_| |_\ ___/| | \/
3232
echo -e "$yellow |___|___| /____ > |__| (____ /____/____/\___ >__| /\ /\ /\ "
3333
echo -e "$yellow \/ \/ \/ \/ \/ \/ \/ "
3434
echo -e " "
35-
echo -e "$orange Setup KitHack v1.3.1 "
35+
echo -e "$orange Setup KitHack v1.3.2 "
3636
echo -e " "
3737
echo -e "$orange By:AdrMXR "
3838

lib/apkf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
#Copyright 2020 KITHACK
2+
#Copyright 2021 KITHACK
33
#Written by: Adrian Guillermo
44
#Facebook: https://facebook.com/adrian.guillermo.22
55
#Github: https://github.com/AdrMXR

0 commit comments

Comments
 (0)