$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>admin - How to find a spam link?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

admin - How to find a spam link?

matteradmin9PV0评论

While analyzing my site I found many requests is done to external link to "friendsit" so I installed string locator plugin and tried to search all source files but I found nothing , I also tried to search the database but I found many results like this in select queries

LIKE '%friendsit%'

how to find this link and remove ?

The external link to an image in the above site but does not exists !!

While analyzing my site I found many requests is done to external link to "friendsit" so I installed string locator plugin and tried to search all source files but I found nothing , I also tried to search the database but I found many results like this in select queries

LIKE '%friendsit%'

how to find this link and remove ?

The external link to an image in the above site but does not exists !!

Share Improve this question asked Nov 8, 2018 at 22:17 zaczac 1034 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 2

Did you try a search from the Posts (Admin) screen? (And also the Pages (Admin) screen?

And sometimes a googles of your site might find it: use something like

search-term site:example 

...depends on how current the googles are for your site. But sometimes works well.

Added

To answer your question/comment: Remember that there is no 'source code' (as such) for a page content (assuming you found the text via a search via Admin, Page). Only the page content as shown in the editor (via Admin, Page) that needs to be changed. (Look at Text mode.)

Now, it is possible that there is some hack of your theme/plugins (if you found the text via the googles), so you should carefully look everywhere and update/change everything: credentials (host, ftp, WP admin-level users); update WP/themes/plugins from repository; check for code in custom functions.php files and any Child Themes; and manually look for bad files (including hidden) in all site folders via FTP; remove unused and old/not-updated-lately themes/plugins.

See my post about 'de-hacking' a site with details: https://securitydawg/recovering-from-a-hacked-wordpress-site/ . I have successfully used this process to clean up sites.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far