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
Brent Cook
11ea7ee5b9
update mocks for smb specs
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
bb7c463c44
Remove operators after .to with matchers
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
f31e578780
Add missing RSpec. before describe
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
2d8d876eaa
Fix allow errors in BrowserAutopwn2 specs
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
00ad6afd4f
Fix typo shoftname -> shortname
...
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
db42c9f760
Fix service double stubbing
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
3d64c52c9a
it { should_not -> it { is_expected.not_to
...
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
ba88de84ec
Fix mocking errors
...
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
05585acb89
.should_not -> expect().not_to
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
64a870aac0
Fix not implemented error by using double
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
d1f64363b1
.any_instance -> *_any_isntance_of()
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
0eb68ef16c
.should_not_receive -> expect().not_to receive
...
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
03c649bb91
should_receive -> 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
3fff6cabce
should_not == -> expect().not_to eq
...
MSP-13484
2015-12-10 21:47:22 -06:00
Luke Imhoff
2b02b9e081
shared_examples -> RSpec.shared_examples
...
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
wchen-r7
f2a33cb1ad
The word "should" is not needed.
2015-12-08 11:18:36 -06:00
Jon Hart
15eb135295
Resolve merge conflicts
2015-11-09 18:15:40 -08:00
dmohanty-r7
a71d7ae2ae
Land #6089 , @jvazquez-r7 Fix HTTP mixins namespaces
2015-11-05 16:56:41 -06:00
Louis Sato
9c347fbaae
Land #6195 , remove ff buildid from os.js
2015-11-05 15:01:15 -06:00
bigendian smalls
d53be873dc
Updating master to metasploit/master
2015-10-26 09:24:24 -05:00
jvazquez-r7
28ca34c40a
Fix conflicts
2015-10-16 15:38:59 -05:00
jvazquez-r7
773b523d27
Fix namespaces in specs
2015-10-15 11:54:36 -05:00
jvazquez-r7
1c4686eff0
Move specs folder
2015-10-15 11:50:10 -05:00
jvazquez-r7
8057b3edae
Fix specs to pass again
2015-10-15 09:40:39 -05:00
jvazquez-r7
fa9a33cae8
Move specs to the correct folder
2015-10-15 09:19:43 -05:00
HD Moore
cd2e9d4232
Move Msf::Java to the normal Msf::Exploit::Remote namespace
2015-10-09 13:24:34 -07:00
jvazquez-r7
5e9faad4dc
Revert "Merge branch using Rex sockets as IO"
...
This reverts commit c48246c91c
, reversing
changes made to 3cd9dc4fde
.
2015-10-09 14:09:12 -05:00
jvazquez-r7
3aa7b513d5
Delete safe_get_once
2015-10-09 13:34:38 -05:00
jvazquez-r7
3cd9dc4fde
Fix JMX Server specs
2015-10-09 12:17:44 -05:00
jvazquez-r7
62272e64ed
Fix RMI Registry specs
2015-10-09 12:16:59 -05:00
jvazquez-r7
12d2594095
Add StringIO stub to Msf::Java::Rmi::Client::Jmx::Connection
2015-10-09 12:00:35 -05:00
jvazquez-r7
3d1ec54f02
Stub has_read_data?
2015-10-09 11:36:24 -05:00
bigendian smalls
6549f48d4e
Added new class MainframeShell for mainframe(z/os)
...
This class is built upon and overrides certain methods in the generic
CommandShell class. Primarily it is here to control when and if bytes
sent to/from mainframe (z/os) targets get encoded/decoded from cp1047
(ebcdic<->ascii). This would be the default shell for upcoming
mainframe based payloads.
2015-10-08 17:11:31 -05:00
Brent Cook
0b9e4b33ed
update spec to ignore -a
2015-10-01 14:11:29 -05:00
Fernando Arias
393a71cf46
Merge branch 'master' of github.com:rapid7/metasploit-framework into bug/MSP-13119/rework-match-result-creation
...
Conflicts:
Gemfile.lock
2015-09-29 15:00:22 -05:00
Jon Hart
49bb3f2e3f
Complete tests for capture_sendto
2015-09-28 13:27:58 -07:00
Jon Hart
e1c3d3e277
Stub unit tests for capture_sendto. Unsure if these will be possible
2015-09-27 15:51:40 -07:00
Mo Sadek
fb051edc2e
Changed the rspec
2015-09-18 12:48:30 -05:00
Fernando Arias
c7f15ca940
Rework how match results get created
...
MSP-13119
* Create match result when we create vuln attempt
2015-09-14 12:18:47 -05: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
Brent Cook
70b5336356
Merge branch 'upstream-master' into land-5890-android-post-api
2015-09-03 09:51:35 -05:00
Jon Hart
779ece3096
Correct workspace unit tests
2015-08-28 12:19:42 -07: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
Jon Hart
52a11cc383
Use correct calls to cmd_workspace
2015-08-28 11:03:47 -07:00
Jon Hart
fc7a93ac30
Fix syntax and style
2015-08-28 10:51:57 -07:00
Jon Hart
aaa8b2c907
Add rspec coverage for the rest of workspace while here
2015-08-28 10:47:51 -07:00
Jon Hart
3f7c8e03e2
Update workspace command to support deleting all workspaces
2015-08-28 10:23:41 -07: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
jvazquez-r7
83ca4e984f
Land #5772 , @wchen-r7's fixes #5753 , support Origin for the creds command
2015-08-21 16:07:45 -05:00
jvazquez-r7
0a7ac2d758
Delete another debug puts
2015-08-17 15:28:48 -05:00
jvazquez-r7
09c888bc49
Fix minor things
2015-08-17 15:27:26 -05:00
James Lee
c52da9f50d
Add regression spec for #5856
2015-08-17 14:32:20 -05:00
wchen-r7
25dde141d6
fix rspec
2015-07-24 15:24:18 -05:00
wchen-r7
0929b54cd3
Update spec for notes help menu
2015-07-16 00:43:08 -05:00
jvazquez-r7
886ca47dfb
Land #5650 , @wchen-r7's browser autopwn 2
2015-07-15 10:21:44 -05:00
wchen-r7
4f8f640189
Rename autopwnv2 to just autopwn2
2015-07-14 17:38:51 -05:00
wchen-r7
2276e355aa
Fix a typo
2015-07-14 10:51:15 -05:00
wchen-r7
88a00b1ed8
We don't use MessagePack anymore
2015-07-12 14:45:46 -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
wchen-r7
5a858d68a5
Add rspec for browser_profile_manager
2015-07-11 21:11:31 -05:00
wchen-r7
b2d723e4a3
Rspec
2015-07-11 19:13:20 -05:00
wchen-r7
b1208e1337
Pending rspec
2015-07-11 00:16:48 -05:00
Brent Cook
8349a274ea
use and include git hash of Framework as part of the version
...
Because we do not always update the version number, multiple releases have
shown version string, which is not useful for helping debug issues, or for
knowing what features are enabled.
This adds the git hash or reads from a file a copy of the git hash (useful for
doing packaged builds without git) so that it is clear the origin of a
particular metasploit-framework version.
2015-07-10 18:03:37 -05:00
wchen-r7
c8c3e1a258
Fix rspec
2015-07-10 13:42:25 -05:00
wchen-r7
fdb715c9dd
Merge branch 'upstream-master' into bapv2
2015-07-07 13:45:39 -05:00
wchen-r7
6d30dfd93e
Remove the parts that are not broken for BES spec
2015-07-06 23:28:52 -05:00
wchen-r7
a9eeae56cb
Remove the broken parts in browser_autopwnv2_spec
2015-07-06 22:24:32 -05:00
Brent Cook
653c4808b2
update framework version spec
2015-07-06 10:42:48 -05:00
HD Moore
b9a8308138
Replace BAP profiles with a framework-instance hash
2015-07-02 12:53:24 -05:00
wchen-r7
88e58cbdc5
Better performance
2015-06-27 12:19:07 -05:00
wchen-r7
5fa864b097
done with rspec
2015-06-17 16:23:39 -05:00
wchen-r7
b1f68556f9
More testcases
2015-06-17 02:52:59 -05:00
wchen-r7
089579e354
This is how much rspec I have so far for browser_autopwnv2_spec.rb
2015-06-16 23:04:12 -05:00
wchen-r7
ed69e5f902
Redo BES rspec
2015-06-09 23:45:41 -05:00
wchen-r7
6eb25743e3
Merge branch 'upstream-master' into bapv2
2015-06-09 10:10:00 -05:00
wchen-r7
1fe2361e12
Add rspec for BrowserProfileManager
2015-06-09 02:23:27 -05:00