adfoster-r7
9c94a052bd
Support go 1.17 and remove startup errors for modules
2021-12-15 13:45:10 +00:00
Grant Willcox
ce86eb2db6
Land #15590 , Fix external module encoding
2021-08-27 11:10:45 -05:00
sjanusz
83c27b2509
Fix external module encoding
2021-08-25 17:44:45 +01:00
Alan Foster
c8cc111318
Rename class.parents to class.module_parents
2021-08-09 12:16:13 -05:00
Jeffrey Martin
047a1eba07
Rails 6.1 upgrade
2021-08-09 12:16:08 -05:00
cgranleese-r7
a894b8cc29
Updates Python shebangs to Python 3
2021-05-18 12:43:04 +01:00
Adam Cammack
a33903fb0d
Move analyze results to new class & add creds
2021-04-07 06:06:14 -05:00
Adam Cammack
0122daa3e7
Add local modules and statuses to analyze
2021-03-16 10:37:25 -05:00
bwatters
7cdd41df76
Land #14544 , RDP Web Login User Enumeration Auxiliary Module
...
Merge branch 'land-14544' into upstream-master
2021-02-24 16:10:41 -06:00
agalway-r7
275e9c5454
Land #14696 , Further Zeitwerk lands to improve boot speed
...
Zeitwerk rex folder
2021-02-19 10:33:37 +00:00
Alan Foster
bed7ae2c78
Add latest rubocop rules
2021-02-12 13:31:51 +00:00
dwelch-r7
b95be3ed10
Zeitwerk rex folder
2021-02-08 12:24:12 +00:00
dwelch-r7
4c43a8081a
Land #14480 , Improve handling of external modules when missing runtime dependencies
2021-02-05 13:51:11 +00:00
cgranleese-r7
98349a6823
Improve handling of external modules when missing runtime dependencies
2021-02-02 14:49:16 +00:00
Alan Foster
e0653f271f
Ensure external python modules have formatted logging
2021-02-01 17:42:49 +00:00
Grant Willcox
57bb3fbc1c
Land #14383 , Add exploit and auxiliary Python module examples and update executable loader accordingly
2021-01-22 13:03:57 -06:00
Grant Willcox
7b7bdff1cc
Relocate the check to not load the example modules from base.rb loader to the executable loader
2021-01-22 11:07:14 -06:00
dwelch-r7
319e718a95
zeitwerk lib/msf folder, eager loading works
2021-01-18 14:20:57 +00:00
k0pak4
2d0571e037
Add valid usernames to the database as new credentials
2021-01-08 07:22:36 -05:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
cgranleese-r7
8d1345de73
updates .each to .map
...
Co-authored-by: adfoster-r7 <60357436+adfoster-r7@users.noreply.github.com >
2020-11-26 15:21:10 +00:00
cgranleese-r7
8bc34038ea
Adds a fix for frozen string bug when using reload_all
2020-11-26 14:52:15 +00:00
h00die
1b0529bc96
ignore loading external modules that start with example
2020-11-11 10:56:07 -05:00
h00die
87b55afd44
better code optimization
2020-10-24 10:09:10 -04:00
h00die
eb665dae7a
warn of possible external modules which are -x
2020-10-21 17:00:32 -04:00
h00die
bda836dc65
warn of possible external modules which are -x
2020-10-21 16:57:22 -04:00
h00die
4eac4882b5
more accurate external loader error
2020-10-18 21:03:13 -04:00
Alan Foster
43ecb41575
Use and semantics when searching for text
2020-08-19 15:08:55 +01:00
Alan Foster
f8523cb3e2
Add additional tests for edge cases
2020-08-19 09:37:03 +01:00
Alan Foster
baa33df45d
Always use module cache for searching
2020-08-14 19:14:54 +01:00
Alan Foster
2439342aba
Add consistent error logging for module loading
2020-06-23 11:15:08 +01:00
Adam Galway
1a2bf98222
creates standard elog & updates exisiting usages
2020-06-22 12:48:39 +01:00
cn-kali-team
38176266f9
Check encoding
2020-04-19 09:54:04 +08:00
cn-kali-team
cca50b6cfa
fix #13150
2020-04-18 13:21:46 +08:00
Brent Cook
ce991071e4
Land #12524 , update most python code with python 3 compatibility
2019-12-23 14:49:08 -06:00
wvu-r7
7ce2c63935
Land #12702 , has_check? for modules
2019-12-16 19:50:19 -06:00
Brent Cook
9cc02cb51f
Land #12643 , add additional example exploit modules
2019-12-16 11:34:33 -06:00
Adam Galway
debded62e3
add has_check? to Module & Scanner classes
2019-12-11 13:26:32 +00:00
Jeffrey Martin
662a040154
Revert "Land #12695 , Fix incorrect check status for aux modules returned by search"
...
This reverts commit 7bac2f7618 , reversing
changes made to 049986c59a .
2019-12-10 10:24:10 -06:00
Adam Galway
073f956578
avoids Scanner methods when reading for check
2019-12-10 14:21:17 +00:00
h00die
ce7a33abf5
example module review
2019-12-05 14:47:29 -05:00
Brent Cook
010cfe2d65
=~ / match?
2019-12-02 09:03:58 -06:00
Brent Cook
0f6cab0f7b
prefer starts_with? and ends_with? over creating new strings
2019-12-02 09:03:58 -06:00
h00die
da506c9684
dont load examples and syntax fixes
2019-11-29 09:11:44 -05:00
Cristina Muñoz
311b03af93
Action remainder of code review changes.
...
- Revert files that will only run as python2.
- Remove superfluous calls to list()
- Other minor cleanup
2019-11-01 19:24:22 -07:00
Cristina Muñoz
8563a29003
Convert all python code to python3. Fixes #12506 .
2019-10-31 14:16:14 -07:00
Adam Cammack
ba9c46ee91
Remove CheckCodes kludge from external modules
...
Now that the new CheckCode class can add boilerplate human text by
itself we no longer need the hash of built-in values.
2019-10-15 16:24:35 -05:00
Adam Cammack
b98327472a
Correct realname calls in the cache to fullname
2019-08-30 15:38:45 -05:00
Adam Cammack
bcccfd86b8
Teach module cache about realname
...
Also uses the class refname where appropriate since an instances refname
reflects the alias currently in use and if a module is reloaded while
using an alias the old behavior would generate spurious cache entries
that would not be cleaned up or modified. Specifically, this could
register a self-referential alias that would cause a stack overflow when
trying to `use` such an alias.
Additionally, some other `fullname`s were changed to `realname`s for
clarity.
2019-08-26 13:26:48 -05:00
Adam Cammack
948918dacb
Use alias when reloading aliased module
...
Also speeds up module reloads by avoiding module instance creating
without a type.
Fixes #12026
2019-08-22 17:58:20 -05:00