╰ breeze · 2013/09/09 13:47

On the WebView interface hidden trouble and the use of mobile phone horse draw deep

See how I modified the Android remote control tool AndroRat

Configure the default remote IP address and port. 3. Change the LauncherActivity to automatically start the service and return to the main screen. Modify the XML so that the program is not displayed in the most recently used programCopy the code

0x00 Set up the Android environment


For xiaobai, the first need for development environment is a must

1.eclipse
2.jdk
3.sdk
Copy the code

Once installed and configured, import our AndroRat project into Eclipse

After the import is completed, two projects are shown as follows:

Error will be generated when the jRA package is first imported. In this case, reference the two JRA packages as shown in the figure below:

For other errors, such as import, the corresponding package is missing. You can refer to www.findjar.com/index.x

When the compilation error is resolved, a yellow exclamation mark appears and both projects are ready to run.

0 x01 androrat installation


Start by running our server to enable listening on the default config.txt configuration port

After the operation is successful, the following servers appear:

Then run the client and use USB to link our mobile phone installation app to view

After installation, there will be an application called LogsProvider in the application list. You can change the name in the following file

Then change the launcherActivity. class code to make the program default and run automatically black

Manifest has been modified so that it is not displayed in the home app recently

Layout file location, you can customize the layout

After adb is installed and run, the server will be automatically returned to the desktop after the mobile phone is installed. Long press home will not see the application.

At this point the whole program can be used, a lot of functions will not list

0x02 Extended thinking


1. If modify app as a service, monitor SMS designated code open port

2. Android has a bug with the GPS function and camera function

3. The implementation of automatic programming, shielding scanning soft, self-replication and infection files (this is still a big bull to study)

url.cn/Ke7wxT micro cloud source sharing address