https://blog.csdn.net/weixin_43583637/article/details/102828013
在执行getshell.sh时报错
www-data@dc-8:/tmp$ ./getshell.sh -m netchat
./getshell.sh -m netchat
bash: ./getshell.sh: /bin/bash^M: bad interpreter: No such file or directory
原因是文档格式不对
使用vim 打开getshell.sh
在末行命令行中输入 :set ff查看fileformat
在末行命令行中修改文件格式:set ff=unix