toxyl / ossh

... is a dirty mix of honey and tar, delivered by a fake SSH server.
Other
2 stars 1 forks source link

Failed to parse template string cat #2

Closed toxyl closed 2 years ago

toxyl commented 2 years ago
Failed to parse template string cat: template: cat.gotmpl:6:3: executing "cat" at <file $a1>: error calling file: runtime error: slice bounds out of range [:3] with length 1
toxyl commented 2 years ago

Looking through recorded payloads I suppose this is caused by commands like cat > /tmp/ifconfig which will try to read > as a file. We should be able to fix it once we have #4 and #6 implemented.