-
-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Wip #87
Conversation
the `grep checker` on phpsploit_pipe() could think command output was terminated, while some lines were still missing to get return code.
- implement functional tests @ test/core/core.plugins/
Codecov Report
@@ Coverage Diff @@
## master #87 +/- ##
=======================================
Coverage 58.81% 58.81%
=======================================
Files 69 69
Lines 3249 3249
Branches 607 607
=======================================
Hits 1911 1911
Misses 1139 1139
Partials 199 199 |
Codecov Report
@@ Coverage Diff @@
## master #87 +/- ##
==========================================
+ Coverage 58.34% 58.81% +0.47%
==========================================
Files 69 69
Lines 3212 3249 +37
Branches 606 607 +1
==========================================
+ Hits 1874 1911 +37
Misses 1139 1139
Partials 199 199 |
src/ui/output/wrapper.py
Outdated
@@ -178,7 +178,7 @@ def process_tags(line): | |||
line = colorize(*tag) + line[len(tag[1]):] | |||
|
|||
# colorize «*» patterns from tagged line: | |||
dye = lambda obj: colorize('%White', "« " + obj.group(1) + " »") | |||
dye = lambda obj: colorize('%White', repr(obj.group(1))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not assign a lambda expression, use a def
src/core/plugins/Plugin.py
Outdated
@@ -31,12 +31,14 @@ def __init__(self, path): | |||
path = path[:-1] | |||
self.path = path | |||
self.name = os.path.basename(path) | |||
self.argv = [] # redefined at runtime on run() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least two spaces before inline comment
src/core/session/environment.py
Outdated
return re.match("^[A-Z][A-Z0-9_]+$", name) | ||
|
||
def update(self, dic): | ||
def update(self, new_dict): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cyclomatic complexity is too high in method update. (8)
make it more resilient by testing different timeouts
Code Climate has analyzed commit b3e31a9 and detected 147 issues on this pull request. Here's the issue category breakdown:
Note: there are 14 critical issues. View more on Code Climate. |
No description provided.