Win32::SysPrivilege - Perl extension for Adjusting Privileges
use Win32::SysPrivilege; #create a super shell (command prompt with SYSTEM Privilege), #all the thingy it execute can inherited to get the SYSTEM Privilege. SysRun('cmd.exe'); #SysRun also support running a process with args too SysRun('taskkill.exe','/F','/IM taskmgr.exe'); AdjustPrivilege(SeImpersonatePrivilege()); #See demo/demo2.pl
Executing others executableslike system(), but execute it with "SYSTEM" privilege
SysRun() AdjustPrivilege() and Privileges Names
demo/Demo1.pl demo/Demo2.pl My Mail: rootkwok <AT> cpan <DOT> org
Baggio, Kwok Lok Chung rootkwok <AT> cpan <DOT> org
Copyright (C) 2009 by Baggio, Kwok Lok Chung
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Win32::SysPrivilege, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::SysPrivilege
CPAN shell
perl -MCPAN -e shell install Win32::SysPrivilege
For more information on module installation, please visit the detailed CPAN module installation guide.