Thử thêm cái coi lào
May
30
Disable wget
hrockvn , 08:15 , Bảo mật - Virus , Nhận xét: (0) , Trích dẫn: (0) , Đọc: (1348) , Via Tự viết
Lớn | Vừa | Nhỏ
Lớn | Vừa | Nhỏ
wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.
It is highly recommended that you allow only root to use wget and you restrict all other users from it.
It is highly recommended that you allow only root to use wget and you restrict all other users from it.
- Login to your server as root
- Run the fallowing command
chmod 0700 /usr/bin/wget
Please note that disabling wget might cause some scripts to stop working. A known problem is that Fantastico will stop updating after this. The solution is pretty easy…
Before you disable wget make sure that you do a copy of it with the initial permissions. You can use any name that you want, the fallowing is just an example:
In the Fantastico configuration input the location to wget as:cp /usr/bin/wget /usr/bin/wget_secret
/usr/bin/wget_secret
If for some reason you you want to revert the change you simply have to do:
If you have any questions or suggestions please leave a comment.chmod 0711 /usr/bin/wget
Apache reading = DOS attack ?
exim commands
