Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Explanation of batch script

14 views
Skip to first unread message

Dan Purgert

unread,
Jul 7, 2021, 2:21:24 PM7/7/21
to
Can you explain HOW this batch script circumvents UAC?
https://github.com/cmdwhoami/whoami_vpn_killswitch.bat
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281

Kerr-Mudd, John

unread,
Jul 7, 2021, 5:43:17 PM7/7/21
to
On Wed, 7 Jul 2021 18:21:19 +0000 (UTC)
Dan Purgert <d...@djph.net> wrote:

> Can you explain HOW this batch script circumvents UAC?
> https://github.com/cmdwhoami/whoami_vpn_killswitch.bat


It uses "runas" to run in a cmd shell. HTH


--
Bah, and indeed Humbug.

JJ

unread,
Jul 7, 2021, 6:57:46 PM7/7/21
to
On Wed, 7 Jul 2021 22:43:20 +0100, Kerr-Mudd, John wrote:
> On Wed, 7 Jul 2021 18:21:19 +0000 (UTC)
> Dan Purgert <d...@djph.net> wrote:
>
>> Can you explain HOW this batch script circumvents UAC?
>> https://github.com/cmdwhoami/whoami_vpn_killswitch.bat
>
> It uses "runas" to run in a cmd shell. HTH

For clarification, it's the `RunAs()` function of Windows Scripting Host,
executed using VBScript. Not the `runas.exe`.
0 new messages