Why we use Microsoft Office !?

as we know Microsoft office is a popular software used by most of the organization which make it easy for us to phish the victims because most of the victims trust it

Introduction To VBA

first let’s open Microsoft word on windows 10 of the victim machine

Untitled

now as we see we opened a word on the victim machine now click on view and select macro

Untitled

as we see we now created a macro called MyMacro

Untitled

as we see it lunched the VB editor with a sub method called my macro as a beginning of our code

now let’s take a look about the variables

Untitled

as we see there is a keyword called Dim which is the declaration word of the variables followed by the name of the variable and then it’s data type

Dim remo-str As String #This Is A String
Dim remo-lon As Long #This Is A 64bit Intger
Dim remo-point As LongPtr #This Is A Memory Pointer

Conditional Statements

we will learn the syntax of the visual basic in the conditions

now look at this code sample

Sub MyMacro()

Dim myLong As Long

myLong = 1

If myLong < 5 then
	MsgBox ("True")
Else
	MsgBox ("False")
End If

End Sub