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
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
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
Tim W
4577bb4666
fix android audio output
2022-05-13 11:23:09 +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
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
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
c6fec5a3ef
Land #463 , refine array copy
2021-03-04 13:54:08 +00:00
Grant Willcox
5370cba59b
Land #460 , Remove useless casts in Java Meterpreter code
2021-02-19 10:44:08 -06:00
XenoAmess
e697af6668
remove useless cast
2021-02-19 11:36:34 +08:00
Tim W
55ff88459a
Land #469 , fix linting on ignored exceptions
2021-02-12 16:20:25 +00:00
Tim W
6e8023708d
Land #468 , remove unused imports
2021-02-12 16:16:27 +00:00
Tim W
4395e61dbc
Land #466 , fix errors in javadoc
2021-02-12 15:47:08 +00:00
Tim W
ea26abfa36
Land #454 , add missing @Override
2021-02-12 14:19:50 +00:00
XenoAmess
d5e7df035c
add braces
2021-02-11 23:23:06 +08:00
XenoAmess
8cac54b070
add missing @Override
2021-02-11 23:20:09 +08:00
XenoAmess
4223c8cb4c
refine array copy
2021-02-11 23:01:37 +08:00
XenoAmess
dc6d600d62
fix errors in javadoc
2021-02-11 22:40:45 +08:00
XenoAmess
6cffe0d3e2
StringBuffer to StringBuilder
2021-02-11 22:35:33 +08:00
XenoAmess
23b9cbf269
remove unused imports
2021-02-11 22:32:50 +08:00
XenoAmess
e78735107f
change ignored Throwable's name to ignored
2021-02-11 22:30:17 +08:00
Jeffrey Martin
d552529c3b
log error to base stream
...
Changes from #395 interacted with #421 causing `outputStream`
to no longer be a local variable. Revert to grabbing the error
stream from the base object when logging the error.
2020-07-31 16:38:50 -05:00
Tim W
44da75f2c7
rebase fix java stderr output in cmd_exec
2020-07-03 13:49:51 +08:00
Tim W
79e2018f0d
fix stdapi_channel_open
2020-05-18 17:02:22 +08:00
OJ
5e31a39eaa
Finalise changes to Java for Command ID support
2020-04-30 17:44:59 +10:00
OJ
c466527fb6
First pass of java support for UINT comamnd
...
Also had to fix up some implementation issues (such as riding off the
back of the command functionality to make channels... noooo!
2020-04-30 13:39:58 +10:00
Tim W
9d343c9f62
simplify ProcessChannel read
2020-04-12 14:12:12 +08:00
Tim W
d4c808d413
fix rapid7/metasploit-framework#12580
2020-04-11 14:33:52 +08:00
Tim W
0ca5722ab1
fix wildcard usage
2020-03-10 14:59:24 +08:00
Tim W
312e019b58
revert globbing and only fix basic wildcard usage
2020-03-09 14:25:53 +08:00
Tim W
29ca118b98
implement full globbing
2020-03-09 14:21:04 +08:00