| 1 | .TH FLOODMT "1" "2004\-01\-28" "floodmt" "User Commands" |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | .SH NAME |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | floodmt \- automated bulk comment posting to a Movable Type blog |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | .SH SYNOPSIS |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | .B floodmt |
|---|
| 18 | |
|---|
| 19 | \fI[OPTION]\fR... |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | .SH DESCRIPTION |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | Given the URL of a Movable Type blog\'s comment posting CGI script, the |
|---|
| 28 | |
|---|
| 29 | numeric ID of an entry on that blog, a list of proxies and a file of |
|---|
| 30 | |
|---|
| 31 | messages, |
|---|
| 32 | |
|---|
| 33 | .B floodmt |
|---|
| 34 | |
|---|
| 35 | will spawn five threads. Each of these threads will attempt to post a random |
|---|
| 36 | |
|---|
| 37 | message from the given messages to the given entry on the given blog as |
|---|
| 38 | |
|---|
| 39 | quickly as possible. The user can change how many post attempts each thread |
|---|
| 40 | |
|---|
| 41 | makes. |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | This is be useful for testing your own blog to see how well its anti\-spam |
|---|
| 46 | |
|---|
| 47 | measures work, and whether the server can handle a large number of requests; |
|---|
| 48 | |
|---|
| 49 | some servers have been known to reach a load average of more than 20 while |
|---|
| 50 | |
|---|
| 51 | under testing and it is possible for a crapflood attempt to have an identical |
|---|
| 52 | |
|---|
| 53 | effect to a DDoS attack. |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | .SH OPTIONS |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | .PP |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | .TP |
|---|
| 66 | |
|---|
| 67 | .BI \-c " URL" |
|---|
| 68 | |
|---|
| 69 | Use |
|---|
| 70 | |
|---|
| 71 | .I URL |
|---|
| 72 | |
|---|
| 73 | as the comment posting CGI script. (The filename of this CGI script |
|---|
| 74 | |
|---|
| 75 | will likely be similar to \'mt\-comments.cgi'.) |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | .TP |
|---|
| 80 | |
|---|
| 81 | .BI \-d " URL" |
|---|
| 82 | |
|---|
| 83 | Use |
|---|
| 84 | |
|---|
| 85 | .I URL |
|---|
| 86 | |
|---|
| 87 | as the directory from which to grab the textual translations of |
|---|
| 88 | |
|---|
| 89 | the OCR security codes. Some Movable Type users are dumb enough to make |
|---|
| 90 | |
|---|
| 91 | the contents of this directory accessible over the Web. |
|---|
| 92 | |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | .TP |
|---|
| 96 | |
|---|
| 97 | .BI \-e " NUM" |
|---|
| 98 | |
|---|
| 99 | Post to the entry with the ID |
|---|
| 100 | |
|---|
| 101 | .I NUM. |
|---|
| 102 | |
|---|
| 103 | |
|---|
| 104 | |
|---|
| 105 | .TP |
|---|
| 106 | |
|---|
| 107 | .BI \-f " FILE" |
|---|
| 108 | |
|---|
| 109 | Read a series of messages from |
|---|
| 110 | |
|---|
| 111 | .I FILE. |
|---|
| 112 | |
|---|
| 113 | |
|---|
| 114 | |
|---|
| 115 | .TP |
|---|
| 116 | |
|---|
| 117 | .BI \-h |
|---|
| 118 | |
|---|
| 119 | Display program information and usage help. |
|---|
| 120 | |
|---|
| 121 | |
|---|
| 122 | |
|---|
| 123 | .TP |
|---|
| 124 | |
|---|
| 125 | .BI \-l |
|---|
| 126 | |
|---|
| 127 | Only read in a list of proxies from the given file, list them on standard |
|---|
| 128 | |
|---|
| 129 | output one per line and exit. |
|---|
| 130 | |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | .TP |
|---|
| 134 | |
|---|
| 135 | .BI \-n " NUM" |
|---|
| 136 | |
|---|
| 137 | Each of the five threads will attempt to post a message |
|---|
| 138 | |
|---|
| 139 | .I NUM |
|---|
| 140 | |
|---|
| 141 | times to the given entry. |
|---|
| 142 | |
|---|
| 143 | |
|---|
| 144 | |
|---|
| 145 | .TP |
|---|
| 146 | |
|---|
| 147 | .BI \-o |
|---|
| 148 | |
|---|
| 149 | Turn on forced preview avoidance. If the blog requires you to preview, |
|---|
| 150 | |
|---|
| 151 | FloodMT will fake previewing. |
|---|
| 152 | |
|---|
| 153 | |
|---|
| 154 | |
|---|
| 155 | .TP |
|---|
| 156 | |
|---|
| 157 | .BI \-p " FILE" |
|---|
| 158 | |
|---|
| 159 | Read a list of proxies, one per line, from |
|---|
| 160 | |
|---|
| 161 | .I FILE. |
|---|
| 162 | |
|---|
| 163 | If the file has other unwanted data then FloodMT will try to extract the |
|---|
| 164 | |
|---|
| 165 | proxies regardless. This may slow down reading a list of proxies from files |
|---|
| 166 | |
|---|
| 167 | which have a lot of irrelevant data by a small amount. |
|---|
| 168 | |
|---|
| 169 | |
|---|
| 170 | |
|---|
| 171 | .TP |
|---|
| 172 | |
|---|
| 173 | .BI \-s " URL" |
|---|
| 174 | |
|---|
| 175 | Use |
|---|
| 176 | |
|---|
| 177 | .I URL |
|---|
| 178 | |
|---|
| 179 | as the security code CGI script. |
|---|
| 180 | |
|---|
| 181 | |
|---|
| 182 | |
|---|
| 183 | .TP |
|---|
| 184 | |
|---|
| 185 | .BI \-t " NUM" |
|---|
| 186 | |
|---|
| 187 | Each thread will wait |
|---|
| 188 | |
|---|
| 189 | .I NUM |
|---|
| 190 | |
|---|
| 191 | seconds between each post attempt. |
|---|
| 192 | |
|---|
| 193 | |
|---|
| 194 | |
|---|
| 195 | .TP |
|---|
| 196 | |
|---|
| 197 | .BI \-u |
|---|
| 198 | |
|---|
| 199 | Turn on security code circumvention. If this is turned on, FloodMT will |
|---|
| 200 | |
|---|
| 201 | look in the given security code directory for textual translations of the |
|---|
| 202 | |
|---|
| 203 | OCR images. |
|---|
| 204 | |
|---|
| 205 | |
|---|
| 206 | |
|---|
| 207 | .SH DIAGNOSTICS |
|---|
| 208 | |
|---|
| 209 | |
|---|
| 210 | |
|---|
| 211 | .PP |
|---|
| 212 | |
|---|
| 213 | |
|---|
| 214 | |
|---|
| 215 | .TP |
|---|
| 216 | |
|---|
| 217 | .BI 0 |
|---|
| 218 | |
|---|
| 219 | .B FloodMT |
|---|
| 220 | |
|---|
| 221 | ran successfully. |
|---|
| 222 | |
|---|
| 223 | |
|---|
| 224 | |
|---|
| 225 | .TP |
|---|
| 226 | |
|---|
| 227 | .BI 1 |
|---|
| 228 | |
|---|
| 229 | Something went wrong while FloodMT was sleeping. |
|---|
| 230 | |
|---|
| 231 | |
|---|
| 232 | |
|---|
| 233 | .TP |
|---|
| 234 | |
|---|
| 235 | .BI 2 |
|---|
| 236 | |
|---|
| 237 | An error occurred when opening the message file. |
|---|
| 238 | |
|---|
| 239 | |
|---|
| 240 | |
|---|
| 241 | .TP |
|---|
| 242 | |
|---|
| 243 | .BI 3 |
|---|
| 244 | |
|---|
| 245 | An invalid option was given or an argument was not given to an option which |
|---|
| 246 | |
|---|
| 247 | required it. (In other words, something wasn\'t right about the options you |
|---|
| 248 | |
|---|
| 249 | gave to FloodMT.) |
|---|
| 250 | |
|---|
| 251 | |
|---|
| 252 | |
|---|
| 253 | .TP |
|---|
| 254 | |
|---|
| 255 | .BI 4 |
|---|
| 256 | |
|---|
| 257 | The number of posts you requested wasn\'t an integer. |
|---|
| 258 | |
|---|
| 259 | |
|---|
| 260 | |
|---|
| 261 | .TP |
|---|
| 262 | |
|---|
| 263 | .BI 5 |
|---|
| 264 | |
|---|
| 265 | An error occurred when opening the proxy file. |
|---|
| 266 | |
|---|
| 267 | |
|---|
| 268 | |
|---|
| 269 | .TP |
|---|
| 270 | |
|---|
| 271 | .BI 6 |
|---|
| 272 | |
|---|
| 273 | No messages could be read from the messages file. |
|---|
| 274 | |
|---|
| 275 | |
|---|
| 276 | |
|---|
| 277 | .TP |
|---|
| 278 | |
|---|
| 279 | .BI 7 |
|---|
| 280 | |
|---|
| 281 | The URL of the comment posting script to use wasn\'t given. |
|---|
| 282 | |
|---|
| 283 | |
|---|
| 284 | |
|---|
| 285 | .TP |
|---|
| 286 | |
|---|
| 287 | .BI 8 |
|---|
| 288 | |
|---|
| 289 | No entry ID to post to was given. |
|---|
| 290 | |
|---|
| 291 | |
|---|
| 292 | |
|---|
| 293 | .TP |
|---|
| 294 | |
|---|
| 295 | .BI 9 |
|---|
| 296 | |
|---|
| 297 | The time you gave for each thread to wait between posts wasn\'t an integer. |
|---|
| 298 | |
|---|
| 299 | |
|---|
| 300 | |
|---|
| 301 | .TP |
|---|
| 302 | |
|---|
| 303 | .BI 10 |
|---|
| 304 | |
|---|
| 305 | No messages file was given. |
|---|
| 306 | |
|---|
| 307 | |
|---|
| 308 | |
|---|
| 309 | .TP |
|---|
| 310 | |
|---|
| 311 | .BI 11 |
|---|
| 312 | |
|---|
| 313 | No proxy file was given. |
|---|
| 314 | |
|---|
| 315 | |
|---|
| 316 | |
|---|
| 317 | .SH EXAMPLE |
|---|
| 318 | |
|---|
| 319 | |
|---|
| 320 | |
|---|
| 321 | .nf |
|---|
| 322 | |
|---|
| 323 | $ python floodmt-1.3.2.py \-c http://www.mmdc.net/cgi\-bin/mt/mt\-comments.cgi \-e 3747 \-f /usr/share/games/fortune/linuxcookie \-p proxyfile.txt |
|---|
| 324 | |
|---|
| 325 | .fi |
|---|
| 326 | |
|---|
| 327 | |
|---|
| 328 | |
|---|
| 329 | Attempt to flood entry 3747 of the blog with comment posting CGI URL http://www.mmdc.net/cgi\-bin/mt/mt\-comments.cgi with random Linux kernel mailing list fortune cookies. |
|---|
| 330 | |
|---|
| 331 | |
|---|
| 332 | |
|---|
| 333 | .SH BUGS |
|---|
| 334 | |
|---|
| 335 | |
|---|
| 336 | |
|---|
| 337 | There are almost certainly bugs but if we knew where they where then we\'d have |
|---|
| 338 | |
|---|
| 339 | gotten rid of them. |
|---|
| 340 | |
|---|
| 341 | |
|---|
| 342 | |
|---|
| 343 | .SH AUTHORS |
|---|
| 344 | |
|---|
| 345 | |
|---|
| 346 | |
|---|
| 347 | FloodMT itself is written by wrt, rkz and Dessimat0r. |
|---|
| 348 | |
|---|
| 349 | |
|---|
| 350 | |
|---|
| 351 | .SH COPYRIGHT |
|---|
| 352 | |
|---|
| 353 | |
|---|
| 354 | |
|---|
| 355 | FloodMT and this manual page are licensed under the BSD license. |
|---|
| 356 | |
|---|
| 357 | |
|---|
| 358 | |
|---|
| 359 | .SH SEE ALSO |
|---|
| 360 | |
|---|
| 361 | |
|---|
| 362 | |
|---|
| 363 | .BR python (1) |
|---|
| 364 | |
|---|