https://github.com/evilbytecode/enable-all-tokens
Enable-All-Tokens is a Go-based project designed to adjust and enable a list of specified privileges for the current process token on a Windows operating system. This project can be particularly useful for developers and system administrators who need to programmatically enable various system privileges for their applications.
https://github.com/evilbytecode/enable-all-tokens
go golang privilege-escalation privileged-access-api privileged-access-management winapi windowsapi
Last synced: 15 days ago
JSON representation
Enable-All-Tokens is a Go-based project designed to adjust and enable a list of specified privileges for the current process token on a Windows operating system. This project can be particularly useful for developers and system administrators who need to programmatically enable various system privileges for their applications.
- Host: GitHub
- URL: https://github.com/evilbytecode/enable-all-tokens
- Owner: EvilBytecode
- Created: 2024-07-07T10:20:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-07T11:48:50.000Z (10 months ago)
- Last Synced: 2025-03-26T08:37:32.904Z (about 1 month ago)
- Topics: go, golang, privilege-escalation, privileged-access-api, privileged-access-management, winapi, windowsapi
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Enable-All-Tokens
Enable-All-Tokens is a Go-based project designed to adjust and enable a list of specified privileges for the current process token on a Windows operating system. This project can be particularly useful for developers and system administrators who need to programmatically enable various system privileges for their applications.
## Description
The `Enable-All-Tokens` project provides a simple command-line tool that adjusts and enables a predefined set of Windows privileges. This tool leverages the `golang.org/x/sys/windows` package to interact with Windows APIs, enabling privileges such as `SeDebugPrivilege`, `SeBackupPrivilege`, `SeRestorePrivilege`, and many others.
## Prerequisites
Before running the `Enable-All-Tokens` tool, ensure that you have:
- Go installed on your system.
- The `golang.org/x/sys/windows` package installed. You can install this package using the following command:
```sh
go get golang.org/x/sys/windows
```- Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or improvements.
- Made by evilbytecode aka codepulze.# 1st : Elevated + Enable All Tokens
# 2nd : Elevated Normal Process + Not Enabled All Tokens
