sshocker icon indicating copy to clipboard operation
sshocker copied to clipboard

use sftp.NewRequestServer with custom handlers

Open AkihiroSuda opened this issue 5 years ago • 0 comments

https://github.com/AkihiroSuda/sshocker/blob/3144baeef5209e6cb6428a0cd48aa8fb26a2218e/pkg/reversesshfs/reversesshfs.go#L74-L81

We should use https://pkg.go.dev/github.com/pkg/[email protected]#NewRequestServer to prevent the remote host from accessing unexpected local directories (if sshfs had a bug)

AkihiroSuda avatar Sep 20 '20 18:09 AkihiroSuda