-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathabuse.ps1
109 lines (99 loc) · 1.76 KB
/
abuse.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<#
Author: Doug Finke
Email: [email protected]
Blog: https://dfinke.github.io/
Twitter: https://twitter.com/dfinke
GitHub: https://github.com/dfinke
YouTube: https://www.youtube.com/dougfinke
PowerShell Meetup: https://www.meetup.com/NycPowershellMeetup/
LinkedIn: https://www.linkedin.com/in/douglasfinke/
#>
param(
[int]$number = 3,
[int]$adjectives = 2,
[int]$seed
)
Import-Module ..\UtilityModules\UtilityModules.psm1
$adjectiveList = $(
'bankrupt'
'base'
'caterwauling'
'corrupt'
'cullionly'
'detestable'
'dishonest'
'false'
'filthsome'
'filthy'
'foolish'
'foul'
'gross'
'heedless'
'indistinguishable'
'infected'
'insatiate'
'irksome'
'lascivious'
'lecherous'
'loathsome'
'lubbery'
'old'
'peevish'
'rascaly'
'rotten'
'ruinous'
'scurilous'
'scurvy'
'slanderous'
'sodden-witted'
'thin-faced'
'toad-spotted'
'unmannered'
'vile wall-eyed'
)
$nouns = $(
'Judas'
'Satan'
'ape'
'ass'
'barbermonger'
'beggar'
'block'
'boy'
'braggart'
'butt'
'carbuncle'
'coward'
'coxcomb'
'cur'
'dandy'
'degenerate'
'fiend'
'fishmonger'
'fool'
'gull'
'harpy'
'jack'
'jolthead'
'knave'
'liar'
'lunatic'
'maw'
'milksop'
'minion'
'ratcatcher'
'recreant'
'rogue'
'scold'
'slave'
'swine'
'traitor'
'varlet'
'villain'
'worm'
)
if ($seed) { $null = Get-Random -SetSeed $seed }
1..$number | ForEach-Object {
$choices = Get-RandomSample $adjectiveList $adjectives
"You {0} {1}!" -f ($choices -join ', '), ($nouns | Get-Random )
}