os is CentOS. In all the terminals i.e F1, F2, F3....F10 PING command is continuously running. I tried to terminate it using CTRL C or quit but unable to stop that command in all the terminals. How to stop that? Howto find batch files which are being run by hackers?
If you are hacked, then the processes that are sending ping are most likely going to restart, even if you kill them. You need to find the files on the system doing this first. I would try to run the following as root to get the PID of any process sending out ping:
Then try grepping the PIDs from lsof to see if you can find the files associated with this.
If ping is being ran as root, or the files that is sending the ping requests are owned by root, you probably need a complete reload of Centos. Otherwise just chmod 000 any malicious files you find or remove them.
Last edited by DukeNuke2; 04-24-2016 at 05:40 AM..
Dear Linux Experts,
On my windows 7 desktop with the help of Vmware workstation (Version 7.1),
created virtual machine and installed Centos 5.7 successfully using ISO image.
Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Hi
First of all I tried lot of forums to create my first expect script. But I am totally stumped at the last step. I am no Linux Admin or ever trained in Linux. I just tried to create the script logically
History :
I need to to change my password across lot of servers in Linux over ssh
... (4 Replies)
I wonder how to stop further loop iterations when conditions gets false e.g.
This file.txt contains the following structure :
1
2
3
4
5
6
7
8
9
10
How to stop iteration when if statement gets false ?
for n in `cat file.txt`
do
if (( n<=5 )) (1 Reply)
My satellite receiver is equipped with busybox, so a small linux version.
That is why I can not use certain commands like #tomorrow in date commands or #date -d "+1 day"
and thus I have to use: day1=$
I want to download every day 6 files from the internet but the filenames consist of the date... (6 Replies)
Hi ,
I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing accept the root ?
can i do this ?
thanks (5 Replies)
Dear All ,
Kindly I have some questions , I need hints or answers please .
I have sparc4 , sun solaries 7 , mail server . i have about 5000 users , with no login shell , or home directories for the users .
they only have mail boxes in /var/mail dir .
now , I do not have any type of... (6 Replies)