A killall command makes this seem like a malicious thread to me. I remember seeing a Youtube video where a guy taught how to make a program and cover up that you were killing apps so the user would have to reboot the computer to fix it.
A killall command makes this seem like a malicious thread to me.
When you pass a process name to killall, it doesn't kill all. Are we going to start verifying the intentions of everyone that posts a question that could remotely be malicious? Not trying to flame you, I just dont see the point, I save my paranoia for the real world where things are actually dangerous.
And for them who dont know commands : http://ss64.com/bash/killall.html
I'm fully aware of what the killall command is and is why I posted that video and commented on seeming malicious. We don't know what conky is nor do we know what is in the script so for all we know you are killing a process to sneak and run a script that does something malicious to a computer. I'm always weary when someone starts asking about process killing and script running from a program.
There is a clear difference in the usage of killall by unkn00wn and the guy in the video. Did you notice he is restarting the process after killing it? I dont know what conky is either (maybe http://en.wikipedia.org/wiki/Conky_%28software%29 ) and maybe he is doing something malicious, but I have no proof, and neither do you. There are a lot of commands that can be used maliciously, doesn't mean every usage is malicious.
Unless the shell script is being created on the fly there shouldn't be a reason to chmod it in code, do it once in a terminal and your set.
BHXSpecter, you should spend time with bash commands.
I've been using Linux distros for 15 years and I'm use to bash commands. Also been programming for 14 years. I only boot up Windows for gaming.
Did you notice he is restarting the process after killing it?.....maybe he is doing something malicious, but I have no proof, and neither do you. There are a lot of commands that can be used maliciously, doesn't mean every usage is malicious.
He is restarting a process, but we have no proof that the script he is calling is the original. Anyway, I never said he was malicious, just that this thread seemed malicious. I know it isn't malicious though because of the chmod call in his code. You would have to run the program with the switch in it as root for it to affect any root owned files/scripts.