1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-08 14:36:22 +01:00
Commit Graph

111 Commits

Author SHA1 Message Date
Tim
45463b3edf update readme 2014-03-15 19:48:42 +00:00
Tim
0bd6446945 Merge remote-tracking branch 'origin' 2014-03-15 19:38:13 +00:00
Tim
f9b1aeb9a3 deploy to data/android/libs 2014-03-15 19:37:34 +00:00
Tim
12c2b05d24 s/dalvikstager/ndkstager/g 2014-03-15 18:45:41 +00:00
Joe Vennix
dc427c4423 Oops, remove .DS_Store file. 2014-03-10 21:59:45 -05:00
Joe Vennix
87ef7139b6 Build NDK Stager with root deploy. 2014-03-10 20:55:05 -05:00
Joe Vennix
fe710a8e4c Cleanup comment. 2014-03-10 20:24:21 -05:00
joe
1b2dadb94b Convert Makefile to pom.xml, an exercise in patience.
Ugh.
2014-03-10 18:13:43 -07:00
Joe Vennix
e641d72332 Attempt a pom.xml file. 2014-03-10 17:21:21 -05:00
Joe Vennix
f9e59c89c9 Merge branch 'reverse_http_s' into webcam_fixes
Manually resolves conflicts in Payload.java

Conflicts:
	androidpayload/app/src/com/metasploit/stage/Payload.java
2014-03-10 15:15:56 -05:00
jvennix-r7
5e5197231a Add instructions updating the Android SDK. 2014-03-07 14:48:36 -06:00
jvennix-r7
e35bd00ff9 Trailing slashes make maven sad. 2014-03-07 14:32:32 -06:00
jvennix-r7
177caf4914 Add link to android SDK URL. 2014-03-07 14:23:34 -06:00
jvennix-r7
616f73f878 Add android.release=true setting to android build. 2014-03-07 14:21:58 -06:00
jvennix-r7
2a62adef43 Update README.txt instructions for android
Add clearer instructions for building android meterpreter.
2014-03-07 12:58:53 -06:00
AnwarMohamed
d47975b602 parsing http/s host as url with port 2014-03-04 18:06:42 +02:00
Tim
de5dcff2a5 native jni stager 2014-02-25 23:45:02 +00:00
AnwarMohamed
e3aa313118 formatting 2014-02-26 00:02:51 +02:00
AnwarMohamed
b5d55bc791 formatting 2014-02-25 23:55:33 +02:00
AnwarMohamed
40f8cb0cae TrustManager for https 2014-02-25 23:46:42 +02:00
AnwarMohamed
e2055718d2 add reverse_http & reverse_https 2014-02-25 23:21:58 +02:00
Tim
ffb1f711f4 get context via reflection 2014-02-24 23:09:20 +00:00
Tim
021532869e fix silly exception handling 2014-02-19 00:25:47 +00:00
Tim
1c34b863a3 fix webcam_snap visibility 2014-02-15 14:49:14 +00:00
Tim
29a8a6403d reduce payload size 2014-02-15 13:56:43 +00:00
Tim
5e2d21e56f disable android commands when the context is null 2014-02-15 13:40:03 +00:00
Tim
93c854ac86 fix webcam_stream 2014-02-15 13:39:58 +00:00
Tim
3c5a00a558 fix webcam_snap 2014-02-10 03:24:32 +00:00
Tim
e9b07f0d7c the Android Context should be optional 2013-10-07 20:48:02 +01:00
Michael Schierl
316f330a90 Use Android API Scents from Maven Central
While at it, change it to the scents from API Level 1, so that we can
claim it works on really every Android device :)
2013-09-06 18:29:21 +02:00
Michael Schierl
216c85996e Fix relative paths to Metasploit repository
As this repo it is no longer in external/source directory, the deploy
targets need to know where the Framework repository is. This defaults to
../metasploit-framework, but can be changed via -D deploy.path= command
line switch.
2013-06-12 23:44:57 +02:00
James Lee
c260f183aa I suck at markdown 2013-06-11 17:02:15 -05:00
James Lee
7724f32de7 I suck at markdown 2013-06-11 17:01:38 -05:00
James Lee
51d72e6d97 Add compilation instructions for Android 2013-06-11 16:58:53 -05:00
James Lee
dd55986e05 Move COMPILING to README
Since this is its own repo now, it needs a readme and the content in
COMPILING is what people probably expect in that document anyway
2013-06-11 16:53:00 -05:00
Michael Schierl
182285b2c2 Update .gitignore and .travis.yml for new repo 2013-06-11 19:47:15 +02:00
James Lee
3593082570 Land #1708, android meterpreter
Conflicts:
	data/meterpreter/ext_server_stdapi.jar
2013-05-28 12:19:45 -05:00
Luke Imhoff
518b52174f Add new rvm control files to ignores
[#49402505]

rvm stable (1.19.6) has deprecated .rvmrc in favor of the .ruby-version
file used by other ruby version switchers and .ruby-gemset.  These files
only contain strings to be looked up instead of bash or sh code, so it's
also a safer format than the old script in the .rvmrc.
2013-05-07 08:32:21 -05:00
timwr
bd8c9125ff camera fixes and add wav header to audio record 2013-05-03 01:43:50 +01:00
timwr
6c4d3ddfa0 include javapayload in the dx build path 2013-05-02 16:17:56 +01:00
Michael Schierl
9c38ebad17 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
2013-05-01 18:01:37 +02:00
timwr
24cf469899 Merge pull request #3 from schierlm/android-deploy-profiles
Call dx from Maven profile
2013-05-01 08:18:31 -07:00
Michael Schierl
28b3adc3a6 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.
2013-04-27 22:20:18 +02:00
Michael Schierl
866bfc504f 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
2013-04-27 20:40:55 +02:00
Michael Schierl
facf2076e1 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.
2013-04-27 20:39:13 +02:00
timwr
8c0a0bafbb make android build conditional on -Dandroid.sdk.path= 2013-04-27 00:21:13 +01:00
Michael Schierl
70e587519e Fix incorrect network prefix in Java Meterpreter
Apparently, getNetworkPrefixLength can return -1, which confuses the Ruby
side. Therefore fall back to guessing the prefix in this case, as we do it
for Java <= 1.6.
2013-04-20 23:10:46 +02:00
timwr
cbdda49ed7 fix obvious breakage 2013-04-18 10:24:50 +01:00
timwr
7b8b36f8b9 remove unused resources and fix whitespace 2013-04-13 16:22:52 +01:00
timwr
8a53a94f2e android meterpreter 2013-04-12 18:57:04 +01:00