As links that infect sites contribute to the attackers?

As links that infect sites contribute to the attackers ?

Today is the first time I was faced with the infected site. I do not know as correctly is called when an attacker gains access to the site and the fruit there and infect a bunch of files with the PHP function eval , and in DB too ...

That brings the proliferation of such code with references to the attacker ?? Well he added the code for 1000 sites, for sites flooded at 7000 left links and then what ??? The sites on the list will be ranked better in search ? They pay him ?? Or is it just mischief ? What is the purpose ?
July 2nd 19 at 13:54
1 answer
July 2nd 19 at 13:56
Somehow you confuse different concepts.
If he uploaded the PHP file to run when accessed from a browser, it can be assumed that the site is hacked! He is there and can post, and download restricted content, etc.
If he was able to place JavaScript on the page, it is only on this page can impact, and in the browser not on the server.
in General, it is not the question ) , I'm not an expert in programming ... But I think it was made from the recovery page password was a request in the header which was included malicious code which gentle removes Jumla in the database .. I repeat I am a beginner in programming. Now the entire site scattered files with great contents and eval

Suspicious line from the database
(11533, 'http://*****/user-profile?view=reset<?php+eval(chr(100).chr(105).chr(101).chr(40).chr(39).chr(49).chr(55).chr(73).chr(53).chr(51).chr(48).chr(86).chr(65).chr(117).chr(52).chr(39).chr(41).chr(59));+?>', ", ", ", 2, 0, '2016-10-09 22:01:03', '0000-00-00 00:00:00', 301),
- Alison83 commented on July 2nd 19 at 13:59

Find more questions by tags viruses