Brent Cook
e6ea5511ca
update linux and windows meterpreters to use metasploit-payloads
2015-05-04 09:44:36 -05:00
James Lee
cd5699dc39
Sort cases and add specs
2015-03-08 23:27:32 -05:00
Brent Cook
125cc27f7a
updated expected exception from a bad module load
2014-12-30 10:57:37 -06:00
jvazquez-r7
b37e1a5421
Solve conflicts
2014-08-26 17:51:37 -05:00
Joshua Smith
1fa26e2afb
cleans up a bunch of spec msftidy issues
2014-08-26 15:24:08 -05:00
jvazquez-r7
042b8a3672
Switch from pending to skip in specs
2014-08-26 15:17:00 -05:00
jvazquez-r7
60ecf4e8c4
Use be_truthy instead of be_true
2014-08-25 23:58:08 -05:00
sinn3r
4fb58202fa
Land #3529 - Handle Rex::AddressInUse exception
2014-07-16 13:57:41 -05:00
jvazquez-r7
4098979448
Add spec
2014-07-15 13:06:53 -05:00
Tod Beardsley
8b63d3d467
Revert the revert of #3446
...
This reverts commit 9b35b0e13a
.
This should not land on master until the Metasploit Pro folks (@trosen-r7
and friends) get their Meterpreter path specifications working the
same way as Framework's does.
2014-06-29 17:22:21 -05:00
Chris Doughty
9b35b0e13a
Revert "Land #3446 -- Meterpreter bins gem switch" due to build failures
...
This reverts commit bba8bd3498
, reversing
changes made to 002234993f
.
2014-06-25 13:24:07 -05:00
Tod Beardsley
c71eb1aa4e
Add specs for changed object UI
2014-06-22 13:05:17 -05:00
Tod Beardsley
53d0aba305
Add some specs for changed object Priv
2014-06-22 12:54:10 -05:00
Tod Beardsley
f90e8f00e5
Add the first few specs
...
Coverage for meterpreter and client core, just the bits I'm changing. I
intend to make liberal use of doubles, since they're easier than mocks
and all I care about is the changed behavior. I refuse to fall into a
trap where I need to first spec out aaaaaalllll of Metepreter just to
make this one change.
2014-06-20 13:18:55 -05:00
James Lee
5955397882
Use a more descriptive subject
...
Also removes the unnecessary (and now broken in 2.0) checks for
respond_to? on accessors.
2013-06-07 13:27:40 -05:00
James Lee
0f2ea755c5
Add encoding comment to spec files for 2.0 compat
2013-06-07 13:27:39 -05:00
James Lee
1ec6884bfa
Use before(:each) instead of :all
...
Fixes deprecation warnings in newer rspec like these
WARNING: subject accessed in a `before(:all)` hook at:
/metasploit-framework/spec/lib/rex/post/meterpreter/packet_spec.rb:455:in `block (3 levels) in <top (required)>'
This is deprecated behavior that will not be supported in RSpec 3.
Also switches to using named subjects for easier reading.
2013-04-25 10:28:30 -05:00
Tod Beardsley
f6478678ce
trailing whitespace
2012-12-27 23:08:50 -06:00
David Maloney
ee6db8794e
Basic specs for meterpreter packet parser
2012-12-27 17:19:37 -06:00
David Maloney
74e543ec5a
add spec skeleton for packet parser
2012-12-27 14:23:05 -06:00
David Maloney
aaa8716f5b
minor cleanup as per egypt
2012-12-12 10:12:42 -06:00
David Maloney
c952ed0f87
Add test for raw format of packets
2012-12-07 12:51:53 -06:00
David Maloney
b707f8d13a
Packet specs now complete
...
82 tests for the packet lib
2012-12-07 12:32:34 -06:00
David Maloney
89c98ebd39
Finished tests for GroupTlv ftmp
2012-12-06 17:59:07 -06:00
David Maloney
468f637efe
basics for adding tlvs to GroupTlv
2012-12-05 18:19:12 -06:00
David Maloney
5dcf573063
TLV tests down, on to GroupTlv
2012-12-05 17:55:28 -06:00
David Maloney
391ff5bbb0
basic TLV method tests
2012-12-05 15:44:03 -06:00
David Maloney
b18f5b1875
Start with the duh stuff, responds_to
2012-12-05 14:39:29 -06:00