template_server
This commit is contained in:
parent
96ac682c0b
commit
24b3760d2d
@ -9,7 +9,7 @@ Set o = CreateObject("WinHttp.WinHttpRequest.5.1")
|
|||||||
Set n = CreateObject("wscript.network")
|
Set n = CreateObject("wscript.network")
|
||||||
o.setproxy 1
|
o.setproxy 1
|
||||||
o.Option(4) = 13056 'pour forcer à ignorer toutes les erreurs de certificats
|
o.Option(4) = 13056 'pour forcer à ignorer toutes les erreurs de certificats
|
||||||
o.open "POST", "https://winlog.iut.local/", False
|
o.open "POST", "##serverwinlog##", False
|
||||||
o.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
|
o.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
|
||||||
data = "code=#####&action=D&username=" & LCase(n.Username) & "&computer=" & n.ComputerName
|
data = "code=#####&action=D&username=" & LCase(n.Username) & "&computer=" & n.ComputerName
|
||||||
o.send data
|
o.send data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user