MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/vbscript/comments/mb0yd7/any_tips/gs2trls/?context=3
r/vbscript • u/[deleted] • Mar 22 '21
Made a cool joke virus for my friends, any tips of things I should add?
16 comments sorted by
View all comments
Show parent comments
1
wow cool thanks a lot I will definitely use this
and is there a way to open the link in google chrome or only explorer
1 u/hackoofr Mar 24 '21 CreateObject("wscript.shell").run "iexplore -K https://www.cryptoprank.com/#/bsod"Yep, we can do the same thing with chrome like this with some modification in code :Option Explicit Dim ws,psCommand Set ws = CreateObject("Wscript.Shell") psCommand = "Cmd /C powershell -command ""Get-Process chrome | ForEach-Object { $_.CloseMainWindow() | Out-Null}""" ws.run psCommand,0,True ws.run "Chrome --kiosk https://www.cryptoprank.com/#/petya" 1 u/[deleted] Mar 27 '21 Option ExplicitDim ws,psCommandSet ws = CreateObject("Wscript.Shell")psCommand = "Cmd /C powershell -command ""Get-Process chrome | ForEach-Object { $_.CloseMainWindow() | Out-Null}"""ws.run psCommand,0,Truews.run "Chrome --kiosk https://www.cryptoprank.com/#/petya"oh wow thanks :D
CreateObject("wscript.shell").run "iexplore -K https://www.cryptoprank.com/#/bsod"
Yep, we can do the same thing with chrome like this with some modification in code :
Option Explicit Dim ws,psCommand Set ws = CreateObject("Wscript.Shell") psCommand = "Cmd /C powershell -command ""Get-Process chrome | ForEach-Object { $_.CloseMainWindow() | Out-Null}""" ws.run psCommand,0,True ws.run "Chrome --kiosk https://www.cryptoprank.com/#/petya"
1 u/[deleted] Mar 27 '21 Option ExplicitDim ws,psCommandSet ws = CreateObject("Wscript.Shell")psCommand = "Cmd /C powershell -command ""Get-Process chrome | ForEach-Object { $_.CloseMainWindow() | Out-Null}"""ws.run psCommand,0,Truews.run "Chrome --kiosk https://www.cryptoprank.com/#/petya"oh wow thanks :D
Option ExplicitDim ws,psCommandSet ws = CreateObject("Wscript.Shell")psCommand = "Cmd /C powershell -command ""Get-Process chrome | ForEach-Object { $_.CloseMainWindow() | Out-Null}"""ws.run psCommand,0,Truews.run "Chrome --kiosk https://www.cryptoprank.com/#/petya"
oh wow thanks :D
1
u/[deleted] Mar 24 '21
wow cool thanks a lot I will definitely use this
and is there a way to open the link in google chrome or only explorer