Commit Graph

14940 Commits

Author SHA1 Message Date
Adam Cammack 7c6c621a8f Remember to assign self.prompt in shell.rb
Not everything updates the prompt all the time, make them feel welcome.
2018-09-13 15:51:07 -05:00
William Vu b3e9856851 Revert doc changes to exploit.rb autofilter
I think the changes might have been accidental.

3cf4329335
2018-09-13 13:27:52 -05:00
h00die 8025a49c44 Land #10633 fix for solaris pidof for more versions 2018-09-13 13:10:28 -04:00
Brendan Coles 53a326c743 Cleanup is_root? method for Linux::Priv / Solaris::Priv 2018-09-13 08:54:31 +00:00
Brendan Coles bba818a323 Fix Msf::Post::Solaris::System pidof method 2018-09-13 08:29:56 +00:00
William Vu 68a51da27b Land #10477, console prompt fixes and refactor 2018-09-12 18:00:48 -05:00
OJ 84e87b10af Update warning message when loading mimikatz on new OSes 2018-09-13 08:31:08 +10:00
William Vu b70960bddb Land #10619, mimikatz/kiwi warning per OS version 2018-09-12 17:11:11 -05:00
OJ e2c6748759 Replace 'and' with '&&' 2018-09-12 08:27:27 +10:00
h00die a7105b45a6 add gcc path for solaris 2018-09-11 05:18:26 -04:00
William Vu 117121b058 Land #10617, sessions -x fix for when LURI is used 2018-09-11 03:00:34 -05:00
Brendan Coles 7c1ae843b1 Fix Msf::Post::Solaris::Kernel class name 2018-09-11 07:15:19 +00:00
OJ 8d6fcefccc Fix crash when using sessions -x 2018-09-11 13:28:33 +10:00
Brent Cook a3d74d926c Land #9897, Fix #8404 ListenerComm Support For Exploit::Remote::TcpServer 2018-09-10 16:25:55 -05:00
Brent Cook ea2fcb6fc4 Land #10593, Refactor SSH mixins and update modules 2018-09-10 15:38:53 -05:00
Brent Cook 55ae02ba4e DRY up doc generator 2018-09-07 11:47:29 -05:00
Brent Cook dd476066cf Land #10584, fix session upgrade HANDLE_TIMEOUT and upgrading osx shells 2018-09-06 05:52:40 -05:00
William Vu 35fb0d19ab Refactor SSH mixins and update modules 2018-09-05 23:53:11 -05:00
William Vu e2428b5c20 Fix target DisableNops not being passed to payload 2018-09-05 18:07:54 -05:00
OJ 635d92901f Add warning for mimikatz and kiwi if OS versions are wrong 2018-09-05 09:34:34 +10:00
Tim W c38a7e97fd fix session.type for osx shells 2018-09-04 22:59:03 +08:00
Jacob Robles 0a2b0f8cec Remove trailing comma
Fix issue causes target.ret to be an array
2018-09-04 07:43:43 -05:00
Tim W d5e78ab66f Land #10437, sync some linux local libraries to solaris 2018-09-03 22:46:50 +08:00
Matthew Kienow 34f87efb2b Land #10532, enhance db_connect for data services 2018-09-03 09:43:34 -04:00
James Barnett 1c8a2f3ee1 Raise an error when http service fails to connect
Also fix a bug where failed Postgres connections werent being raised
2018-09-02 15:51:13 -05:00
James Barnett b4c731d4ca Check name validity at a higher level 2018-08-31 18:16:32 -05:00
James Barnett 084607b955 Set current_data_service when disconnecting from http 2018-08-31 16:48:33 -05:00
James Barnett 185fe56e82 Add message when connecting via yaml 2018-08-31 16:13:17 -05:00
James Barnett a413b27e57 Fix bug connecting to https servers 2018-08-31 15:49:29 -05:00
James Barnett 1e6f19e1de Update db_save message when no valid service connected
Also add the current data service name to db_status
2018-08-31 12:54:08 -05:00
James Barnett bc4a0345dc Fix bug preventing yaml connections 2018-08-31 11:26:08 -05:00
OJ 41b0dc1dfe Update label for the kiwi extention to match latest ver
I'll also update this PR with the udpated binaries when the paylaods
repo has landed https://github.com/rapid7/metasploit-payloads/pull/298
2018-08-31 09:31:57 +10:00
James Barnett 6ddf4f4c22 Refactor db_connect for updated usage
db_connect will now automatically save the data service it connects to
db_save will be used to set the current data service as default
add a db_remove command to delete a saved data service
2018-08-30 18:19:14 -05:00
James Barnett d6d9f9c675 Handle case for no connection for save and disconnect 2018-08-29 13:54:20 -05:00
James Barnett 133892629e Dont allow invalid config file characters
Also only save cert when it is present
2018-08-29 12:49:03 -05:00
James Barnett f7ecd4436d Even more messaging changes 2018-08-29 11:32:01 -05:00
James Barnett 65f38d6051 More messaging changes 2018-08-29 11:19:37 -05:00
Adam Cammack 7414b18f20 Move prompt_char space to correct place 2018-08-29 10:38:28 -05:00
James Barnett 28954dbc1d More messaging improvements 2018-08-28 17:14:59 -05:00
James Barnett cc5d96a441 Update messaging 2018-08-28 17:00:58 -05:00
James Barnett 161fb52ae3 Dont build connect string manually during loadup 2018-08-28 16:37:14 -05:00
James Barnett 52cc140cd2 Handle case where no default db is set 2018-08-28 15:52:26 -05:00
bwatters-r7 1be7f55cae Land #8983, Add peinjector post module
Merge branch 'land-8983' into upstream-master
2018-08-28 15:25:56 -05:00
William Vu 4803c889f9 Land #10507, GPP creds for db_import 2018-08-28 11:45:51 -05:00
James Barnett 5e45e2f1e9 Add help text for -l and -n options 2018-08-28 11:42:10 -05:00
James Barnett 3c1086741b Use correct variable name for api_token 2018-08-28 10:49:50 -05:00
alpiste 562fc09d5d add new line to the end of the file 2018-08-28 09:02:21 -05:00
alpiste 3a6d72b8b6 some executable files need stack preserve and stack restore, functionality restored 2018-08-28 09:02:21 -05:00
alpiste ff7baaca13 remove stack preserve and stack restore in x86 shellcode and delete duplicated stack preserve variable in x64 shellcode 2018-08-28 09:02:21 -05:00
bwatters-r7 5a28863b12 Fix Whitespace for Rubocop 2018-08-28 09:02:21 -05:00