Commit Graph

397 Commits

Author SHA1 Message Date
cgranleese-r7 64831b67f1 Update new session to have a consistent local fs API 2024-03-06 15:52:09 +00:00
h00die 6a851855a8 spelling fixes for lib folder 2024-01-06 15:54:49 -05:00
bwatters ac6aa53fc7 Land #18386, Add a new lmkdir command
Merge branch 'land-18386' into upstream-master
2023-10-30 14:36:56 -05:00
elliot 58176b6627 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
formatting

Co-authored-by: dwelch-r7 <Dean_Welch@rapid7.com>
2023-10-13 12:16:20 -05:00
elliot 102662d61a Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
formatting

Co-authored-by: dwelch-r7 <Dean_Welch@rapid7.com>
2023-10-13 12:16:04 -05:00
elliot 423262c979 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
formatting

Co-authored-by: dwelch-r7 <Dean_Welch@rapid7.com>
2023-10-13 12:15:54 -05:00
elliot 187ff951c3 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
formatting

Co-authored-by: dwelch-r7 <Dean_Welch@rapid7.com>
2023-10-13 12:15:39 -05:00
elliot ccb3927254 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
Sets the path variable via a loop so that it fixes the path assignment and lets the user give a series of directories

Co-authored-by: Brendan <bwatters@rapid7.com>
2023-10-10 12:23:31 -05:00
Spencer McIntyre d46e80f17f Fix how port forwards are listed
Fixes #18291
2023-10-06 09:04:28 -04:00
elliot 6b00d87c49 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
Co-authored-by: dwelch-r7 <Dean_Welch@rapid7.com>
2023-09-23 08:55:26 +10:00
elliot 89d1923c41 Update fs.rb 2023-09-21 00:51:28 +10:00
elliot 67e003794b Update fs.rb 2023-09-21 00:46:55 +10:00
elliot f28e0d9d93 Update fs.rb
Added lmkdir command to create new directory on local machine
2023-09-21 00:10:07 +10:00
Spencer McIntyre 636d89cf67 Fix the reverse port forward message 2023-02-28 15:08:00 -05:00
Spencer McIntyre 49a2f481b6 Fix argument validation for the route command 2023-02-24 15:36:52 -05:00
Spencer McIntyre 81295e40fa Report the host that's returned from Meterpreter
Report the host that's returned from Meterpreter because that's the most
accurate source of the information.
2023-01-20 14:15:14 -06:00
Spencer McIntyre 729de2478c Warn that the remote host is ignored 2023-01-20 14:15:13 -06:00
Spencer McIntyre 17d8db43a9 Print IPv6 addresses correctly 2023-01-20 14:15:13 -06:00
Spencer McIntyre 7678e7c8ea Pass bind address for reverse port forwards 2023-01-20 14:15:13 -06:00
Spencer McIntyre 34451940c7 Fix uploading from shell sessions 2022-12-12 12:02:33 -05:00
Spencer McIntyre 2459371a47 Print the portfwd relay more descriptively
Closes #17158

This updates the output of the portfwd command to show if it's a forward
(normal) portforward or if it's a reverse port forward where the
compromised host is the one listening.
2022-11-15 08:50:23 -05:00
Spencer McIntyre 095a861783 Convert REG_DWORD and REG_QWORD values to integers 2022-09-21 17:14:47 -04:00
Spencer McIntyre f1a7be6c49 Fix how REG_MULTI_SZ is handled 2022-09-06 16:53:30 -04:00
Christophe De La Fuente aedab4c8aa Fix reg command -w option flag 2022-05-05 11:09:53 +02:00
Grant Willcox 7aa36a65d6 Add in additional validation options and rework the regex a bit so that we only match on valid hex characters. 2022-04-20 17:11:14 -05:00
Christophe De La Fuente 99789c81de Add support to binary data with setting a REG_BINARY key value 2022-04-20 12:12:57 +02:00
3V3RYONE 58484f3ae0 add lcat cmd functionality 2022-03-05 10:11:45 +05:30
sjanusz 063c3936a9 Add support for long arguments to Rex Parser 2021-12-14 17:45:56 +00:00
Ashley Donaldson 607ff2727a Resolve readline error when two options differ only in case 2021-11-29 12:47:28 +11:00
dwelch-r7 b83e8a2fa7 Tell the user about shell -it 2021-11-23 12:23:03 +00:00
Grant Willcox 7b06ee9701 Land #15889, Add validation for resizeable interactive shells 2021-11-18 14:12:56 -06:00
dwelch-r7 3b74021e19 Add validation for resizable interactive shells 2021-11-18 13:05:01 +00:00
Ashley Donaldson 81338225f0 Respect path expansion when performing path-based tab completion 2021-11-18 14:50:22 +11:00
Grant Willcox e65b10c57c Land #15862, Expand environment variables on Linux Meterpreter 2021-11-15 14:15:41 -06:00
Ashley Donaldson 7bf75c0de5 Better support tab completing through a series of directories when using meterpreter 2021-11-15 17:22:38 +11:00
Ashley Donaldson 90695e8399 Use expand_path in other file/directory-based meterpreter commands 2021-11-15 12:18:56 +11:00
Ashley Donaldson 32bf9f60d1 Explicitly select platforms to manually perform path expansion 2021-11-15 11:44:08 +11:00
Ashley Donaldson ebd927da44 Apply suggestions from code review
Co-authored-by: Grant Willcox <63261883+gwillcox-r7@users.noreply.github.com>
2021-11-12 11:56:49 +11:00
Ashley Donaldson 7e2c6edb64 Expand paths for linux platforms 2021-11-11 20:14:06 +11:00
Ashley Donaldson 35a6622318 Tab-complete for file downloads 2021-11-09 10:42:11 +11:00
dwelch-r7 2c8ef87649 Add flag for running command in pty 2021-10-18 14:31:30 +01:00
Tim W 4289c8b3ea Land #15441, add date filtering to stdapi_fs_search 2021-09-28 15:55:43 +01:00
Tim W 9d2065fee5 cleanup 2021-09-09 10:02:22 +01:00
test 044a9d3ad2 Clarified variable names 2021-09-06 15:46:05 -04:00
adfoster-r7 50330c1559 Land #15522, Add feature flagged support for fully interactive Meterpreter shells 2021-09-03 14:24:41 +01:00
dwelch-r7 310f2fb86f Add warning for trying to use fully interactive shells without a pty 2021-09-02 15:22:35 +01:00
Tim W 68194cb8af Fix #15615, refresh session info after running meterpreter > sysinfo 2021-08-31 15:16:17 +01:00
dwelch-r7 1d26885b34 Fix typo 2021-08-24 11:46:31 +01:00
dwelch-r7 d3c14d3cd6 Address review comments 2021-08-23 16:25:59 +01:00
dwelch-r7 d98896564d limit raw mode to pty shells only 2021-08-18 15:08:00 +01:00