Commit Graph

239 Commits

Author SHA1 Message Date
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00: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
bwatters-r7 299865bdeb * Clean up cmd_exec test module's dead code and add support for
inconsistent windows platform type.
* Add extra front chomp to shell_command response string because
there's a leading newline there.. for some reason?
2019-10-17 13:30:43 -05:00
Jeffrey Martin e98e69fb80 add automation tests for bluekeep server targets 2019-06-19 13:54:14 -05:00
Jacob Robles af1afca1e3 Land #11940, Add files to test that may not be open 2019-06-05 15:03:33 -05:00
bwatters-r7 cd182e2014 Land #11938, fix cmd_exec tests on python/windows
Merge branch 'land-11938' into upstream-master
2019-06-04 08:01:49 -05:00
bwatters-r7 e425547398 Add some files to the test that are not likely to be open 2019-06-03 08:25:46 -05:00
Tim W cd460aa2cb fix cmd_exec tests on python/windows 2019-06-03 03:47:52 +08:00
Brent Cook 53557cc92e replace trivial usage of expand_path with getenv
expand_path is not implemented consistently across platforms and
sessions, which leads to confusing behavior. In places where we have trivial
single variable expansions, this changes modules and library code to just use
getenv.

We'll look at the rest individually to see if they can also be reimplemented in
terms of getenv.
2019-05-31 17:44:35 -05:00
Brent Cook 625f383ade blank 2019-05-02 10:01:21 -05:00
Brent Cook ad1190b5c1 check for platform-specific env. variables
'USERNAME' is not a standard environment variable outside of Windows,
which leads to this test failing on non-Windows Meterpreter platforms.
2019-05-02 09:55:58 -05:00
Tim W 488104fbde fix loadpath test/modules 2018-11-20 14:29:36 +08:00
Jeffrey Martin 1e60a72028 add automation test for smb_ms17_010 scanner module 2018-08-17 16:31:06 -05:00
Jacob Robles 2856c46199 Update test cases 2018-06-28 18:26:54 -05:00
Jacob Robles dfbc72dfbc Update tests 2018-06-25 15:06:23 -05:00
bwatters-r7 7e34f27004 Land #9246, Support RHOSTS for exploit modules 2018-05-16 14:40:25 -05:00
Brent Cook 60bed4bd1b tidy tests, add ms17_010_psexec 2018-05-08 17:44:08 -05:00
Brent Cook 0c391c4003 reduce sleeps for a test we're running on every PR 2018-05-07 06:55:02 -05:00
Brent Cook ad78ee347b run json files through 'python -m json.tool' 2018-05-07 00:29:23 -05:00
Brent Cook 4de2dc5f8c don't disable smbv1 just yet 2018-05-07 00:24:38 -05:00
dmohanty-r7 7fa001ba50 Add tests for test lab 2018-05-07 00:24:38 -05:00
Jeffrey Martin cacb9af731 update test for CPE abstraction 2018-03-13 16:13:04 -05:00
Brent Cook a9f340a7a7 remove run_range, nothing in MSF uses it (we don't care about Pro here) 2018-03-12 17:07:48 -05:00
bwatters-r7 ccbc7fcefe Land #9606, Add some tests for cmd_exec
Merge branch 'for-the-windows' into upstream-master
2018-03-06 15:13:07 -06:00
bwatters-r7 43bc159022 Fix if/end 2018-03-06 15:01:15 -06:00
bwatters-r7 4694ef6723 Make Rubocop less angy 2018-03-06 14:54:00 -06:00
bwatters-r7 b13a54ba2b clean up some code and skip non-windows tests 2018-03-06 10:10:53 -06:00
bwatters-r7 6c177b7c3b Add windows checks 2018-03-06 12:14:33 +07:00
Jeffrey Martin bb0d5ba8da decouple hosts and targets for tests 2018-02-25 17:10:22 -06:00
Tim W bfec2e8293 add more cmd_exec tests 2018-02-22 17:14:56 +08:00
Tim W 78309f30cd add test for cmd_exec 2018-02-22 16:41:37 +08:00
Jeffrey Martin cf4d9130a9 add initial module automation tests 2017-12-05 11:19:24 -06:00
Brent Cook 6300758c46 use https for metaploit.com links 2017-07-24 06:26:21 -07:00
Spencer McIntyre f7c133cdf7 Add OSX support to railgun 2017-06-19 11:11:55 -04:00
Spencer McIntyre a3bcd20b26 Minor cleanups for multi-platform railgun 2017-04-25 17:45:07 -04:00
Spencer McIntyre 3347af24ba Add some basic libc definitions for railgun 2017-04-25 15:12:39 -04:00
Spencer McIntyre d3a759d631 Make changes for initial linux railgun support 2017-04-24 17:11:27 -04:00
Spencer McIntyre 2d51801b01 Use native_arch for railfun multi and test it 2017-03-01 13:07:04 -05:00
bwatters-r7 941f87fa83 Added the option to incude entropy in file/directory names to support
automated testing
2017-02-25 05:20:25 -06:00
Spencer McIntyre 7d1fadb84f Add a test module for railgun api calls 2017-02-18 17:37:49 -05:00
Brent Cook f69b4a330e handle Ruby 2.4 Fixnum/Bignum -> Integer deprecations 2017-01-22 10:20:03 -06:00
Tim 090dac6d24 make the stdapi_fs_file_move test unconditional 2016-11-29 14:37:19 +08:00
Tim 94a15920ec add test for file copy 2016-11-29 14:36:03 +08:00