Create CheckDomain.vbs

This commit is contained in:
S3cur3Th1sSh1t
2021-05-28 07:53:17 +02:00
committed by GitHub
parent a30eb0aac6
commit b7c4b3b987
+10
View File
@@ -0,0 +1,10 @@
Sub CheckDomain()
On Error Resume Next
Set objRootDSE = GetObject("LDAP://RootDSE")
If Err.Number <> 0 Then
wscript.Quit
Else
MsgBox ("Evil")
End If
On Error GoTo 0
End Sub