mirror of https://github.com/hak5/omg-payloads.git
readme
parent
696e20b062
commit
0eed700674
|
@ -0,0 +1,30 @@
|
|||
# Starting a PowerShell with administrator permissions in Windows 10/11
|
||||
|
||||
This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine.
|
||||
|
||||
**Category**: Execute
|
||||
|
||||
## Description
|
||||
|
||||
This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine.
|
||||
|
||||
Starting a PowerShell session with administrator privileges means the session has access to features and operations that require high permissions on the Windows operating system.
|
||||
|
||||
Some PowerShell commands require administrator privileges to run properly. Starting PowerShell as an administrator allows you to execute commands that require elevated permissions, such as managing system services, changing security settings, creating or modifying user accounts, installing system-level software, and so on.
|
||||
|
||||
It is important to note that running PowerShell with administrator privileges involves a higher level of responsibility and can cause significant changes to the system. Therefore, it is advisable to be careful and fully understand the effects of operations performed in a session with administrator privileges to avoid unwanted or harmful changes.
|
||||
|
||||
## Dependencies
|
||||
|
||||
* Nothing
|
||||
|
||||
## Example
|
||||
|
||||
- `STRINGLN Get-ExecutionPolicy -List`
|
||||
![](docs/1.png)
|
||||
|
||||
- `STRINGLN Set-ExecutionPolicy Bypass`
|
||||
![](docs/2.png)
|
||||
|
||||
- `STRINGLN Get-ExecutionPolicy -List`
|
||||
![](docs/3.png)
|
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
Loading…
Reference in New Issue