Dave Farrow
ecada96585
#9108 : fixed unit test
2017-10-20 21:20:36 -07:00
William Vu
0723477b49
Fix nil bug in loot -a and nix hostless loot
...
Apparently you can't actually store hostless loot.
2017-09-29 16:16:16 -05:00
Brent Cook
79657f5b5b
remove silly spec
2017-06-24 16:00:46 -05:00
RageLtMan
42d1fae2e6
Upstream console search additions and fixes
...
The -S flag for console commands, backed by search functionality
in Rex' tables, originally pushed upstream in #1604 (iirc), lacks
coverage for a number of commands which benefit a good deal from
inline filtering of the potentially large number of results.
Push more -S flags and surrounding table functionality upstream
to provide coverage for the console commands included in framework.
Include a fix for deleting hosts when DB references are a problem.
Include a fix for the upstream route command wherein scope must be
defined for the routing target by assuming a /32 without explicit
definition.
Note:
With this in place, console behavior when filtering results is
roughly analagous to the R7 filtering in web UI, which should help
those of us trying to use both maintain corresponding workflows.
Testing:
Used in-house for years, though changes to the diff from upstream
and our fork (expunging some internal code) are untested, so would
appreciate eyes and hands on.
2017-06-16 20:28:51 -04:00
William Vu
7de2aa1a63
Update Nmap parser to handle masscan
...
masscan is missing <status>, meaning hosts aren't treated as alive.
Thanks to @jhart-r7 and @jlmurray for working on this previously.
2017-04-03 02:26:14 -05:00
darkbushido
1fcd20b7ef
adding a spec to show creating a core and login
2017-01-30 12:11:31 -06:00
darkbushido
c20cdc2943
cleaning up some of the specs
2017-01-30 10:43:28 -06:00
Brent Cook
ac2ceca5e3
Land #7804 , Switch the creds command to use named options
2017-01-22 10:49:19 -06:00
William Vu
77c78fa5f4
Move Rex::Text::Table workspace output to -v
2017-01-15 23:15:14 -06:00
William Vu
360ad26d9c
Fix spec because I suck
2017-01-15 04:00:33 -06:00
darkbushido
6bd2e03f37
dding realm tests showed a bug. its now squashed.
2017-01-09 13:04:34 -06:00
darkbushido
fe3885f88a
changing expect do end back to expect {}
2017-01-09 13:04:34 -06:00
darkbushido
30fe429ada
fixing more whitespace issues
...
converting double quotes to single
2017-01-09 13:04:34 -06:00
darkbushido
0c3760a843
adding more tests
...
rubocoping the file
2017-01-09 13:04:34 -06:00
darkbushido
3674b25885
fixing the tests, more need to be added
2017-01-09 13:04:34 -06:00
darkbushido
18c7fc5a85
moving the cred tests out of the db tests
2017-01-09 13:04:34 -06:00
David Maloney
5fd531028c
ome minor guards and spec fixes
...
some minor conditional guards and spec fixes
2017-01-03 14:38:51 -06:00
William Vu
a8f36c2a2c
Update spec
2016-12-20 23:32:28 -06:00
William Vu
4ad42784d3
Update spec
2016-12-12 14:24:24 -06:00
David Maloney
d85f9880ff
fix command dispatcher specs
2016-12-05 11:16:15 -06:00
Brian Patterson
4dcbd7c1ae
Add a nokogiri xml stream parser for Burp issue xml and rename original burp parser to burp session parser so both are supported.
2016-02-04 10:30:56 -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
Luke Imhoff
bb7c463c44
Remove operators after .to with matchers
...
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
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
Brent Cook
0b9e4b33ed
update spec to ignore -a
2015-10-01 14:11:29 -05:00
Jon Hart
779ece3096
Correct workspace unit tests
2015-08-28 12:19:42 -07: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
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
William Vu
c003602993
Remove report_store_local from the spec
2015-06-04 18:54:15 -05:00
HD Moore
c3f18aa899
Complete the #4989 revert
2015-04-27 16:26:34 -05:00
jvazquez-r7
57df5c4f4f
Solve conflics
2015-04-20 23:38:34 -05:00
jvazquez-r7
831e65261d
Add lengths specs
2015-04-20 17:37:41 -05:00
William Vu
88031c9a87
Update spec
2015-04-09 16:25:04 -05:00
sinn3r
01caf161f8
Fix syntax error in db_spec.rb
2015-03-23 01:35:26 -05:00
sinn3r
2e75d14d56
Update rspec
2015-03-23 00:53:55 -05:00
sinn3r
6c84081552
Update db_spec.rb
2015-03-19 18:12:37 -05:00
James Lee
9f4daa4e03
Add a couple more specs
2015-01-27 14:09:00 -06:00
James Lee
a2c7ebc2b1
Simplify logic
2015-01-27 09:05:11 -06:00
James Lee
5985f37fe8
Only need one origin
2015-01-27 09:02:30 -06:00
James Lee
ca44ae2109
Consistent commas
2015-01-27 08:41:24 -06:00
James Lee
eac7b11a87
Merge remote-tracking branch 'upstream/master' into bug/4634/blank-username
...
Conflicts:
lib/msf/ui/console/command_dispatcher/db.rb
spec/lib/msf/ui/console/command_dispatcher/db_spec.rb
2015-01-27 08:40:07 -06:00
Tod Beardsley
63c3832d7d
Also test for nonmatching passwords
2015-01-26 17:02:58 -06:00
Tod Beardsley
1410477fe9
Use the blank password/username variables
2015-01-26 17:00:45 -06:00