Ashley Donaldson
f1fcfd6176
Handle discrepance of process launching on Windows between different versions of Java
2024-10-16 17:29:41 +11:00
Ashley Donaldson
26d0aa3e8d
Changes from code review
2024-10-15 22:11:02 +11:00
Ashley Donaldson
26eddbb7a3
Handle Windows oddity in java's process launch library
2024-10-15 21:24:37 +11:00
adfoster-r7
80d73d4d34
Merge pull request #701 from smashery/new_cmd_exec
...
New process launch API
2024-10-11 00:23:00 +01:00
Spencer McIntyre
ff617cf147
Fix a regression I added in the search behavior
...
Bad Spencer bad
2024-10-09 12:41:50 -04:00
Spencer McIntyre
b5b4101873
Fix an issue with filesystem enumeration
...
File.list can return an array with null members. In this case
File.listFiles will fail entirely. This updates uses to use File.list
and to check for and skip null members when they occur.
2024-10-07 13:34:14 -04:00
Ashley Donaldson
5422a15c79
Allow collection-style TLVs to have zero elements
2024-09-25 16:28:37 +10:00
Ashley Donaldson
5c2486c003
Treat old-style path separately to new (unescaped) path
2024-09-25 16:28:37 +10:00
Ashley Donaldson
133e8f0b01
Implement new cmd_exec for Java
2024-09-25 16:28:37 +10:00
Spencer McIntyre
a86dc9db06
Land #705 , Update android json dependencies
2024-05-28 15:30:53 -04:00
bwatters-r7
f00b2731cb
Turns out we don't need those libraries at all.
2024-05-23 15:36:20 -05:00
bwatters-r7
cf7b514300
Fix library here, too
2024-05-22 17:40:46 -05:00
bwatters-r7
4d84150ae4
Update json library to 20231013
2024-05-22 15:51:14 -05:00
dwelch-r7
85ed7e1914
Land #704 , Add clean step to Java documentation
2024-05-22 11:58:58 +01:00
adfoster-r7
74a770e336
Update clean step to Java documentation
2024-05-22 11:54:53 +01:00
Christophe De La Fuente
cde5c5e90e
Remove early-access release suffix on version string
2024-05-14 19:05:32 +02:00
Spencer McIntyre
e12217d5ed
Set line endings to LF as the other files Java use
2023-11-22 10:28:30 -05:00
Ashley Donaldson
167fedee4b
Use versioning functionality for this change; also, fix it
2023-11-21 15:28:01 +11:00
Ashley Donaldson
926b6ec6da
Don't listen on IPv6 when 0.0.0.0 srvhost is requested
2023-11-20 14:53:20 +11:00
jheysel-r7
387a38e4cf
Land #672 , OpenJDK reflection fix
...
This PR resolves issue #647 which outlined how
the java meterpretr no longer worked with openjdk 17
due to reflection changes.
2023-10-11 12:30:08 -04:00
sjanusz-r7
b25b57281c
Add Java parent to AndroidPayload
2023-09-28 12:46:11 +01:00
Ashley Donaldson
ab44891b79
Neater use of classloader, from review
2023-09-25 10:38:50 +10:00
Ashley Donaldson
7cee3f76e1
Compatibilise with older Javas
2023-09-11 15:13:21 +10:00
Ashley Donaldson
dba2cb9263
Bridge the classloaders using self-reference
2023-09-11 12:59:17 +10:00
Ashley Donaldson
0a71bcd5ea
Support resource files in in-memory jar file
2023-09-11 10:05:33 +10:00
Ashley Donaldson
b158f2c4e4
Initial work to replace URL hack - manually parse a JAR file
2023-09-08 16:35:13 +10:00
oacia
38510da10c
Update android_dump_contacts.java
...
fix dump_contacts fail in Android 10 or higher
2023-07-09 21:15:16 +08:00
adfoster-r7
c6ce10778f
Update documentation for running java Meterpreter on mac
2023-05-22 23:21:24 +01:00
Tim W
4577bb4666
fix android audio output
2022-05-13 11:23:09 +01:00
Tim W
bd328dfc71
Add REQUEST_IGNORE_BATTERY_OPTIMIZATIONS android permission
2022-04-27 10:44:17 +01:00
sjanusz
564180c89c
Add Java native_arch
2022-02-09 16:14:09 +00:00
Tim W
a0b297f073
add java architecture to sysinfo
2022-02-08 13:07:28 +00:00
Tim W
56627ea5db
add stdapi_sys_process_getpid on Android
2022-01-17 10:13:55 +00:00
Tim W
c14e1e7bfe
fix getenv for missing environment variables
2022-01-17 10:11:36 +00:00
Tim W
25ed0159d4
Land #521 , add java stdapi_sys_process_getpid function
2022-01-17 09:28:02 +00:00
Tim W
023382aa9c
reuse the classExists function in process_getpid
2022-01-17 09:27:08 +00:00
sjanusz
328a43bccf
Split getpid implementations into separate versions
2022-01-14 15:02:22 +00:00
sjanusz
9c937e5684
Add getpid to Java Meterpreter
2022-01-13 14:24:18 +00:00
Tim W
670fd8360c
check the return value of rmtree in java stdapi_fs_delete_dir
2022-01-12 12:38:37 +00:00
Spencer McIntyre
e0dae30a95
Update Javas stdapi_fs_delete_dir to be recursive
2022-01-05 17:12:41 -05:00
Tim W
933cbe2a77
improve java stdapi_fs_search
2021-09-22 16:28:14 +01:00
test
e43f437a2c
Clarified variable names
2021-09-20 15:38:13 +01:00
test
8d5a1c5c8a
Java/Android and bug fix for Python/PHP
2021-09-20 15:38:13 +01:00
XhstormR
b23d438822
fix parameter sequence is incorrect
...
Signed-off-by: XhstormR <10527522+XhstormR@users.noreply.github.com>
2021-05-07 10:41:58 +08:00
Tim W
f0147af46b
Add stdapi_net_resolve_host(s) to the Java meterpreter
2021-04-16 12:36:59 +01:00
Tim W
54de384b28
Land #467 , StringBuffer to StringBuilder
2021-03-11 15:22:31 +00:00
Tim W
2dc21da562
cleanup
2021-03-11 15:19:35 +00:00
Tim W
89f1a38d48
Land #465 , inner class to static
2021-03-04 13:56:42 +00:00
Tim W
7691f6f483
Land #464 , remove unused boxing and unboxing
2021-03-04 13:55:19 +00:00
Tim W
c6fec5a3ef
Land #463 , refine array copy
2021-03-04 13:54:08 +00:00