Kevin Kirsche
2e75f46d34
Fix failing argument for password based spec test
2018-08-13 22:30:01 -04:00
Kevin Kirsche
3783347d73
Fix failing argument spec test
2018-08-13 22:20:23 -04:00
Jeffrey Martin
2bea3fdb48
verify sizes for ipv6 when payload is ipv6
2018-08-11 10:31:31 -05:00
Wei Chen
76a7a8688a
Fix rspec due to missing __attribute__
2018-08-01 10:45:33 -05:00
Wei Chen
625ea87ea9
Land #10368 , PhpMyAdmin Login Scanner Module
2018-07-24 23:25:27 -05:00
Wei Chen
5e427ba2bb
Fix rspec for fake_function_collection_spec.rb
2018-07-24 17:08:14 -05:00
Shelby Pace
4f81fcdc87
retn versions in chk_setup, tests to reflect, doc
2018-07-24 14:51:00 -05:00
Shelby Pace
e58b2809d4
added tests for all methods
2018-07-24 09:39:56 -05:00
James Barnett
e3da0a6828
Merge branch 'master' into remote_creds_data
2018-07-23 16:39:13 -05:00
Wei Chen
dc43cc78b0
Land #10341 , Add check method Boolean to module cache and info and search commands
2018-07-23 14:45:28 -05:00
Shelby Pace
29277d9c03
added tests for check_setup and get_session_info
2018-07-23 11:27:03 -05:00
Shelby Pace
1473bbd492
created test file for login scanner
2018-07-22 23:37:36 -05:00
James Barnett
65d42380d3
Merge branch 'master' into remote_creds_data
2018-07-19 16:25:06 -05:00
asoto-r7
e9a2a1cdae
Land #10307 , Add missing CVE check to msftidy
2018-07-18 18:09:20 -05:00
William Vu
74b74b89d1
Fix spec for modules not defining check
...
It's no longer necessary, and we handle this and return the right thing.
2018-07-18 17:39:38 -05:00
Wei Chen
6d3db92fb2
Fix fake_function_collection_spec
2018-07-18 10:23:21 -05:00
William Vu
1f887b3e19
Fix spec to check retval instead of stdout
...
stdout check is fine for untidy module, since it needs messages.
2018-07-17 18:20:09 -05:00
Wei Chen
faf3adaee2
Update
2018-07-12 10:11:45 -05:00
James Barnett
b8ae4f5d12
Update rspec tests for creds and add stubs
2018-07-11 17:42:55 -05:00
Wei Chen
fd59df83ca
Fix rspec
2018-07-09 15:33:45 -05:00
Wei Chen
9d9dee737b
Fix rspec
2018-07-06 14:07:10 -05:00
Wei Chen
2beaabb11a
Add dep for GetTickCount
2018-06-29 10:22:07 -05:00
Wei Chen
711d859d13
Update utility_spec
2018-06-29 01:42:22 -05:00
Wei Chen
46219303e2
Add uninit_variables_spec
2018-06-28 21:24:35 -05:00
Wei Chen
52047a6c59
Add switch_spec
2018-06-28 21:21:54 -05:00
Wei Chen
0d55412e80
add string_assignments_spec
2018-06-28 21:15:30 -05:00
Wei Chen
066843bb6c
Add printf_spec
2018-06-28 21:12:34 -05:00
Wei Chen
39bbfb0c58
Update outputdebugstring rspec
2018-06-28 21:10:26 -05:00
Wei Chen
5c86b836c4
Add rspec for outputdebugstring and correct a few things
2018-06-28 21:08:15 -05:00
Wei Chen
03c3e08167
Add malloc_spec and fix int_assignments_spec
2018-06-28 21:03:27 -05:00
Wei Chen
e733e3b62c
Add rpsec int_assignments_spec
2018-06-28 20:59:56 -05:00
Wei Chen
87d0bf1dc4
Add rspec for if_spec
2018-06-28 20:57:35 -05:00
Wei Chen
5631e6f89c
Update rspec for RandomStatements
2018-06-28 16:52:12 -05:00
Wei Chen
93fca248d6
Add rspec for gettickcount
2018-06-28 16:51:57 -05:00
Wei Chen
8be771f72f
Complete base_spec.rb
2018-06-28 14:47:28 -05:00
Wei Chen
bc6427e527
Add rspec for CodeFactory::Base (WIP)
2018-06-28 02:20:02 -05:00
Wei Chen
cec506421d
Add rspec fake_function_collection and update the lib
2018-06-27 18:18:05 -05:00
Wei Chen
ad106ffc0d
Add rspec for fake_function_spec.rb
2018-06-27 17:45:19 -05:00
Wei Chen
56f38f7720
Add some rspec for modifier
2018-06-27 17:30:21 -05:00
Wei Chen
d653115f16
Add parser_spec.rb
2018-06-27 17:18:35 -05:00
Wei Chen
ede98ff8db
Update random_statements_spec
2018-06-27 17:10:35 -05:00
Jeffrey Martin
a9a7197c4a
add missing paylaods
2018-06-27 17:00:09 -05:00
Wei Chen
a9427ef9ef
Add rspec for RandomStatements class
2018-06-27 16:50:09 -05:00
Wei Chen
bc0b42c55b
Add utility_spec.rb
2018-06-27 13:49:45 -05:00
Wei Chen
752192bfad
Starting rspec
2018-06-27 00:13:56 -05:00
Spencer McIntyre
da2666581b
Alter the socks5 bind request handling
2018-05-26 19:51:14 -04:00
Spencer McIntyre
c85cc9ad9e
Refactor SOCKS5 TcpRelay and add packet tests
2018-05-26 13:46:00 -04:00
James Barnett
0472b9df3f
Land #10024 , Fix find_or_create_* methods for remote data service
...
This PR updates the find_or_create_* methods associated with each model to
no longer just proxy to the report_* model. It now performs a lookup through
the DataProxy and returns the found object if it exists, or creates a new
record if needed.
2018-05-22 17:08:46 -05:00
Brent Cook
da07113194
Land #10007 , add C interface for building Windows shell code (metasm-backed)
2018-05-16 22:58:32 -05:00
bwatters-r7
7e34f27004
Land #9246 , Support RHOSTS for exploit modules
2018-05-16 14:40:25 -05:00
Matthew Kienow
7e145a09de
Fix spec tests to match existing methods
2018-05-14 17:43:24 -04:00
Wei Chen
53938422c9
Add rspec for Metasploit::Framework::Compiler::Utils
2018-05-11 14:03:46 -05:00
Wei Chen
6cd59faa69
Namespace update
2018-05-11 10:27:54 -05:00
Wei Chen
76865732c8
Namespace update
2018-05-11 10:26:59 -05:00
Wei Chen
82c8138de0
Update naming and license
2018-05-11 10:08:16 -05:00
Wei Chen
2a7d0ddfd1
Add rspec
2018-05-10 22:45:36 -05:00
Matthew Kienow
70be536b36
Land #9939 , add remote data service rspec support
2018-05-07 18:07:02 -04:00
Brent Cook
3b8093f8c7
remove unused tests
2018-05-07 10:17:05 -05:00
christopher lee
94de5a4e42
Add skip message, add event test
2018-05-03 14:20:32 -05:00
christopher lee
a7ec7b52b7
Fix error on data server due to unexpected report_exploit call
2018-05-02 14:59:02 -05:00
christopher lee
9c7db375bf
Fix broken tests after latest merge with master
2018-04-26 16:39:56 -05:00
christopher lee
516b61ebaa
Merged master
2018-04-26 16:02:56 -05:00
christopher lee
e97693d056
Cleanup
2018-04-26 16:01:15 -05:00
christopher lee
195b405d69
First pass at all test working, added travis ci build
2018-04-26 15:12:53 -05:00
Jeffrey Martin
2487314821
Land #9869 , Add support for shellcode encryption for msfvenom
2018-04-25 15:51:05 -05:00
christopher lee
071a191055
Merge master + workspace removal from http remote data service
2018-04-25 13:39:46 -05:00
James Barnett
e141a99f08
Update workspace add test with new output
2018-04-20 13:19:28 -05:00
Wei Chen
4dd9d32d62
Fix rspec
2018-04-17 20:32:29 -05:00
Wei Chen
ff9c55207e
Move crypto methods to Rex::Crypto namespace
2018-04-17 20:12:26 -05:00
James Barnett
68ad91763a
Merge branch 'rapid7/master' into MS-3062_workspaces
2018-04-16 15:33:59 -05:00
James Barnett
2ef451c349
Land #9873 , add notes functionality to remote datastore
...
This PR enables create, update, and delete functionality for the notes
command and data model when using a remote data service.
2018-04-16 15:03:27 -05:00
Matthew Kienow
4e49b99783
Add cmd notes option to sort by column number
2018-04-12 15:56:42 -04:00
Wei Chen
ee9f49fa39
Fix a typo
2018-04-12 14:45:54 -05:00
Matthew Kienow
5b2bbe7432
Update test for removed make_sortable method
2018-04-12 15:23:35 -04:00
Wei Chen
4e55724f3f
Fix a typo and rspec for payload generator
2018-04-12 14:10:26 -05:00
Matthew Kienow
518d672ad5
Update cmd_notes help message test
2018-04-11 18:09:48 -04:00
Adam Cammack
f1d426d257
Land #9833 , Remove broken feature detection
2018-04-11 15:02:53 -05:00
James Barnett
cd48b47760
Fix failing tests.
...
-Was accidentally deleting opts[:workspace] instead of processing
-Update notes help text expectations
2018-04-10 17:10:32 -05:00
James Barnett
e51f41fa34
Merge remote-tracking branch 'msf_jbarnett/fix_services_bugs' into MS-3062_workspaces
2018-04-10 13:35:33 -05:00
James Barnett
f8cbb9d7c0
Update test
2018-04-10 13:14:16 -05:00
James Barnett
90542779ff
Audit models to ensure :workspace is passed only when needed
2018-04-09 14:50:37 -05:00
Brent Cook
df6de5b1c3
remove self-evident rspec
2018-04-07 13:00:19 -05:00
James Barnett
fe224f628b
Remove update_host_via_sysinfo since it is unused
2018-04-05 14:20:25 -05:00
Brent Cook
226ef160ff
Land #9748 , Convert the smbloris DoS into an external module
...
Help reliability and performance. This some Ruby-specific external module
tooling as a result as well.
2018-04-02 23:25:10 -05:00
christopher lee
3aed6d6666
Initial
2018-04-02 08:08:23 -05:00
James Barnett
7d58b0a5f4
Merge branch 'goliath' into MS-3062_workspaces
2018-03-30 16:35:26 -05:00
Brent Cook
b134a33877
Merge branch 'master' into land-9740
2018-03-27 11:59:55 -05:00
christopher lee
abf16a4469
fix workspace tests
2018-03-27 10:41:08 -05:00
Adam Cammack
c28fe65d98
Exclude Ruby external modules from rspec
...
The sum of the testing code and loading code assumptions was that all
files with the same extension in the same folder were all loadable with
the same loader. This is no longer the case, and until we are ready to
test the load-ability of external modules we can safely ignore them.
2018-03-23 16:44:58 -05:00
James Barnett
6b3a4a56dc
Merge branch 'rapid7/master' into goliath
2018-03-23 11:26:31 -05:00
Christian Mehlmauer
7d873ea7ab
replace factory_girls with factory_bot fixes #9736
2018-03-21 23:21:37 +01:00
Matthew Kienow
553789557b
Merge branch 'goliath' into MS-2910-remote-vuln-read-update-delete
2018-03-21 01:45:58 -04:00
Matthew Kienow
ced6707ba6
Fix cmd vulns and DBManager Session spec
2018-03-20 15:25:09 -04:00
Jeffrey Martin
4801021aba
Land #9613 , add bind_named_pipe x86
2018-03-17 15:53:06 -05:00
James Barnett
45a6b244a7
Fix services spec
2018-03-16 17:10:02 -05:00
christopher lee
4d04319d2a
Merged master
2018-03-15 11:31:44 -05:00
Brent Cook
3f9b124752
update spec
2018-03-12 15:46:03 -05:00
Jeffrey Martin
eac7cc63fc
add missing payload tests
2018-03-04 17:54:52 -06:00
UserExistsError
35b66d0e60
added payload tests
2018-02-27 19:24:51 -07:00
James Barnett
3005a8b7ce
Merge branch 'rapid7/master' into goliath
2018-02-21 11:16:05 -06:00