aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
commit3d87d3c26e8f3defe00ecfb6391a38fa7969676f (patch)
tree64b7bdfdadb497e65e15cc88a9f610263cb34e6b /src/i_insert.go
parentgood commands (diff)
downloadhardflip-3d87d3c26e8f3defe00ecfb6391a38fa7969676f.tar.gz
hardflip-3d87d3c26e8f3defe00ecfb6391a38fa7969676f.tar.bz2
hardflip-3d87d3c26e8f3defe00ecfb6391a38fa7969676f.tar.xz
hardflip-3d87d3c26e8f3defe00ecfb6391a38fa7969676f.tar.zst
hardflip-3d87d3c26e8f3defe00ecfb6391a38fa7969676f.zip
great
Diffstat (limited to '')
-rw-r--r--src/i_insert.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index bdf00ed..354bc71 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/i_insert.go
- * Tue Apr 16 16:32:29 2024
+ * Tue Apr 16 17:11:12 2024
* Joe
*
* insert a new host
@@ -216,6 +216,7 @@ func i_insert_check_ok(data *HardData, in *HostNode) {
switch in.Protocol {
case PROTOCOL_SSH: file[0], file[1] = in.Priv, in.Jump.Priv
case PROTOCOL_RDP: file[0] = in.RDPFile
+ case PROTOCOL_CMD: file[0] = in.Shell[0]
default: return
}
for _, v := range file {