Skip to content

Commit edd6cfc

Browse files
committed
add godMode.ps1, change executionpolicy by default
1 parent 1fb5cba commit edd6cfc

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<h1 align="center"> RedSand </h1> <div align="center"> <img src="RedSandLogo.png"><br>Windows SandBox environment for cybersecurity enthusiasts</a><br>
1+
<h1 align="center"> RedSand </h1> <div align="center"> <img src="RedSandLogo.png"><br>Windows SandBox environment for cybersecurity enthusiasts</a><br> </div>
22

3-
[Releases](https://github.com/redcode-labs/RedSand/releases) | [Wiki](https://github.com/redcode-labs/RedSand/wiki)
4-
5-
</div>
3+
[Releases](https://github.com/redcode-labs/RedSand/releases) | [Wiki](https://github.com/redcode-labs/RedSand/wiki)

RedSand.wsb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@
1212
</MappedFolder>
1313
</MappedFolders>
1414
<LogonCommand>
15-
<Command>powershell.exe -ExecutionPolicy Bypass -File C:\users\WDAGUtilityAccount\Desktop\Utils\Scripts\DefaultScripts\setThemes.ps1</Command>
16-
15+
<Command>powershell.exe -ExecutionPolicy Bypass -File C:\users\WDAGUtilityAccount\Desktop\Utils\Scripts\DefaultScripts\setup.ps1</Command>
16+
1717
<!--Feel free to add your own stuff in here, it will auto-run on Log On-->
18+
<!--NOTE: for me, certain scripts combined caused problems, hence I ditched 'setThemes.ps1' for 'setup.ps1' which also includes changing ExecutionPolicy to Unrestricted-->
19+
<!--however, feel free to change the Execution Policy to your liking as well-->
20+
1821
<!--<Command>powershell.exe -ExecutionPolicy Bypass -File C:\users\WDAGUtilityAccount\Desktop\Utils\Scripts\AdditionalScripts\InSandbox\customScript.ps1</Command>-->
1922
<!--just uncomment the line below and REToolkit will be installed after Sandbox boots up-->
20-
<!--<Command>powershell.exe -ExecutionPolicy BYpass -File C:\users\WDAGUtilityAccount\Desktop\Utils\Scripts\AdditionalScripts\InSandbox\installREToolkit.ps1</Command>-->
23+
<!--<Command>powershell.exe -ExecutionPolicy Bypass -File C:\users\WDAGUtilityAccount\Desktop\Utils\Scripts\AdditionalScripts\InSandbox\installREToolkit.ps1</Command>-->
2124

2225
</LogonCommand>
2326
</Configuration>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
New-Item -ItemType Directory -Path "C:\Users\WDAGUtilityAccount\Desktop\GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}" -ErrorAction SilentlyContinue

Utils/Scripts/DefaultScripts/setThemes.ps1 renamed to Utils/Scripts/DefaultScripts/setup.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force
2+
13
$Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize"
24
Set-ItemProperty $Theme AppsUseLightTheme -Value 0
35
Set-ItemProperty $Theme SystemUsesLightTheme -Value 0

0 commit comments

Comments
 (0)