Search Results

Search: Posts Made By: MaRiOsGR
2,354
Posted By MaRiOsGR
It's "good" to see you have spare time for irony,...
It's "good" to see you have spare time for irony,
it has nothing to do with helping, but ofcourse everyone can post everything he likes.

While posting here in the forum I see I'm sure they did...
2,354
Posted By MaRiOsGR
I'm not asking of opinions if I should harden the...
I'm not asking of opinions if I should harden the server or delete the files.
My question is specific about removing specific text into multiple files with shell/script.
maybe the text wouldn't be...
2,354
Posted By MaRiOsGR
how to remove hacking code from multiple files
Hello,

I've located with clamav multiple .js files infected at the end with the above (JS.Trojan.Redir-3) code

var...
2,029
Posted By MaRiOsGR
Thank you for the reply Lem. so in the first...
Thank you for the reply Lem.

so in the first case, where the Letter F appears (F) sda1[0]
I only have to run the commands to rebuild the raid, right ?
2,029
Posted By MaRiOsGR
Broken raid
Hello, I have 2 servers with broken raid 1, but each one gives me a different
error, I dont know what is the difference.

[root@ ~]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6]...
10,970
Posted By MaRiOsGR
Shell script to connect to multiple ssh servers
Hello,

I have access to several linux servers (mostly centos based) located in a DC in another country.
from day to day I need to login to each of them to do some work (they dont have gui/window...
8,354
Posted By MaRiOsGR
that did the trick. Thank you! ...
that did the trick.

Thank you!



---------- Post updated at 02:52 PM ---------- Previous update was at 02:44 PM ----------

Hello,
my intention was not to make your life more difficult and...
8,354
Posted By MaRiOsGR
This worked great. And thank you. but I've...
This worked great.
And thank you.

but I've found a "bug" (i'm the fault),
I've found that in a 5% percent of the .js files the code I want to remove/erase
was not added in the last 3 lines but...
8,354
Posted By MaRiOsGR
This one worked just perfect. Is there any way...
This one worked just perfect.
Is there any way to remove the lines only if the js file includes the text "km0ae9gr6m" ?
8,354
Posted By MaRiOsGR
balajesuri The js files are in random folders for...
balajesuri The js files are in random folders for example vhost/folder1/test.js
or vhost/folder213/my.js
etc etc
so
/var/ww/vhost/*.js wont work
8,354
Posted By MaRiOsGR
itkamaraj copying is not possible, the dirs...
itkamaraj copying is not possible, the dirs contain other files , in total of 100GB +
8,354
Posted By MaRiOsGR
radoulov thank you for the reply. The js files...
radoulov thank you for the reply.
The js files are in random folders for example vhost/folder1/test.js
or vhost/folder213/my.js
etc etc
8,354
Posted By MaRiOsGR
How to remove the last 3 lines from many files?
Hello,

I need to run a command or shell script that will remove the last 3 lines from every .js file that is under the directory /var/ww/vhost/

Can you please help ?

thank you.
2,996
Posted By MaRiOsGR
Locating a hidden file
it seems one of my server's account was compromised.
I caught a perl script running a hack/attack script:

20:23 /usr/bin/perl ./up **.**.**.** 0 120

I've disabled the user etc, but I cannot...
7,255
Posted By MaRiOsGR
thank you for the tip pokerino, but how do I...
thank you for the tip pokerino,
but how do I say "if its more than $ then do this" ?
7,255
Posted By MaRiOsGR
Count the size and send notification
Hello,

I want to do something simple,

I want to count the dir size (du -sh directoryname) and then check if
it is over 100GB.
If it is more than 100GB I want to send a notification , if it...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 07:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy