As a popular open source CMS, wordpress is using for building web site, blog and even for building strong web applications too. Even if there is no programming skill, wordpress can be easy to manage compared to other CMS available in the market. As the availability of thousands of free plugins, made this cms to popular in the market.
Unfortunately recent years, there is lot of spam and hacking case is reported with wordpress blogs and sites, like other opensource cms. It will be a nightmare for programmers and site owners to clean the affected code.
Prevention is better than cure.
Tracking the issues in files and code
How to remove the malicious code injected in wordpress footer? OR removing malicious code from wp_footer()
You have to remove those section completely from your code. You can find an add_action( hooks, which will be adding into your wp_footer() function and that too have to remove. If you decrypt the code you can see some redirection like this
Hope this will help someone to solve the issue in there. If you have any question please contact us, we will help you.