Jeffrey Martin
abe55c8f91
raise RuntimeError on incomplete or extra data
2022-02-24 14:02:44 -06:00
Jeffrey Martin
cb388b0b4c
add SMTPDeliver spec
...
* define smtp_send_recv expectations
2022-02-14 18:48:27 -06:00
adfoster-r7
255f93827b
Fix broken cookiejar tests
2021-08-10 15:40:23 +01:00
A Galway
5e732ddd42
changes parse to take an origin and updates tests
2021-08-03 18:22:23 +01:00
A Galway
c7d4155511
add origin to httpcookie and supporting tests
2021-07-28 14:04:48 +01:00
William Vu
6196037fba
Update spec
2021-07-06 21:52:41 -05:00
A Galway
5e4af7241d
prevent TLD use in tests & remove HTTP::Cookie DI
2021-05-20 17:49:21 +01:00
adfoster-r7
0f73031833
Land #15165 , Add documentation for the new CookieJar functionality
2021-05-12 19:29:21 +01:00
A Galway
a22ebdf76d
cookie cleanup
2021-05-07 12:46:38 +01:00
Alan Foster
0be7452c28
Ensure cookie jars are correctly duped
2021-05-06 12:11:26 +01:00
A Galway
1b02344b55
consider vhost & expand tests
2021-04-20 15:12:54 +01:00
A Galway
5df0f0b164
improvements to tests and api
2021-04-19 15:13:42 +01:00
A Galway
88f17c5128
cleanup and removes cookies filtering
2021-04-16 17:31:11 +01:00
A Galway
fc55d74b80
http-client cookie jar support and tests
2021-04-16 12:24:21 +01:00
dwelch-r7
b95be3ed10
Zeitwerk rex folder
2021-02-08 12:24:12 +00:00
dwelch-r7
49a6b1b257
Remove requires that sneaked in while the PR was up
2020-12-07 11:02:10 +00:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Alan Foster
76e967353e
Add auxiliary support to autocheck mixin
2020-12-03 01:09:06 +00:00
Alan Foster
79a3328cd3
Validate that AutoCheck is prepended
2020-11-11 22:15:40 +00:00
William Vu
89f7be3ef0
Improve error message
2020-07-01 14:20:04 -05:00
William Vu
4b78de5416
Refactor AutoCheck a bit more
2020-06-30 11:58:42 -05:00
Alan Foster
b841246536
Update autocheck to use prepend instead of include, add ForceExploit functionality
2020-06-30 11:40:46 +01: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
jvazquez-r7
aca4c6a986
Change include_context on jmx specs
2015-12-10 21:47:22 -06:00
jvazquez-r7
085598f6d2
Use lets
2015-12-10 21:47:22 -06:00
jvazquez-r7
2beb42a734
Use msf_data attribute
2015-12-10 21:47:22 -06:00
jvazquez-r7
b61a7f43ef
Use Msf::StringIO context on registry_spec
2015-12-10 21:47:22 -06:00
jvazquez-r7
bc80bf7fdb
use Msf::StringIO on client_spec
2015-12-10 21:47:22 -06:00
jvazquez-r7
046a73b3b3
Use set_msf_data on connection_spec
2015-12-10 21:47:22 -06:00
jvazquez-r7
3d0fcdf84d
Add set_msf_data
2015-12-10 21:47:22 -06:00
jvazquez-r7
2041149d54
Use Msf::StringIO in connection_spec
2015-12-10 21:47:22 -06:00
jvazquez-r7
4872628ff5
Try to make it generic
2015-12-10 21:47:22 -06:00
jvazquez-r7
236c28b6fb
Add shared context
2015-12-10 21:47:22 -06:00
Luke Imhoff
c3e2615a23
Implement stub methods instead using allow which verifies
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
bde4f8bbe7
Fix allows in Exploit::Remote::Java::Rmi::Client::Jmx::Server spec
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
e3f2db8f09
Fix allows in Exploit::Remote::Java::Rmi::Client::Jmx::Connection
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
c754dca48b
fix allows in Exploit::Remote::JAva::Rmi::Client spec
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
61e1dc2363
Fix allows in FirefoxAddonGenerator spec
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
fbddd4cc47
Fix IO stubbing
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
6f71810010
it { should -> it { is_expected.to
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
a8f766ffbd
Fix unimplemented method allows
...
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
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
Louis Sato
9c347fbaae
Land #6195 , remove ff buildid from os.js
2015-11-05 15:01:15 -06:00
HD Moore
cd2e9d4232
Move Msf::Java to the normal Msf::Exploit::Remote namespace
2015-10-09 13:24:34 -07:00
Mo Sadek
fb051edc2e
Changed the rspec
2015-09-18 12:48:30 -05:00
wchen-r7
a7424c93a0
Update BES rspec
2015-07-12 01:26:43 -05:00
wchen-r7
eabf561a1f
Fix some BES rspec
2015-07-11 22:16:10 -05:00