Is it dangerous if I store a copy of an infected website on my local disk?
Asked By: alex
Originally Asked On: 2010-03-29 15:28:48
Asked Via: superuser
First, I’m not into HTML and PHP programming.
A friend’s Joomla site was hacked by some sort of html injection, and now every php and html file has an iframe which is linked to some sort of malware page. And now I want to copy the infected files from the server to my machine and “clean” them. Is this dumb and dangerous?
He received 9 answers
eventually accepting:
Said:
The answer with the highest score with 14 points was:
user12925 Said:
No, it’s not dangerous to store. What you intend to do with them might or might not be dangerous.
If you open these local files in a web browser, it will likely visit those addresses specified in iframes. Or JavaScipt in those files could do something bad like checking for browser security holes.
Open these files in some editor which will not attempt to render the page. Any stupid non-HTML editor will do.
Disable JavaScript in your browser when opening the files
Tell your browser not to open any links not coming from the main domain (will be the local file system in your case). Actually, this is prudent security measure for daily browsing as well.
You can store something poisonous like certain mushrooms for years in your house, but if you don’t intend to eat them, you’re safe.
If the selected answer did not help you out, the other answers might!
All Answers For: Is it dangerous if I store a copy of an infected website on my local disk?
user12925 Said:
Nathan Adams Said:
Pekka 웃 Said:
Jerry Coffin Said:
Tim Lytle Said:
Gordon Said:
jeet232 Said:
Thomas J. Raef Said:
Mokubai Said:
Of course, you should really check out the original question.
The post Is it dangerous if I store a copy of an infected website on my local disk? [ANSWERED] appeared first on Tech ABC to XYZ.