javascriptsecuritymalwarephishing

Just opened an HTM file with the following code, is it dangerous?


I received an email from an unknown person and opened an htm file in the attachment file. The following code executed :

<frameset onpageshow="document.location.replace(window.atob('aHR0cHM6Ly9tdXNrLmJ0Y2RvbmF0dmVyLnNpdGUvPzI0NDc1NTgg'));"> 

Did I just execute something that could harm my computer ?

Thank you,

Thomas


Solution

  • It may be dangerous to open email attachments received from untrusted sources, in general.

    In your code, in particular, the following is happening:

    Please, do not open attachments from unknown people and untrusted sources. They may contain malicious contents, phishing and content that may do damage otherwise.