Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reading

> Malicious scp server can write arbitrary files to scp target directory

looks like you don't need to `cd /tmp` before running scp, it's enough to scp _to_ a freshly created directory (`scp host:file /tmp/dir1`), inspect its contents and `rm -rf /tmp/dir1` afterwards.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: