suppression log.vbs

This commit is contained in:
Jérôme Bousquié 2016-11-29 09:02:21 +01:00
parent b6a883b5d3
commit 2b23124072

View File

@ -1,9 +0,0 @@
Dim o, n, data, secopt
Set o = CreateObject("WinHttp.WinHttpRequest.5.1")
Set n = CreateObject("wscript.network")
o.setproxy 1
o.Option(4) = 13056 'pour forcer à ignorer toutes les erreurs de certificats
o.open "POST", "https://winlog.dometud.iut-rodez.local/", False
o.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
data = "action=C&username="+n.Username+"&computer="+n.ComputerName
o.send data