117 |
WEB2SSH Command Executor
118 |
122 |
123 |
Command Shortcuts
124 |
128 |
132 |
136 |
140 |
144 |
148 |
149 |
150 |
151 |
152 | """)
153 |
154 | @self.app.route('/execute', methods=['POST'])
155 | def execute_command():
156 | """Execute SSH command and return output."""
157 | command = request.form['command']
158 | output = self.ssh_execute_command(command)
159 | return render_template_string("""
160 |
161 |
162 |
163 |