Sign in to follow this  
Followers 0
ddeerr

Beginner question about Security Management

3 posts in this topic

Hi all,

It seems that in the security functions it is possible to edit Permissions on registry Keys, i said "it seems" because i cannot test most of them due to a lack of uderstanding.

For example :

_Security__AdjustTokenPrivileges($hToken, $fDisableAll, $pNewState, $iBufferLen[, $pPrevState = 0[, $pRequired = 0]])

I don't understand where to get $hToken and $tagtagTOKEN_PRIVILEGES ($pNewState in definition) and i know that's because i don't know what is it, i suppose it's some kind of link to registry, or system access ?

Same in _Security__LookupPrivilegeValue($sSystem, $sName) as i don't know exactly what is it it tried :

_Security__LookupPrivilegeValue("", "Full Control"); for registry on default system ?

or

_Security__LookupPrivilegeValue("", "Read"); for file(s) on default system ?

i know it's incorrect because it's always 0 for result.

I found no help in forum or AutoIt help about that, is there someone that can quickly explain to me about that ?

thanks

:)


MsgBox(0, "Steven Seagal", "Les poches bourrées de Pesos")

Share this post


Link to post
Share on other sites



Save yourself a lot of trouble and download SetACL.exe.

Unless you just want to learn this to kill time between your recreational root canals...

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Save yourself a lot of trouble and download SetACL.exe.

Unless you just want to learn this to kill time between your recreational root canals...

:)

Thanks for your reply.


MsgBox(0, "Steven Seagal", "Les poches bourrées de Pesos")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0