I know there is a way to find php script that send spam from your server, but I have a different issue. I'm having issue with repeating php code that is sending tones of queries to database and I cannot pin point which code does that. I'm not php developer. I would like to somehow get script and code line that is doing this and maybe that way I will be able to reverse check the "repeating" job that is triggering this issue. With mytop I can see that there are tones of queries, nothing else :(
The script is part of wordpress plugin which ain't compromised, maybe buggy.
Sadly the script is running with 100% of resources and blocking access to page.