My Site was Hacked

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 2 años
My site was hacked and I was wondering if some one could tell me what page I would edit in order to delete the  bad code that was injected into my pages.  The code is between the <head> <head/> as a  <style type = "text/css">. See attached graphic. I am using Ver 3.9 and in the middle of an upgrade. The upgrades come too fast to keep up with them. Any way I need to delete this bad code! Can some one point me to the page where I would edit out this bad code?

Thank you
Dan
https://www.pcpagedesigns.com/nop-bad-code1.png
Hace 2 años
Copy some of the portion of the embedded code and search that in entire solution. If it's it the .cshtml/layout files you can easily chop them off. But if the codes injecting manually from any javascript code or some malicious dll file then you need to find it manually.
You can try to inspect with Fiddler https://www.telerik.com/fiddler to inspect if there's any suspicious network calls and search for the URL in the solution could be handy to find it.
Hace 2 años
kazirahiv wrote:
...  search that in entire solution. ...  easily chop them off...

"solution"?  His web site was hacked, not his development environment.
He could download all the site's .cshtml and .css files, and then search them locally.  Then replace the entire hacked file with the original version (from source code).

(but it's a month later, and I'm sure he's resolved it since ;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.