metasploitable3/scripts/installs/install_share_autorun.bat

3 lines
185 B
Batchfile

copy C:\vagrant\scripts\installs\setup_linux_share.bat C:\Windows
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v share /t REG_SZ /d "C:\Windows\setup_linux_share.bat" /f