Brent Cook
d3e6e93d6a
the fastest code is that which does not exist
2018-05-07 10:13:38 -05:00
Brent Cook
3e7e1e59df
style updates, expand constants
2018-05-07 00:24:38 -05:00
Brent Cook
a9094d6b97
style updates
2018-05-07 00:24:38 -05:00
Jacob Robles
534d05ff44
simpleclient versions option
2018-05-07 00:24:38 -05:00
Jacob Robles
ff202a5f5b
Simpleclient/SMB2 support
2018-05-07 00:24:38 -05:00
Jacob Robles
d54992674f
Response code, Write fix
2018-05-07 00:24:38 -05:00
dmohanty-r7
f2cf4fd1dc
remove case for open smb file packet field
2018-05-07 00:24:38 -05:00
dmohanty-r7
960c733f16
Remove references to TreeId and FileID
2018-05-06 11:35:54 -05:00
dmohanty-r7
5f7b050173
Get psexec and enumshares to stable state
2018-05-06 11:27:11 -05:00
dmohanty-r7
e25a718861
Simplify
2018-05-06 11:27:11 -05:00
dmohanty-r7
e9b78095be
Psexec works
2018-05-06 11:27:11 -05:00
dmohanty-r7
a9019585fe
Replace simpleclient's client with ruby_smb client
2018-05-06 11:27:11 -05:00
Aaron Soto
2cd0d3d90a
Rudamentary SOCKS5 functionality, CONNECT, IPv4, non-DNS only
2018-05-04 14:44:03 -05:00
Brent Cook
fcc38b75bf
style updates
2018-04-30 18:40:07 -05:00
Brent Cook
1214f4d6c9
more optimizations
2018-04-30 18:25:25 -05:00
Kent Gruber
89ab409a1a
remove unnecessary object allocation and regex
...
The regex can be removed with the default split method. The val object
can be removed by adding to the secs object directly on the result of
the case statement.
2018-04-27 23:10:28 -04:00
Jeffrey Martin
2487314821
Land #9869 , Add support for shellcode encryption for msfvenom
2018-04-25 15:51:05 -05:00
Spencer McIntyre
2610757f27
Include the StreamServer interface for pivoting
2018-04-20 15:10:53 -04:00
Wei Chen
3611a1dfe4
Update rex-text version
2018-04-18 10:40:11 -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
Aaron Soto
b9d71b7147
Renamed 'mask' to 'glob'
2018-04-11 14:50:27 -05:00
Aaron Soto
21467d7938
Update stdapi/fs help output to match searching/masking parameters
2018-04-11 14:19:33 -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
Brent Cook
7a95024062
remove more ring operations
2018-04-06 13:49:16 -05:00
Brent Cook
2ee7b1ec5c
Fix native 'readline' (msfconsole -L) support for Ruby 2.5 onward
2018-04-03 08:00:08 -05:00
Brent Cook
bd3c00dfd0
Land #9726 , add simple Rex::Tar wrapper for consistency with other archive types
2018-04-02 23:35:22 -05:00
Brent Cook
428233b82d
Land #7949 , Format binary registry data nicely on display
2018-04-02 23:11:25 -05:00
James Barnett
ecbbf1d940
Pass workspace when using db_nmap
2018-03-30 15:27:32 -05:00
William Vu
f5025cb84e
Add Rex::Tar
...
This just inherits from Gem::Package::Tar{Reader,Writer} at the moment.
We may want to build out higher-level methods than what the inherited
code already provides. Or don't inherit at all.
2018-03-27 14:57:57 -05:00
Brent Cook
1610db482a
minor style nits
2018-03-25 07:34:45 -05:00
Brent Cook
7c5c5513eb
Merge remote-tracking branch 'upstream/master' into land-9586-
2018-03-25 07:29:55 -05:00
Brent Cook
f662049b27
clarify screenshot on android scenario
2018-03-25 07:29:39 -05:00
b0yd
7e0c255591
Formatted reg binary type to hex when displaying query results.
2018-03-23 15:56:12 -04:00
Jon Hart
f09c5eafc7
Appease hound
2018-02-27 04:12:58 -06:00
Jon Hart
46299dff00
The DRDOS mixin operates on strings, so make the bindata'd NTP classes cooperate
2018-02-27 04:12:57 -06:00
Brent Cook
99965c142b
remove duplicate check
2018-02-20 04:42:49 -06:00
Brent Cook
bb3a11dd20
use ctrl-d to cancel input instead
2018-02-20 04:40:00 -06:00
Tim W
5083150002
fix #9112 , improve error message on failure
2018-02-20 18:06:03 +08:00
Brent Cook
f5f7b4d25a
handle sessions still open
2018-02-20 03:31:20 -06:00
Brent Cook
e995ccfc33
make this a little easier to read
2018-02-20 03:27:55 -06:00
Brent Cook
e26fb49c99
if we have no more input from the console, quit
2018-02-20 03:27:38 -06:00
Brent Cook
3d8451e616
Land #8997 , add local 'ls' support to Meterpreter sessions
2018-02-19 23:21:59 -06:00
Brent Cook
4e9d900a17
Land #9507 , Expand paths for meterpreter's cp, mv, and rm commands
2018-02-19 21:26:03 -06:00
UserExistsError
b3f26ea55f
bind_named_pipe fixes
2018-02-18 10:31:57 -07:00
Brent Cook
bd2af0143a
properly handle when there is no stat callback specified on upload
2018-02-16 16:14:09 -06:00
Brent Cook
289277c613
Land #9516 , Support Bash-Style Continuation Lines
2018-02-16 10:53:58 -06:00
Brent Cook
38b03fdfff
Merge branch 'upstream-master' into land-9539-
2018-02-15 16:22:13 -06:00
a1exdandy
7e03bf838b
Fix src_size view
2018-02-15 17:44:41 +05:00
a1exdandy
a0c473f29e
Upload memory usage optimization
...
Optimize xor_bytes memory usage, use small buffer for upload,
add verbosity
2018-02-15 17:05:22 +05:00
UserExistsError
8ae8a0d94b
added bind_named_pipe payload
2018-02-11 18:56:50 -07:00
Spencer McIntyre
214c137b4a
Don't use parenthesis around pgets
2018-02-07 15:53:11 -05:00
Spencer McIntyre
0ad7d10e05
Use a continuation flag to disable tab completion
2018-02-06 14:44:55 -05:00
Spencer McIntyre
6d7579d907
Support breaking commands into multiple lines
2018-02-06 14:29:11 -05:00
Spencer McIntyre
8b56bbc541
Update mkdir as well for path expansion
2018-02-05 16:16:53 -05:00
Spencer McIntyre
c70bcb5869
Use a constant for the regex and update rmdir too
2018-02-05 16:06:16 -05:00
Spencer McIntyre
f441306036
Expand paths for meterpreter's cp, mv, and rm cmds
2018-02-05 15:22:05 -05:00
Brent Cook
d5ae2bb55b
Fix pivot handler to not consume all packets
...
Packet handlers should only return true if they consume a packet.
Otherwise, they should return false so something else can consume it.
This fixes port forwards by allowing the socket handler to see packets
that were otherwise being discarded in the pivot handler.
2018-02-02 18:01:05 -06:00
zerosum0x0
c8ff2adf06
added support for smb client
2018-01-27 20:49:17 -07:00
Brent Cook
03d1523d43
Land #6611 , add native DNS to Rex, MSF mixin, sample modules
2018-01-22 23:54:32 -06:00
Brent Cook
9a35c324c0
Land #9352 , Pull out HTTP-specific code from PacketDispatcher
2018-01-22 16:52:24 -06:00
Pearce Barry
ba75d19d34
Fix failing spec.
2018-01-19 15:52:25 -06:00
Pearce Barry
2a6b3671bf
Add connection addr+port info to http response object.
...
Update owa_login to use this instead of doing lookups on its own.
2018-01-19 13:37:33 -06:00
William Vu
2916c5ae45
Rescue Rex::Proto::SunRPC::RPCTimeout
...
Coincidentally, this also fixes the rescue in the library, since
rescuing Timeout instead of Timeout::Error does nothing.
2018-01-12 19:34:59 -06:00
RageLtMan
c65c03722c
Migrate native DNS services to Dnsruby data format
...
Dnsruby provides advanced options like DNSSEC in its data format
and is a current and well supported library.
The infrastructure services - resolver, server, etc, were designed
for a standalone configuration, and carry entirely too much weight
and redundancy to implement for this context. Instead of porting
over their native resolver, update the Net::DNS subclassed Rex
Resolver to use Dnsruby data formats and method calls.
Update the Msf namespace infrastructure mixins and native server
module with new method calls and workarounds for some instance
variables having only readers without writers. Implement the Rex
ServerManager to start and stop the DNS service adding relevant
alias methods to the Rex::Proto::DNS::Server class.
Rex services are designed to be modular and lightweight, as well
as implement the sockets, threads, and other low-level interfaces.
Dnsruby's operations classes implement their own threading and
socket semantics, and do not fit with the modular mixin workflow
used throughout Framework. So while the updated resolver can be
seen as adding rubber to the tire fire, converting to dnsruby's
native classes for resolvers, servers, and caches, would be more
like adding oxy acetylene and heavy metals.
Testing:
Internal tests for resolution of different record types locally
and over pivot sessions.
2018-01-12 05:00:00 -05:00
jgor
51e5fb450f
Detect and return on bad VNC negotiations
2018-01-05 10:12:13 -06:00
RageLtMan
f1a1e1a357
Implement specific dispatch extensions for tunnels
...
All meterpreter Clients are created equal, and as such they all
include the PacketDispatcher mixin and call its init methods when
a passive dispatcher is needed. However, since tunneling protocols
have different requirements for implementation, the methods which
provide protocol-specific functionality need to be mixed into the
Client before it attempts to initialize the dispatcher.
Provide a dispatch_ext option in the has passed to the client on
init from the session handler which is an Array containing mixin
references which are sent to :extend calls in the :init_meterpreter
method just prior to calling :initialize_passive_dispatcher.
Each handler implementation can thus push chains of mixins to the
client in order to provide middleware specific to the tunnel. Down
the road, this should permit stacking C2 encapsulations or tunnel
protocols/permutators to create unique session transports on the
fly.
2017-12-29 00:56:06 -05:00
RageLtMan
d420bf1a6a
Pull out HTTP-specific code from PacketDispatcher
...
PacketDispatcher has some hardcoded assumptions about utilizing
HTTP services as the async resource. With C2 and DNS tunnels in
the pipeline, these elements need to be separated from the core
functions of async packet dispatch and moved into their own module.
This creates a new namespace for Meterpreter::HttpPacketDispatcher,
meant to be mixed in after PacketDispatcher. The module implements
only three of the original module's methods - init, shutdown, and
the :on_passive_request callback; with the first two using :super,
with the expectation of having a PacketDispatcher mixin or API
compatible namespace already in the mix.
2017-12-28 23:37:01 -05:00
Brent Cook
c2bb144d0f
Land #9302 , Implement ARD auth and add remote CVE-2017-13872 (iamroot) module
2017-12-28 14:11:26 -06:00
Jon Hart
962bc71d10
Merge branch 'feature/mqtt' into feature/mqtt-login
2017-12-20 18:58:36 -08:00
Jon Hart
cf21d13b2e
Resolve conflict
2017-12-20 18:58:16 -08:00
William Vu
1975713a92
Land #9333 , get_cookies_parsed using CGI::Cookie
2017-12-20 20:08:33 -06:00
Jon Hart
d0b3abc14b
Better handling of MQTT endpoints which don't require authentication
...
Arguably this is working around LoginScanner's inability to provide
blank usernames AND passwords
2017-12-20 18:02:52 -08:00
Jon Hart
2e62d77e36
Add new method for fetching parsed cookies from an HTTP response
...
This fixed #9332 .
2017-12-20 16:19:44 -08:00
Brent Cook
3b78302868
Land #9327 , restore transport enum used in TLVs
2017-12-20 16:11:04 -06:00
Jon Hart
741d08f604
Style cleanup
2017-12-20 13:33:47 -08:00
Jon Hart
f15309bc48
Add basic framework for interacting with MQTT
2017-12-20 12:28:02 -08:00
Jeffrey Martin
9719ede3f0
restore transport enum used in TLVs
2017-12-20 13:12:24 -06:00
Brent Cook
32c486023c
Land #9308 , Ensure tab completion in HWBridge sessions works
2017-12-20 11:29:11 -06:00
Puru
bfa0cad8a5
Fix clipboard typo
2017-12-20 20:49:36 +05:45
Brent Cook
90b97d6581
Merge branch 'upstream-master' into land-9151-
2017-12-15 14:15:14 -06:00
Pearce Barry
084dc4470d
Ensure tab completion in HWBridge sessions works as expected.
2017-12-15 12:19:26 -06:00
jgor
b99f044de5
Implement VNC security type 30 (Apple Remote Desktop) authentication
2017-12-14 13:57:38 -06:00
bwatters-r7
9ea7747a5c
Land #9233 , Fix #9232 corruption of non-latin characters in W methods
...
Merge branch 'land-9233' into upstream-master
2017-12-14 11:54:36 -06:00
Pearce Barry
7aef0f249e
Per MS-2916, load Mettle extensions via new API.
2017-12-07 20:40:22 -06:00
William Vu
65412cd2f1
Land #9201 , enhanced tab completion
2017-11-27 11:37:04 -06:00
Tim W
ce9d2aff2b
more osx hacks
2017-11-22 17:25:49 +08:00
Tim W
0f2bfb70c0
hacky fix for osx
2017-11-22 13:07:42 +08:00
scriptjunkie
9a81cc70dd
Fix corruption of non-latin characters in W methods
2017-11-21 20:58:38 -06:00
Tim
92190403cc
use full target_path
2017-11-22 05:42:01 +08:00
OJ
fea28a89a5
Fix TLV defs for http headers
2017-11-21 13:47:19 -06:00
OJ
a78d8f83fc
Add HTTP header support for Host/Cookie/Referer
...
This is to start the support for things like domain fronting.
2017-11-21 13:47:18 -06:00
Spencer McIntyre
bc691cbd00
Document the new tab completion functions
2017-11-11 17:17:48 -05:00
Spencer McIntyre
fb7635502d
Tab completion for exploit and handler commands
2017-11-11 17:11:54 -05:00
Spencer McIntyre
68a43fef36
Add the new generic tab completion functoin
2017-11-11 16:47:11 -05:00
bwatters-r7
c2a979dd3c
Land #9134 , fix buggy handling of partial ingress packet data
2017-11-01 20:06:23 -05:00
William Vu
5de190f092
Land #9145 , ERB/<ruby> for Meterpreter resource
2017-11-01 13:48:51 -05:00
Brent Cook
90766ceceb
remove more unusual raise RuntimeError patterns
2017-11-01 05:59:12 -05:00
Pearce Barry
48975a4327
Support multiple suffixes on meterpreter extensions.
2017-10-31 10:04:34 -05:00
Pearce Barry
daf2acc2b1
Initial work to support Mettle exetensions (and a sniffer).
...
See MS-2775.
2017-10-31 10:04:30 -05:00
Spencer McIntyre
940573ad49
Support ruby directives in Meterpreter rc scripts
2017-10-29 15:57:33 -04:00
Brent Cook
d188982760
handle masked EOF from Rex sockets (TODO: kill that behavior)
2017-10-27 02:29:25 -07:00
Brent Cook
85b59c87ca
fix buggy handling of partial ingress packet data
...
If we have more data, and the packet parser needs more data, connect the two
together rather than bailing. This fixes reverse_tcp_ssl along with probably a
lot of other higher-latency corner cases.
2017-10-27 02:15:08 -07:00
Brent Cook
1b01232624
Land #9070 , Fix bug copying MACE attributes between files
2017-10-23 22:15:42 -05:00
James Lee
af42f517b8
Default PromptTimeFormat to %T
2017-10-17 16:39:44 -05:00
Bradley Landherr
bdc00ef2df
Removing unecessary comment
2017-10-11 06:34:09 -07:00
Bradley Landherr
8dee369eb7
Fixing the -f option, removing reference to undefined 'path' variable & get_file_mace already returns a 'Time' object instance
2017-10-11 06:28:03 -07:00
William Webb
14308fb77d
Land #9045 , Copy original request ID into TLV response
2017-10-09 10:58:02 -05:00
Jeffrey Martin
d0a1fb6019
tlv response to ID based request with original ID
...
When a tlv response is created the request ID being responded to
needs to be copied into response created.
2017-10-06 13:58:38 -05:00
William Webb
d9e0d891a1
Land #9010 , Remove checks for hardcoded SYSTEM account name
2017-10-06 13:42:18 -05:00
Brent Cook
b7e209a5f3
Land #9033 , Geolocate API update
2017-10-05 16:39:09 -05:00
Tim
e534d3cdc8
fix transport and sleep commands on java
2017-10-04 10:36:01 +08:00
h00die
fc66683502
fixes #8928
2017-10-01 19:49:32 -04:00
loftwing
f777e2ab3b
Merge branch 'master' into fix_nmap_imports
...
bringing branch up to date
2017-09-27 12:52:27 -05:00
loftwing
51c1cddb5c
Removed requirement for a host to have ports
2017-09-27 12:43:50 -05:00
OJ
3068fb6e7e
Fix getprivs and getsystem
...
This is a fix for crap and stupid stuff that I did half way through the
packet pivot code. I was working on some priv stuff at the same time,
and when I realised that the work I was doing was not sensible as part
of the packet pivot PR, I failed to revert my changes properly.
As a result I broke `getprivs` and `getsystem`. I am sorry. And I'm
ashamed.
2017-09-27 16:31:42 +10:00
Christian Mehlmauer
81406a073e
tidy up code
2017-09-27 08:01:48 +02:00
Christian Mehlmauer
41e3895424
remove checks for hardcoded name
2017-09-27 07:41:06 +02:00
Brent Cook
0d31c1c9a8
Land #8945 , fix issue where we can call shutdown on a closed socket
2017-09-26 16:01:51 -05:00
Brent Cook
71f13db918
style updates
2017-09-26 15:58:43 -05:00
Josh Hale
0e59f47095
Comments and whitespace check
2017-09-24 16:37:30 -05:00
Josh Hale
23e1b5b872
Add search term support
2017-09-24 16:25:27 -05:00
Josh Hale
664fd1f7e3
Support single file path
2017-09-24 16:13:26 -05:00
Josh Hale
9f0ff3f3a3
Add in sort and order options
2017-09-23 23:14:21 -05:00
Josh Hale
2068514800
Add initial lls command
2017-09-23 21:38:53 -05:00
Brent Cook
d8ee4150e6
move client core constants closer to where they are actually used
2017-09-19 03:22:13 -05:00
Brent Cook
5b579baa33
remove unused Linux migration code
2017-09-19 03:04:43 -05:00
Brent Cook
0e15b2d002
remove unneeded METERPRETER_TRANSPORT constants
2017-09-19 02:59:05 -05:00
RageLtMan
271bd4c4fe
Rename METERPRETER_TRANSPORT_SSL to ..._TCP
...
Since OpenSSL is no longer packages with meterpreter, and transport
secrecy is handled at L7, the SSL cons name doesn't apply anymore.
Rename METERPRETER_TRANSPORT_SSL to METERPRETER_TRANSPORT_TCP for
consistency with wire-level implementation.
2017-09-17 14:31:15 -04:00
Craig Smith
b218cc3c7f
Merge branch 'master' into hw_auto_padding_fix
2017-09-11 18:30:34 -07:00
Craig Smith
ad9329993d
Added better padding and flowcontrol support.
2017-09-11 18:20:57 -07:00
RageLtMan
8d60fdf9e7
Bug - HTTP Client can call :shutdown on closed IO
...
When running Rex HTTP client calls across pivots, pivot sockets
can get closed by the remote server, resulting in a closed :conn
object within the client object. The clients :close method calls
self.conn.shutdown which raises an 'IOError closed stream' on what
is effectively a TCPSocket object in a closed state (under the Rex
abstraction).
Resolve by moving the self.conn.closed? check into the conditional
just above the :shutdown call, and remove if from the underlying
:close call as calling :close on an already closed TCPSocket
returns nil as opposed to throwing an exception like the :shutdown
method.
2017-09-10 03:09:59 -04:00
Brent Cook
c365db135a
pull in GUID fixes from #8818
2017-09-07 01:39:49 -05:00
OJ
b38a962c09
Fix default session GUID when not specified
...
This resolves an issue with stategless HTTP sessions
2017-09-07 01:36:25 -05:00
OJ
5294722b96
Prevent socket-like behaviours during migrate on pivoted sessions
2017-09-07 01:36:24 -05:00
OJ
bfdea35aca
A few UI touch ups
2017-09-07 01:36:23 -05:00
OJ
75270af9e7
Tweaking of the pivot list output
2017-09-07 01:36:23 -05:00
OJ
8b8e5e4cb5
First iteration of the pivot menu for meterpreter
2017-09-07 01:36:23 -05:00
OJ
d525b015f0
Enable keepalive for pivoted sessions
2017-09-07 01:36:22 -05:00
OJ
7acd772c10
Pivot session stability, display and handling
2017-09-07 01:36:21 -05:00
OJ
fdc9864b61
First working packet pivot session!
2017-09-07 01:36:20 -05:00
OJ
e3de01219a
Pushed on with more pivot code
2017-09-07 01:33:54 -05:00
OJ
abc80655b7
Progress in named pipe pivots, more to come
2017-09-07 01:33:54 -05:00
OJ
816e78b6f6
First pass of named pipe code for pivots
2017-09-07 01:33:53 -05:00
Brent Cook
f7071818b1
more updates
2017-08-28 14:10:51 -05:00
Brent Cook
a0e04760b5
rewrite timestomp command dispatcher to deal with file args properly
2017-08-28 08:25:42 -05:00
Brent Cook
429824b5c9
guid is hex values
2017-08-21 03:44:02 -05:00
Brent Cook
8700a36858
make session_guid default with the correct length
2017-08-21 03:24:37 -05:00
Brent Cook
5e8c2200ac
Merge branch 'master' into land-8625-crypttlv2
2017-08-20 18:54:51 -05:00
h00die
dc358dd087
unknow to unknown
2017-08-18 11:33:48 -04:00
OJ
fa292dce96
Fix issue with truncated values when unpacking packets
2017-08-16 11:01:54 +10:00
Brent Cook
0ab6dd46d3
Land #8762 , add initial Rex FTP protocol implementation
2017-08-14 01:59:53 -04:00
OJ
d7e8b32312
Merge branch 'upstream/master' into transport-agnostic-packet-encryption
2017-08-08 17:30:51 +10:00
Pearce Barry
cfd377fbd4
Support padding on the CAN bus.
...
Also use a hash for passing options around instead of individual params.
2017-08-06 18:05:59 -05:00
Brent Cook
24d323d4ed
remove more instances of positive?
2017-08-02 12:47:34 -05:00
Tabish Imran
f1b07b5c6d
Add send_cmd_data function from /lib/metasploit/framework/ftp/client.rb to class
2017-08-02 01:14:08 +05:30
Tabish Imran
0b001fdea6
Modify to reduce rubocop offenses
2017-07-25 17:46:05 +05:30
Tabish Imran
da8cb48639
Add FTP protocol client implementation
2017-07-25 00:56:34 +05:30
Tabish Imran
ab37ccb173
Add FTP protocol support
2017-07-25 00:56:19 +05:30
Brent Cook
cdfb6782a8
Land #8639 , Add mic audio streaming to Linux/OSX native meterpreter
2017-07-24 07:01:00 -07:00
Brent Cook
6300758c46
use https for metaploit.com links
2017-07-24 06:26:21 -07:00
Pearce Barry
6a686a277b
Land #8742 , HWBRIDGE RFTRANSCEIVER ADD LOWBALL SUPPORT
2017-07-21 11:46:21 -05:00
Pearce Barry
3043218a7f
Indention and missing comma fixup.
2017-07-21 11:43:49 -05:00
Corey Harding
22e8f1cb48
HWBRIDGE RFTRANSCEIVER ADD LOWBALL SUPPORT
2017-07-20 05:09:00 -04:00
Brent Cook
f5e76092d6
Merge branch 'master' into land-8439-
2017-07-18 08:25:18 -05:00
James Lee
5c17f363be
Default opts to an empty hash instead of nil
...
Fixes #8709
2017-07-13 15:40:08 -05:00
bwatters-r7
99bb091488
Land #8690 , Fix #8636 , [] for NilClass in session.fs.file.download_file
2017-07-12 13:43:12 -05:00
William Webb
aa0fca9dd1
Land #8631 , Add railgun support to Python Meterpreter for the OSX
...
platform
2017-07-11 16:05:16 -05:00
wchen-r7
d5d9e88851
Fix #8636 , [] for NilClass in session.fs.file.download_file
...
This fixes a [] for NilClass bug in the download_file API.
The opts argument is not checked for nil before the code looks for
the block_size key.
Fix #8636
2017-07-07 19:00:33 -05:00
Pearce Barry
baead02efc
Addressing PR feedback.
...
Removing the audio_stream_pool.rb class file for now, we can recreate for MS-2749 if we really need one.
2017-07-04 09:28:38 -05:00
Pearce Barry
ef1145c6b7
Use common code to delete non-applicable cmds.
2017-07-03 09:11:04 -05:00
OJ
4f054d25fc
Fix packet spec problems
2017-07-03 18:12:38 +10:00
OJ
999d90687e
Make encryption flags 32 bit
...
This changes the encryption flags on the meterpreter session so that
it's 32 bits (and hence changes the packet header). This also supports
the idea that sessions may use encryption that isn't AES256, so the
flags field will ultimately indicate that. A type flag has been added so
that MSF knows the type that should be done on the wire.
At some point soon we'll add something that makes sure that the packet
encryption type always matches the encryption type expected in MSF, this
will hopefully avoid the risk of having packets injected into the stream
by external entities.
2017-07-03 16:52:58 +10:00
Pearce Barry
e21ae88b55
Update wave file header with actual length.
...
Fixes MS-2759.
2017-06-30 22:48:42 -05:00
James Lee
ada954aab9
Land #8624 , fix mis-ordered kiwi output
2017-06-30 14:23:24 -05:00
Pearce Barry
d2098137a9
Grab last bit of audio from target when done.
...
Also remove module that needs work (we can create later).
2017-06-30 10:56:49 -05:00
Pearce Barry
48e7e8397e
Make listen focus on prerecorded items.
2017-06-29 16:52:17 -05:00
Pearce Barry
e8468a5c99
Cleanup.
2017-06-29 16:52:17 -05:00
Pearce Barry
5c5044a80f
Stream audio data via channel (MS-2725).
2017-06-29 16:52:16 -05:00
dmohanty-r7
dd7726b894
Change to Audio Mic
2017-06-29 16:52:16 -05:00
dmohanty-r7
1bfa9366e6
Bring back to working
2017-06-29 16:52:15 -05:00
dmohanty-r7
bd9c15713d
Bring polling back in
2017-06-29 16:52:15 -05:00
dmohanty-r7
3d51301b98
Seperation of concerns
2017-06-29 16:52:15 -05:00
dmohanty-r7
c7b71a2b32
Seperate concerns of console/mic
2017-06-29 16:52:14 -05:00
dmohanty-r7
9ca74d69f1
add sleep
2017-06-29 16:52:14 -05:00
dmohanty-r7
d2cccae2a1
Use webrtc browser
2017-06-29 16:52:13 -05:00
dmohanty-r7
56b3b0e00d
Add more parameterization
2017-06-29 16:52:13 -05:00
dmohanty-r7
d9e1d21c56
Spacing
2017-06-29 16:52:13 -05:00
dmohanty-r7
d62f0cfd98
Add the mic stop command
2017-06-29 16:52:12 -05:00
dmohanty-r7
40ce03b85f
Parameterize playback configurations
2017-06-29 16:52:12 -05:00
dmohanty-r7
6f8f85df61
Open player for listening to audio
2017-06-29 16:52:12 -05:00
dmohanty-r7
60e009de8f
Use large datasize
2017-06-29 16:52:11 -05:00
dmohanty-r7
16a13723d0
Remove debug
2017-06-29 16:52:11 -05:00
dmohanty-r7
fa4ebadf0f
Make mic audio device stream work with mettle
2017-06-29 16:52:10 -05:00
dmohanty-r7
0a0e6c8576
Use audio stream pool
2017-06-29 16:52:10 -05:00
dmohanty-r7
197d377424
Fix commands to mic
2017-06-29 16:52:10 -05:00
Dev Mohanty
ebf967db3e
Add audio-channel
2017-06-29 16:52:09 -05:00
Anderson
959f9fe2d2
Updated lib/rex/proto/http/client_request.rb to ensure that the host header is formatted
2017-06-29 12:05:02 -07:00
Spencer McIntyre
52211ab6ae
Continue refactoring removal of "DLL" references
2017-06-27 18:00:01 -04:00
Spencer McIntyre
0da9f4d64a
Refactor railgun "DLL" references to library
2017-06-27 17:34:06 -04:00