h00die
ec8ee2814a
fix spelling in spec folder
2024-01-07 13:42:50 -05:00
Ashley Donaldson
8b91d729c4
Update tests
2023-06-16 11:29:31 +10:00
Ashley Donaldson
381d291da9
Use revision in MSF modules
2023-06-16 10:07:35 +10:00
Ashley Donaldson
ddbd24554d
Take into account Windows 10 revision number
2023-06-16 06:50:39 +10:00
Ashley Donaldson
4b1158d5f1
Use existing shell registry logic
2023-05-31 11:24:33 +10:00
Ashley Donaldson
778a2c47b7
Updated unit tests to use registry
2023-05-31 08:09:54 +10:00
Ashley Donaldson
75ba9110e2
Added module for Windows version comparisons
...
Utilised it in various existing modules - this should fix some subtle bugs in specific modules' version detection.
2023-05-25 14:36:46 +10:00
h00die
7ec7cdfb97
fix vcenter spec error
2022-12-01 16:43:58 -05:00
h00die
40f97995f8
review comment
2022-11-19 10:37:36 -05:00
h00die
f12c660652
review comments
2022-11-19 10:37:36 -05:00
h00die
dff9b35d56
add database stuff to vcenter post module
2022-11-19 10:37:36 -05:00
adfoster-r7
ffa68e2bdf
Fix broken file writes on windows when newlines are present
2022-10-28 16:45:49 +01:00
h00die
781ce211fe
remove un-needed spec tests
2022-09-30 16:55:49 -04:00
h00die
df35cb2040
ipv4 checking in vcenter
2022-08-14 16:48:38 -04:00
npm-cesium137-io
ed3a0959ae
vcenter post lib and spec
2022-08-06 14:01:56 -04:00
Christophe De La Fuente
8e32beeeef
Update specs
2022-06-30 11:11:11 +02:00
Christophe De La Fuente
19f73b7bbe
Fix specs (again)
2022-05-19 15:34:42 +02:00
Christophe De La Fuente
fec3fbc180
Fix specs
2022-05-19 15:27:13 +02:00
Christophe De La Fuente
624fc7a1d2
Fix specs
2022-05-18 17:07:30 +02:00
Christophe De La Fuente
7c9c0018bc
Add specs for the TaskScheduler mixin
2022-05-18 15:50:39 +02:00
Christophe De La Fuente
ae2e4d723b
Add NTDS technique
2022-01-03 21:39:33 +01:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Christophe De La Fuente
24d002b9e0
Fix Msf::Post::Windows::Priv#decrypt_secret_data
...
Fix the size caclculation of the decrypted data
2020-08-13 17:47:50 +02:00
Tod Beardsley
1deacad2be
Add a print_bad alias for print_error
...
Came up on Twitter, where Justin may have been trolling a little:
https://twitter.com/jstnkndy/status/798671298302017536
We have a `print_good` method, but not a `print_bad`, which seems a
little weird for Ruby -- opposite methods should be intuitive as Justin
is implying.
Anyway, I went with alias_method, thanks to the compelling argument at
https://github.com/bbatsov/ruby-style-guide#alias-method
...since Metasploit is all about the singleton, and didn't want to risk
some unexpected scoping thing.
Also dang, we define the `print_` methods like fifty billion times!
Really should fix that some day.
2016-11-15 19:20:42 -06:00
David Maloney
c6656e4031
example_group and hook_scope conversions
...
not strictly required, these conversions keep us
up to date with latest rspec conventions and best practices
which will prevent use from having to convert them when they become
deprecated later
2015-12-31 16:56:13 -06:00
Brent Cook
fb578e9063
use explicit exceptions for raise_error
2015-12-10 21:47:22 -06:00
Greg Mikeska
9a59671330
switch expect to allow on runas_spec cases
2015-12-10 21:47:22 -06:00
Greg Mikeska
5b568f2e4b
added missing expectation wrapper
2015-12-10 21:47:22 -06:00
Greg Mikeska
1521fd0a95
remove unnecessary message chain call
2015-12-10 21:47:22 -06:00
Greg Mikeska
b84bd0327d
fix MSSQL test stubs
2015-12-10 21:47:22 -06:00
Greg Mikeska
69bb683d0a
fix typo in runas spec and change some more expects to allow
2015-12-10 21:47:22 -06:00
Luke Imhoff
ba88de84ec
Fix mocking errors
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
4cec58d78c
.stub_chain -> expect().to receive_message_chain
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
4870909afc
.should -> expect().to
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
2534b18f4c
.stub -> expect().to receive
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
6f29e9a4cf
.should == -> expect().to eq
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
d6bf0fd781
decribe -> RSpec.describe
...
MSP-13484
Disabled expose_dsl_globally in spec_helper, so need to qualify
top-level describe.
2015-12-10 21:47:22 -06:00
jvazquez-r7
eaf51a2113
Land #5722 , @vallejocc's busybox work
2015-09-04 13:36:44 -05:00
jvazquez-r7
05e1a69fe5
Add specs for prepend
2015-09-04 11:14:53 -05:00
jvazquez-r7
06712817cf
Fix specs
2015-08-28 14:06:04 -05:00
jvazquez-r7
54243d411e
Change spec file name
2015-08-28 13:28:34 -05:00
wchen-r7
ad3e37fda2
Fix rspec
2015-08-26 02:38:13 -05:00
wchen-r7
3f994e964d
Change method name and update rspec
2015-08-25 23:23:26 -05:00
wchen-r7
3412f31f85
Add Android POST API
2015-08-24 18:37:25 -05:00
jvicente
b37efd29b0
Modified module busybox_pingnet.rb to avoid sending an ash script but executing each ping command separately. Added some fixes. Modified spec file for busybox.rb.
2015-08-23 12:17:17 +02:00
Meatballs
9eca3a0ab5
Impersonation spec
2015-03-29 00:52:27 +00:00
Meatballs
10029eedb9
Add command specs
2015-03-29 00:05:44 +00:00
Meatballs
f7e3abf760
sqlcmd specs and fixes
2015-03-28 23:23:00 +00:00
Meatballs
3b651aecdc
Specs for sqlserver check and fixes
2015-03-28 22:59:00 +00:00
Meatballs
a5d589ef55
Railgun calls should return a hash
2015-03-19 00:05:02 +00:00