-
Notifications
You must be signed in to change notification settings - Fork 19
/
Start.ps1
66 lines (64 loc) · 2.52 KB
/
Start.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$ScriptRun = Get-Location
Function Menu
{
Clear-Host
Do
{
Clear-Host
Write-Host -Object '___________.__ __ ___ ___ __ ' -ForegroundColor Red
Write-Host -Object '\__ ___/| |_________ ____ _____ _/ |_ / | \ __ __ _____/ |_ ' -ForegroundColor Red
Write-Host -Object ' | | | | \_ __ \_/ __ \\__ \\ __\/ ~ \ | \/ \ __\' -ForegroundColor Red
Write-Host -Object ' | | | Y \ | \/\ ___/ / __ \| | \ Y / | / | \ | ' -ForegroundColor Blue
Write-Host -Object ' |____| |___| /__| \___ >____ /__| \___|_ /|____/|___| /__| ' -ForegroundColor Blue
Write-Host -Object ' \/ \/ \/ \/ \/ ' -ForegroundColor Blue
Write-Host -Object '****************************'
Write-Host -Object '****************************'
Write-Host -Object ' Follow the white rabbit'
Write-Host -Object '****************************'
Write-Host -Object ''
Write-Host -Object '1. Prepare Environment '
Write-Host -Object '2. Tampering OS Security '
Write-Host -Object '3. Footprinting and Reconnaissance '
Write-Host -Object '4. Gaining and Maintaining Access '
Write-Host -Object '5. Network Discovery and Access '
Write-Host -Object '6. Data Exfiltration '
Write-Host -Object '7. Clean Up '
Write-Host -Object 'Q. Quit'
Write-Host -Object ''
Write-Host -Object '****************************'
Write-Host -Object '*********@MiladMSFT*********'
Write-Host -Object $errout
$Menu = Read-Host -Prompt '(0-6 or Q to Quit)'
switch ($Menu)
{
1
{."$ScriptRun\scripts\prepare.ps1"
pause}
2
{."$ScriptRun\scripts\tampering.ps1"
pause}
3
{."$ScriptRun\scripts\scanning.ps1"
pause}
4
{."$ScriptRun\scripts\gainmain.ps1"
pause}
5
{."$ScriptRun\scripts\network.ps1"
pause}
6
{."$ScriptRun\scripts\dataexfiltration.ps1"
pause}
7
{."$ScriptRun\scripts\cleanup.ps1"
pause}
Q
{Exit}
default
{$errout = 'Invalid option please try again........Try 0-6 or Q only'}
}
}
until ($Menu -eq 'q')
}
# Launch The Menu
Menu