This file is indexed.

/usr/lib/python2.7/dist-packages/gplugs/shakespear.py is in gozerbot 0.99.1-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# plugs/shakespear.py
#
#

""" uses the random lib """

__copyright__ = 'this file is in the public domain'
__revision__ = '$Id: shakespeare.py 517 2006-12-21 05:00:00Z deck $'

from gozerbot.generic import handle_exception
from gozerbot.commands import cmnds
from gozerbot.examples import examples
from gozerbot.plughelp import plughelp
from gozerbot.tests import tests

import re, random

plughelp.add('shakespear', 'display a shakespearean insult')

set_a=["Away I say",
       "Bathe thyself",
       "Be not deaf",
       "Behold thy mirror",
       "Beware my sting",
       "Clean thine ears",
       "Drink up eisel",
       "Eat a crododile",
       "Eat my knickers",
       "Fie upon thee",
       "Forsooth say I",
       "Get thee gone",
       "Get thee hence",
       "Grow unsightly warts",
       "Hear me now",
       "Hear this pox alert",
       "I'll see thee hang'd",
       "Kiss my codpiece",
       "Lead apes in hell",
       "Methinks you stinks",
       "My finger in thine eye",
       ">>Phui<< I say",
       "Remove thine ass hence",
       "Resign not thy day gig",
       "Sit thee on a spit",
       "Sorrow on thee",
       "Swim with leeches",
       "Thou dost intrude",
       "Thy mother wears armor",
       "Trip on thy sword",
       "Tune thy lute",
       "Why, how now putz",
       "Wipe thy ugly face"]
set_b=["artless",
       "bawdy",
       "beslubbering",
       "bootless",
       "cankerous",
       "churlish",
       "cockered",
       "clouted",
       "craven",
       "currish",
       "dankish",
       "dissembling",
       "droning",
       "errant",
       "fawning",
       "fobbing",
       "fool-born",
       "froward",
       "frothy",
       "gleeking",
       "goatish",
       "gorbellied",
       "ill-nurtured",
       "impertinent",
       "incestuous",
       "incurable",
       "infectious",
       "jarring",
       "loggerheaded",
       "lumpish",
       "loutish",
       "mammering",
       "mangled",
       "mewling",
       "paunchy",
       "pribbling",
       "puking",
       "puny",
       "qualling",
       "rank",
       "reeky",
       "roguish",
       "rump-fed",
       "ruttish",
       "saucy",
       "spleeny",
       "spongy",
       "surly",
       "tardy-gaited",
       "tottering",
       "unmuzzled",
       "vain",
       "venomed",
       "warped",
       "wayward",
       "weedy",
       "whoreson",
       "wretched",
       "yeasty"]
set_c=["addlepated",
       "base-court",
       "bat-fowling",
       "beef-witted",
       "beetle-headed",
       "boil-brained",
       "clapper-clawed",
       "clay-brained",
       "codpiece-sniffing",
       "common-kissing",
       "crook-pated",
       "dismal-dreaming",
       "dizzy-eyed",
       "doghearted",
       "dread-bolted",
       "earth-vexing",
       "elf-skinned",
       "fat-kidneyed",
       "fen-sucked",
       "flap-mouthed",
       "fly-bitten",
       "folly-fallen",
       "fool-born",
       "foul-practicing",
       "full-gorged",
       "guts-griping",
       "half-faced",
       "hasty-witted",
       "hedge-born",
       "hell-hated",
       "idle-headed",
       "ill-breeding",
       "ill-nurtured",
       "knotty-pated",
       "mad-brained",
       "milk-livered",
       "motley-minded",
       "onion-eyed",
       "plume-plucked",
       "pottle-deep",
       "pox-marked",
       "reeling-ripe",
       "rough-hewn",
       "rude-growing",
       "rump-fed",
       "shard-borne",
       "sheep-biting",
       "spur-galled",
       "swag-bellied",
       "tardy-gaited",
       "tickle-brained",
       "toad-spotted",
       "unchin-snouted",
       "weather-bitten"]
set_d=["apple-john",
       "baggage",
       "barnacle",
       "bladder",
       "boar-pig",
       "bugbear",
       "bum-bailey",
       "canker-blossom",
       "clack-dish",
       "clotpole",
       "coxcomb",
       "codpiece",
       "death-token",
       "dewberry",
       "dotard",
       "flap-dragon",
       "flax-wench",
       "flea",
       "flirt-gill",
       "foot-licker",
       "fustilarian",
       "giglet",
       "gudgeon",
       "haggard",
       "harpy",
       "hedge-pig",
       "horn-beast",
       "hugger-mugger",
       "jolthead",
       "knave",
       "lewdster",
       "lout",
       "maggot-pie",
       "malt-worm",
       "mammet",
       "measle",
       "minnow",
       "miscreant",
       "moldwarp",
       "mumble-news",
       "nit",
       "nut-hook",
       "pigeon-egg",
       "pignut",
       "pumpion",
       "puttock",
       "ratsbane",
       "rudesby",
       "scut",
       "skainsmate",
       "strumpet",
       "varlot",
       "vassal",
       "wagtail",
       "water-fly",
       "whey-face",
       "winter-cricket"]

def handle_insult(bot, ievent):
    ievent.reply(random.choice(set_a)+" "+random.choice(set_b)+" "+random.choice(set_c)+" "+random.choice(set_d))
    
cmnds.add('insult', handle_insult, 'USER')
examples.add('insult', 'show a shakespearean insult', 'insult')
tests.add('insult')