Dean Welch
689caf4bd1
Add upload/download/delete/mkdir/rmdir to smb session
2024-03-12 11:56:29 +00:00
sjanusz-r7
6b11cd4332
Fix tests broken by updating SQL prompt on DB change
2024-03-01 11:27:52 +00:00
sjanusz-r7
b423241e6b
Use Rex Post MySQL Client for lib, specs & modules
2024-02-28 18:19:50 +00:00
sjanusz-r7
1b7c2bbaec
SQL sessions consolidation
2024-02-21 16:16:14 +00:00
sjanusz-r7
200d03c417
Expose MSSQL initial connection info in client
2024-02-20 11:36:10 +00:00
sjanusz-r7
64ab62f2c3
Use database_name for SQL sessions
2024-02-17 03:31:58 +00:00
Dean Welch
43eb2a7c9b
be more specific with mssql mock
2024-02-12 16:12:37 +00:00
Dean Welch
f9fb803af7
fix misnamed shared example and missing mssql mocks
2024-02-12 12:30:49 +00:00
Zach Goldman
2c60780dc0
Add MSSQL session Type
2024-02-09 07:27:01 -06:00
cgranleese-r7
0e9cad6d45
Adds MySQL session type
2024-02-02 14:39:37 +00:00
adfoster-r7
4784afae6a
Land #18741 , add ntpath tests
2024-01-24 12:48:47 +00:00
Dean Welch
3a076d6cdb
Verify ntpath works as expected
2024-01-24 12:01:09 +00:00
Dean Welch
f2a1d16fbc
Verify ntpath works as expected
2024-01-24 11:59:31 +00:00
sjanusz-r7
73dbe2e89d
Add PostgreSQL multi-line query transform tests
2024-01-23 17:03:16 +00:00
sjanusz-r7
5d7251ce44
Add PostgreSQL session type tests
2024-01-19 10:29:44 +00:00
h00die
ec8ee2814a
fix spelling in spec folder
2024-01-07 13:42:50 -05:00
Dean Welch
cd8cc75cf3
Add smb session type
2023-12-04 17:55:11 +00:00
Dean Welch
ea41ec7a5d
Fix tests leaving behind threads
2023-11-07 17:43:43 +00:00
Dean Welch
c7e0e094fa
Add core session commands and test suite
2023-11-06 16:34:37 +00:00
dwelch-r7
be7510dba3
Additional mocking
2022-04-13 15:46:18 +01:00
sjanusz
ae704eb067
Add support for multiple tlv types when logging
2022-03-04 16:20:20 +00:00
alanfoster
ae3efa0589
Add command name to Meterpreter packet inspect
2021-10-21 02:08:39 +01:00
dwelch-r7
b95be3ed10
Zeitwerk rex folder
2021-02-08 12:24:12 +00:00
OJ
c08e86434b
Fix more specs
2020-06-09 08:58:27 +10:00
OJ
616fdaeb60
Fix up packe spec tests
2020-06-09 08:58:27 +10:00
Pearce Barry
48975a4327
Support multiple suffixes on meterpreter extensions.
2017-10-31 10:04:34 -05:00
Brent Cook
22e245ac99
call from_r before checking packet output
2017-08-21 03:44:13 -05:00
Brent Cook
2a1daa6ffc
prefer create_request, use StringIO over custom slice operators
2017-08-21 03:23:06 -05:00
OJ
4f054d25fc
Fix packet spec problems
2017-07-03 18:12:38 +10:00
OJ
a48f0fcec6
Remove references to Meterpreter CRYPTO TLVs
...
This feature wasn't supported, and so the TLVs are no longer needed.
2017-06-19 16:53:33 +10:00
Brent Cook
67047cf770
Revert "Fixes MS-1716, keep sessions in progress alive."
...
This reverts commit e5d0370a94 .
2017-04-16 15:52:22 -05:00
Pearce Barry
e5d0370a94
Fixes MS-1716, keep sessions in progress alive.
2017-02-24 12:56:05 -06:00
Jeffrey Martin
7cf812ed99
add rspec test for inspect on all TLV_TYPE objects
2017-01-23 09:19:53 -06:00
OJ
ac0b489a90
Revert bad merge and include expect calls
2016-01-21 10:28:38 +10:00
OJ
18fe9bd96f
Merge branch 'upstream/master' into default-xor
2016-01-13 10:05:59 +10: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
76d1f6ba0a
Fix Rex::Psot::Meterpreter::PacketParser spec
...
MSP-13484
Use allow instead of expect because call count isn't important.
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
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
6f29e9a4cf
.should == -> expect().to eq
...
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
OJ
c747ffc05a
Implement support for TLV packet XORing, and RECV removal
2015-12-08 16:37:10 +10:00
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