Git Product home page Git Product logo

privileger's Introduction

Privileger

logo

RU

Privileger позволяет вам максимально просто работать с привилегиями в ОС Windows. Присутствуют следующие режимы:

  1. Добавить привилегии аккаунту. Реализовано через взаимодействие с LSA посредством функции LSA LsaAddAccountRights(): Добавление привилегий

  2. Запустить процесс, добавив в его токен конкретную привилегию. Реализовано с помощью функций ImpersonateSelf(), OpenThreadToken(). AdjustTokenPrivileges(), CreateProcessWithTokenW():

Стандартный процесс без нужной привилегии

Успешное получение нужной привилегии

  1. Удалить у пользователя привилегию. Осуществляется через взаимодействие с LSA посредством функции LSA LsaRemoveAccountRights():

Успешное удаление привилегии

  1. Режим поиска. Позволяет обнаруживать на конкретном компьютере объекты, обладающие какой-либо привилегией. Делается через LsaEnumerateAccountsWithUserRight():

Нахождение объектов

EN

Privileger allows you to work with privileges in Windows as easily as possible. There are different modes:

  1. Add privileges to an account. Implemented through interaction with the LSA via the LSA function LsaAddAccountRights(): Adding privileges

  2. Start a process by adding a specific privilege to its token. Implemented by ImpersonateSelf(), OpenThreadToken(). AdjustTokenPrivileges(), CreateProcessWithTokenW():

Standard process without the required privilege

Successful obtaining of the desired privilege

  1. Remove privilege from the user. Performed through interaction with the LSA via the LSA LsaRemoveAccountRights() function:

Successful removal of a privilege

  1. Search mode. Allows to detect objects with some privileges on a particular computer. This is done through LsaEnumerateAccountsWithUserRight():

Finding objects

privileger's People

Contributors

mzhmo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.