-
Notifications
You must be signed in to change notification settings - Fork 807
Elastic with framework #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…read to stop. We can run our program while the thread stops
…h) and server lock is not a singleton anymore
…in network/tools no message
…t always have permissions to uppload to C:\Windows)
… into class methods)
715daf8
to
47160c1
Compare
@@ -34,197 +35,68 @@ class ElasticGroovyExploiter(HostExploiter): | |||
|
|||
DOWNLOAD_TIMEOUT = 300 # copied from rdpgrinder | |||
|
|||
# Both commands are prepared for use in future development |
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.
remove these commands and use the ones on model_init_.py
return False | ||
# Extra escaping required: | ||
config = copy.deepcopy(self._config) | ||
config.dropper_target_path_win_32 = r"C:\\\\Windows\\\\monkey32.exe" |
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.
This is not good for 2 reasons:
- your point was to just escape everything, so just do it (replace '' with '\'). That way if the target path actually changes, we won't have to change it in here as well.
- you're deep copying the entire config just for escaping 2 values for a temporary use. Find another way to do this. Consider changing check_remote_files' parameters.
|
||
def exploit_host(self): | ||
# self.exploit_host_linux() |
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.
commented out code
Feature / Fixes