Find Jobs
Hire Freelancers

linux script or command line to clean hacked files

$30 USD

Terminado
Publicado hace alrededor de 11 años

$30 USD

Pagado a la entrega
I have a server what was hacked due to a breach when I was reinstalling mod-security and firewall. All .htaccess files were filled with a spammer code injected. In attachment you will see an example of one of the .htaccess file injected. Note that have good lines with correct codes, these can´t be deleted. The inected lines is in the middle of the file, after a lot of blank lines. I need a script or command line to search all .htaccess in /home/users folders and clean the injected code of each .htaccess file. It´s important do first a backup of each .htacces file in /home/bkp_htaccess_injected folder, and preserv any other commands what is not the the injected code. I prefer a command line. 4 actions must be taken: 1) copy the .htaccess to /home/bkp_htaccess_injected 2) The injected code starts after a lot of blank lines, with "" and ends with "". Inside this tags are many lines with different words in the middle. Just delete all text in the middle of these two tags. 3) Also have a commented line after "" with a hash number, what I want to be deleted too. 4) Finally, delete "" tags and blank lines. Access to the server is impossible, only us. You can use the attachment to produce the command and send to me, I will use in my server. If the code not work i will call back to you to repair the command and try again until code works. I use CENTOS 6.3 x86_64 Fast job please. Cheap and fast will get the work. Regards.
ID del proyecto: 4355939

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I can do this
$30 USD en 3 días
4,9 (8 comentarios)
3,5
3,5
9 freelancers están ofertando un promedio de $33 USD por este trabajo
Avatar del usuario
Please check PM
$40 USD en 1 día
5,0 (151 comentarios)
7,5
7,5
Avatar del usuario
Please, See my private Message.
$50 USD en 2 días
5,0 (59 comentarios)
6,5
6,5
Avatar del usuario
!00% tested command ..... I personally have tested it to your given .htaccess file. Working Like charm. Just reply me.
$30 USD en 1 día
5,0 (29 comentarios)
4,9
4,9
Avatar del usuario
hi I can write a program for find and replace injected codes in files ready to start..
$30 USD en 3 días
5,0 (3 comentarios)
2,6
2,6
Avatar del usuario
I have a lot of years of experience programming and my wife is pregnant so need the extra cash. I've already finished the script
$30 USD en 0 día
5,0 (2 comentarios)
2,2
2,2
Avatar del usuario
Greetings, I am interested in your project. I can create a Korn shell script to complete the tasks your described. I am available to begin work on your project immediately. -Matt
$30 USD en 0 día
5,0 (1 comentario)
0,2
0,2
Avatar del usuario
I'm system admin for many years. I can do script.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am comfortable with command line tools and I can propose you a command line quickly. Check your PM.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de BRAZIL
Sao Paulo, Brazil
5,0
22
Miembro desde ene 1, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.