bcoles
11a00fa1f2
post/multi/gather/env: Cleanup and support non-Meterpreter sessions
2022-08-01 13:37:15 +10:00
Jeffrey Martin
21a6a18d92
trade URI.encode & URI.escape for Ruby 3
...
Ruby 3 removed the `URI.escape` methods however access to
the a parse for the same RFC is stil available at `URI::DEFAULT_PARSER.escape`.
Per the Ruby forum [comment](https://bugs.ruby-lang.org/issues/17309#note-1 ) this should equal.
2021-11-22 14:11:03 -06:00
adfoster-r7
28eab4d871
Add Meterpreter compatibility metadata
2021-10-06 13:54:51 +01:00
adfoster-r7
06762d0934
Update references to railgun to be consistent
2021-09-27 12:37:14 +01:00
adfoster-r7
46718e3390
Run Rubocop layout rules on modules
2021-09-10 12:53:39 +01:00
adfoster-r7
ded8200396
Land #15537 , Add support for ruby 3
2021-09-01 10:30:54 +01:00
adfoster-r7
4a9a15e638
Run Rubocop layout rules on modules
2021-08-27 17:19:43 +01:00
Alan Foster
03400991af
Update uses of open ssl
2021-08-10 15:40:23 +01:00
bwatters
8266f2ffdc
Land #15113 , post gather module for saltstack salt #15113
...
Merge branch 'land-15113' into upstream-master
2021-05-17 15:33:20 -05:00
h00die
b2f8bc6958
guard on nil minions
2021-05-15 09:38:15 -04:00
Ashley Donaldson
929197b85e
Fix rubocop errors
2021-05-04 11:34:22 +10:00
Ashley Donaldson
2ac4eeb141
Check VAS configuration to find defined kerberos location.
...
Also verify root prior to exploitation (gives better error message)
2021-05-04 11:31:11 +10:00
h00die
75ed65a0ab
properly name saltstack salt
2021-05-03 19:34:37 -04:00
Ashley Donaldson
4cd7637274
Fixed Rubocop errors added since this module was forked
2021-05-03 13:28:07 +10:00
Ashley Donaldson
f0a442b77d
Retrieve configured kerberos ticket location before retrieving tickets
...
Rather than assume that file-configured kerberos tickets will be at /tmp/krb5_*, let's check the config file.
Also allows us to give more meaningful error messages and point people in the direction of where to look if it doesn't work.
2021-05-03 13:07:45 +10:00
h00die
2c76671436
add windows minion file
2021-05-02 10:01:06 -04:00
h00die
2c0c7791a0
more error handling, updated docs
2021-05-02 08:19:43 -04:00
Ashley Donaldson
86a7b7b915
Forked a long time ago, so let's get it closer to the main branch
2021-05-02 14:23:56 +10:00
h00die
fde1696ae2
windows and osx updates
2021-04-30 20:59:54 -04:00
h00die
938b4741a9
saltstack doc update and tested
2021-04-10 13:46:19 -04:00
friedrico
3b5cdd767f
Base64 encoding is set iff encoding attribute is set to base64 and not when it "could be due to length and alphabet of the password"
2021-03-17 08:49:28 +01:00
Security Curious
59086989f7
Update Firefox Default Profile Directory
...
The default firefox profile directory now no longer ends in `.default`
but instead `.default-release`. For backwards compat the new regex
supports both. For more information see:
https://support.mozilla.org/bm/questions/1264072#answer-1235567
It's possible we might want to also support things like
`.default-nightly`, etc but really if we want to do more than grab
the default profile we should read the `profiles.ini` file to get
an itemized list of profiles from Firefox itself. This would also
future-proof this script.
Since profiles are not generally used by most Firefox users just going
for the simpler solution of looking for `.default-release`.
2021-03-10 21:43:04 -05:00
agalway-r7
8a339f54c1
Land #14734 , updates and runs rubocop against recent modules
...
Rubocop recently landed modules
2021-02-19 13:48:47 +00:00
Alan Foster
5b3fde7735
Rubocop recently landed modules
2021-02-16 15:08:08 +00:00
dwelch-r7
b95be3ed10
Zeitwerk rex folder
2021-02-08 12:24:12 +00:00
CSharperMantle
d99c2ac783
linguistic fixes of 'does not exists'
2020-12-23 11:36:38 +08:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
h00die
d989c44214
more updates
2020-12-04 13:29:31 -05:00
h00die
5ac5a0c68a
print command outputs
2020-12-01 17:26:51 -05:00
h00die
797e1ec35b
now saves creds
2020-11-29 07:45:59 -05:00
h00die
79caa33589
gather roster, gather data from minions
2020-11-28 17:49:32 -05:00
h00die
600007a0d7
worked out a bunch of syntax and added some catches
2020-11-26 11:11:37 -05:00
h00die
48affc5c90
dont read files that dont exist
2020-11-25 05:10:39 -05:00
h00die
1082f31c38
beta draft
2020-11-24 19:36:58 -05:00
Grant Willcox
339c1941ef
Add in myworkspace.id patch for the other missing modules
2020-10-07 17:08:00 -05:00
Shelby Pace
1b66f4a9de
include Android::Priv mixin
2020-09-23 18:42:07 -05:00
Grant Willcox
35fec19faa
Fix Android code so that if we have root permissions we use dumpsys to get the package versions, otherwise just enumerate the installed software, but not the versions as we did before, but this time print out a warning.
2020-09-23 12:05:04 -05:00
Grant Willcox
8951b2a0d2
Add additional support for two other common MacOS package managers, HomeBrew and MacPorts
2020-09-23 11:46:08 -05:00
Grant Willcox
f6b032b744
Add warning about Linux results to documentation and to the module's description field
2020-09-18 10:35:59 -05:00
Grant Willcox
de4008984a
Add in a few more package managers, think I'll stop after this given the diminishing returns atm
2020-09-17 18:00:36 -05:00
Grant Willcox
02bf9561e5
Switch over to using a packager manager orientated approach for gathering installed software on Linux
2020-09-17 17:18:29 -05:00
Grant Willcox
83a8f87438
Fix some mistakes with the command for some package managers that weren't returning the version numbers as expected
2020-09-17 16:08:35 -05:00
Grant Willcox
bc9986f72c
Apply RuboCop edits and also edit the %w[] entries so they didn't include the stray single quotes in the resulting string
2020-09-16 15:14:52 -05:00
Grant Willcox
798e5cce61
Add in casting the results of cmd_exec calls to strings using .to_s as @bcoles recommended and also check for potential cases where no results are returned. This should make the code more defensive and help protect against potential failure cases
2020-09-16 15:06:11 -05:00
Grant Willcox
3e10ec5fc9
Redo the checks using the command_exists? command that @bcoles recommended
2020-09-16 12:49:36 -05:00
Grant Willcox
e3ffa39e57
Implement the case change from the review as mentioned by @wvu-r7
2020-09-16 12:15:40 -05:00
Grant Willcox
4f0f63e3ea
Silly edit to fix an extra space. Feel free to merge me with the last commit.
2020-09-16 11:57:59 -05:00
Grant Willcox
1795edfa29
Fix up enum_software_versions.rb and its code based on initial feedback
2020-09-16 11:40:37 -05:00
Grant Willcox
2544b1a4cc
Add RuboCop fixes to the module and also update the Android code to be correct
2020-09-15 17:16:11 -05:00
Grant Willcox
3d883cd5e5
Merge me with last commit, remove erronious extra require
2020-09-15 16:59:28 -05:00