Grab the Malicious Code
Access the email notification sent by Site Scanner which contains the malicious code. Alternatively, you can follow the steps below.
Start by logging in to your Site Scanner dashboard.
From there, select View Report.
On the next page, you will see any malware that the Site Scanner has identified within the Malware section.
Locate your Source Code
Log in to your cPanel control panel.
Click the File Manager button under the Files section.
Select the Web Root directory and click the Go button.
From this folder, select the index.html file, then open it in the HTML Editor, by clicking on the HTML Editor at the top of the page.
This will now display the source code for your website.
Remove the Malicious Code
Once you have located your source code, find and delete the Malware code that has been highlighted by Site Scanner. To help you find the code, you can use the Control+F find function that is available in most website browsers. This will find any specific instances of the search criteria you enter, within the code.