Commit Graph

280 Commits

Author SHA1 Message Date
Grant Willcox b817a1f8ee Update test module to properly handle multiline return values so that we can properly test things like dumping file content 2022-06-17 13:35:32 -05:00
Grant Willcox 5dd68b23ed Fix some nil issues in SQLi test module 2022-06-16 16:58:33 -05:00
adfoster-r7 29cc349649 Run rubocop --fix-layout test 2022-04-28 15:06:43 +01:00
Christophe De La Fuente 365cebce1a Fix rubocop issues 2022-04-28 13:00:45 +02:00
Redouane NIBOUCHA f0b1aa44c9 Remove unneeded else statements 2022-04-27 12:44:49 +02:00
Redouane NIBOUCHA 2e04c1b8f7 Remove references to PostgreSQL 2022-04-21 06:57:50 +02:00
Redouane NIBOUCHA 8e9e2aa7e8 Use OptEnum instead of OptInt for DBMS and SQLI_TYPE 2022-04-14 03:56:12 +02:00
Redouane NIBOUCHA 8369286956 Remove obsolete PostgreSQL test module, and push one for all the supported DBMS
Remove the postgres_sqli_test
2022-04-11 03:26:39 +02:00
3V3RYONE ea954f7585 add lcat in spec tests 2022-03-05 10:13:32 +05:30
Simon Janusz 47cdbea16f Land #16179, Update Meterpreter file existence tests for CI environments
Update Meterpreter file existence tests for CI environments
2022-03-04 12:13:51 +00:00
Simon Janusz 7b7b5c6914 Land #16197, Fix Meterpreter module tests on Windows host
Fix Meterpreter module tests on Windows host
2022-02-22 14:43:01 +00:00
adfoster-r7 603c4d67f9 Fix Meterpreter module tests on Windows host 2022-02-17 17:28:58 +00:00
alanfoster 9098709fc3 Update Meterpreter file existence tests for CI environments 2022-02-12 22:45:18 +00:00
alanfoster b1d10bd699 Fix search path date test for osx 2022-02-12 22:23:18 +00:00
Spencer McIntyre 6b64985328 Add Windows support for symlink checks 2022-01-07 09:43:37 -05:00
Spencer McIntyre 30e1b6ee81 Add tests for deleting directories and symlinks 2022-01-06 15:07:48 -05:00
Spencer McIntyre b3862ac95c Build a larger tree for testing directory removal
Add a subdirectory with it's own subfile to ensure that the directory
and its contents are removed in a truly recursive manner.
2022-01-06 15:07:48 -05:00
Spencer McIntyre 311e189c90 Update post/test/file to check directory deletion 2022-01-06 15:07:48 -05:00
Tim W c7b4a31ae6 modify Post::File tests to check write_file return value 2021-11-25 03:37:06 +00: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 e1b8a79c37 Added test cases for environment variable expansion on Linux 2021-11-11 20:44:40 +11:00
Spencer McIntyre 6d037e508f Land #15773, Add kubernetes testing resources 2021-10-21 11:22:54 -04:00
adfoster-r7 ff977d34aa Add a make all target 2021-10-21 14:27:16 +01:00
adfoster-r7 ad122e94bd Add patch method for ensuring docker-desktop does not service accounts with full admin access 2021-10-21 14:27:15 +01:00
adfoster-r7 ba68e6baaf Suggest using the Makefile directly 2021-10-21 14:27:15 +01:00
adfoster-r7 5091120a2e Add vulnerable lucee application 2021-10-21 14:27:15 +01:00
adfoster-r7 522bdb592f Add Kubernetes testing resources 2021-10-21 14:27:15 +01:00
Tim W 4289c8b3ea Land #15441, add date filtering to stdapi_fs_search 2021-09-28 15:55:43 +01:00
Tim W f096102e1c add test case to search for an exact modified date 2021-09-24 18:58:39 +01:00
bwatters 07204dc99e Rubocop -A 2021-09-14 07:41:45 -05:00
bwatters 51c4c9bd4e Update file library and file test module to work correctly
- added file append
- changed powershell commands to script-style (they seem to work much better)
- cleaned out use of string literals for filenames in test module
2021-09-14 07:41:45 -05:00
Tim W 4228f071ca add tests for file.search 2021-09-09 19:32:18 +01:00
Spencer McIntyre 7f56fccafc Remove an extra spec in a function definition 2021-05-24 14:36:22 -04:00
Spencer McIntyre 50c013bcbb Add a compat req and fix railgun mixin references 2021-05-04 09:29:23 -04:00
Spencer McIntyre 7cf5879836 Add a meterpreter test for enumerating core commands 2021-02-19 15:51:39 -06:00
Jeffrey Martin dbce3982fd Land #14067, [GSoC] Module for CVE-2019-13375, and PostgreSQL support for the library 2021-02-14 12:11:09 -06:00
dwelch-r7 b816373b94 remove msf/ui requires 2021-01-18 14:21:54 +00:00
dwelch-r7 bad5ccbc49 Remove msf/base requires 2021-01-05 14:59:46 +00:00
Tim W cef120b0cd fix railgun file_version and add test 2020-12-11 15:08:19 +00:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
Niboucha Redouane 17c7c4fdbe Fix issues 2020-10-27 00:55:06 +01:00
Niboucha Redouane 3dd5c9af7a Add postgres sqli test module 2020-10-26 18:18:25 +01:00
Alan Foster 30809787c4 Convert disclosure dates to iso8601 2020-10-02 21:00:37 +01:00
Niboucha Redouane 95ce79b418 Add more options to the test module 2020-08-27 16:28:38 +02:00
Niboucha Redouane 4374edd37a add truncated SQLi in SQLite, and update test module to add it as an option 2020-08-27 16:28:38 +02:00
Niboucha Redouane 8f9a849591 fix test module, and fix logging 2020-08-27 16:28:38 +02:00
Niboucha Redouane 477f7313a2 Avoid repertitive code in blind injections 2020-08-27 16:28:38 +02:00
Niboucha Redouane 26e5fc99de add SQLite injection library, and test module (against sqlite_lab) 2020-08-27 16:28:38 +02:00
OJ ec2d1a886f Update modules to reference COMMAND IDs not strings 2020-06-09 11:38:14 +10:00
Tim W 78bd74eaec add a test for stderr output to the cmd_exec tests 2020-05-21 14:47:12 +08:00