This file is indexed.

/usr/share/ogamesim-www/template/sim.sp.html is in ogamesim-www 0.34-3.

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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
<html>
  <head>
    <title><TMPL_VAR title> [<TMPL_VAR cpu>xCPU detected]</title>
    <link rel="stylesheet" href="css/base.css" type="text/css" />
    <link rel="SHORTCUT ICON" href="img/logo.gif" />
    <TMPL_IF script_url>
      <script type="text/javascript" src="sim.js"></script>
    </TMPL_IF> 
  </head>
  <body>
    <TMPL_IF get_report>
      <TMPL_IF report_parsed>
        <script language="JavaScript">
          <TMPL_LOOP FromRep>
            window.opener.document.
              getElementsByName('<TMPL_VAR item>')[0].value =
            '<TMPL_VAR value>';
            window.close();
          </TMPL_LOOP>
        </script>
      <TMPL_ELSE>
        <form method="post">
          <table align="center">
            <tr>
              <td>
                Pega el informe de espionaje
              </td>
            </tr>
            <tr>
              <td>
                <textarea cols="60" rows="25" name="report"></textarea>
              </td>
            </tr>
            <tr>
              <th>
                <input type="hidden" name="get_report" value="1">
                <input type="hidden" name="lang" value="<TMPL_VAR lang>">
                <input type="submit" value="Siguiente">
              </th>
            </tr>
          </table>
        </form>
      </TMPL_IF>
    <TMPL_ELSE>
      <form method="post">
        <input type="hidden" name="lang" value="<TMPL_VAR lang>" />
        <table align="center">
        <tr>
          <td>
            <table align="center">
              <tr>
                <td class="c" colspan="4"><a 
                  href='mailto:dimka@uvw.ru?subject="<TMPL_VAR title>"'
                  ><TMPL_VAR title></a> [<a href="http://www.o-o-d.com/tool/sim/sim.tar.bz2">Descargar</a>]
                </td>
                <td class="c" colspan="5" align="center">
                  <TMPL_LOOP Langs>
                    <a href="<TMPL_VAR langurl>" 
                       title="<TMPL_VAR langname>"
                       border="0"
                    ><img src="img/flags/<TMPL_VAR langflag>"
                          alt="<TMPL_VAR langid>"
                     ></a>
                  </TMPL_LOOP>
                </td>
              </tr>
              <tr>
                <td class="c" colspan="3">
                [<a href="<TMPL_VAR script_name>?lang=<TMPL_VAR lang>" 
          		    title="Limpia los datos">Nuevo</a>]
                </td>
                <td class="c" colspan="6">Resultados</td>
              </tr>
              <tr>
                <th>Nombre<br>
                  <a href="javascript:clean_gamer('(a|d)');" 
                    title="Limpiar Todo">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('a');load_gamer('d');" 
                    title="Restablecer Todo">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('a');save_gamer('d');" 
                    title="Salvar Todo">
                    <img src="img/save.gif" border="0"></a>
                </th>
                <th>Atacante<br>
                  <a href="javascript:clean_gamer('a');" 
                    title="Limpiar">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('a');" 
                    title="Restablecer">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('a');" 
                    title="Salvar">
                    <img src="img/save.gif" border="0"></a>
                </th>
                <th>[<a 
                  href="javascript:create_window_for_get_report('<TMPL_VAR script_url>','<TMPL_VAR lang>')"
                  title="Insertar datos del informe de espionaje"
                  >Defensor</a>]<br>
                  <a href="javascript:clean_gamer('d');" 
                    title="Limpiar">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('d');" 
                    title="Restablecer">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('d');" 
                    title="Salvar">
                    <img src="img/save.gif" border="0"></a>
                </th>
                <th><a title="Valor Medio de los Resultados del Atacante">
                  VMRA</a></th>
                <th><a title="Valor Medio de los Resultados del Defensor">
                  VMRD</a></th>
                <th><a title="Mejores Resultados del Atacante">
                  MRA</a></th>
                <th><a title="Peores Resultados del Atacante">
                  PRA</a></th>
                <th><a title="Mejores Resultados del Defensor">
                  MRD</a></th>
                <th><a title="Peores Resultados del Defensor">
                  PRD</a></th>
              </tr>
              <tr><td class="c" colspan="9">Tecnologias</td></tr>

              <tr>
                <th><TMPL_VAR attack_name></th>
                <th>
                  <input type="text" size="2" name="aattack" 
                    value="<TMPL_VAR aattack>" />
                </th>
                <th>
                  <input type="text" size="2" name="dattack" 
                    value="<TMPL_VAR dattack>" />
                </th>
                <th></th><th></th><th></th><th></th><th></th><th></th>
              </tr>
              
              <tr>
                <th><TMPL_VAR shield_name></th> 
                <th>
                  <input type="text" size="2" name="ashield" 
                    value="<TMPL_VAR ashield>" />
                </th>
                <th>
                  <input type="text" size="2" name="dshield" 
                    value="<TMPL_VAR dshield>" />
                </th>
                <th></th><th></th><th></th><th></th><th></th><th></th>
              </tr>
              
              <tr>
                <th><TMPL_VAR armory_name></th> 
                <th>
                  <input type="text" size="2" name="aarmory" 
                    value="<TMPL_VAR aarmory>" />
                </th>
                <th>
                  <input type="text" size="2" name="darmory" 
                    value="<TMPL_VAR darmory>" />
                </th>
                <th></th><th></th><th></th><th></th><th></th><th></th>
              </tr>

              <tr><td class="c" colspan="9">Flotas</td></tr>
              
              <TMPL_LOOP Fleet>
                <tr>
                  <th><TMPL_VAR unit></th>
                  <th><TMPL_IF present_attacker>
                      <input type="text" size="7" 
                        name="a<TMPL_VAR no>" value="<TMPL_VAR acount>"/>
                    </TMPL_IF>
                  </th>
                  <th>
                    <input type="text" size="7" 
                      name="d<TMPL_VAR no>" value="<TMPL_VAR dcount>"/>
                  </th>
                  <th>
                    <TMPL_IF present_attacker>
                      <TMPL_VAR average_attacker>
                    </TMPL_IF>
                  </th>
                  <th><TMPL_VAR average_defender></th>
                  <TMPL_IF present_attacker>
                    <th><TMPL_VAR best_attacker></th>
                    <th><TMPL_VAR worst_attacker></th>
                  <TMPL_ELSE>
                    <th colspan="2"></th>
                  </TMPL_IF>
                  <th><TMPL_VAR best_defender></th>
                  <th><TMPL_VAR worst_defender></th>
                </tr>
              </TMPL_LOOP>
              
              <tr><td class="c" colspan="9">Defensas</td></tr>
              
              <TMPL_LOOP Ground>
                <tr>
                  <th><TMPL_VAR unit></th>
                  <th><TMPL_IF present_attacker>
                      <input type="text" size="7" 
                        name="a<TMPL_VAR no>" value="<TMPL_VAR acount>"/>
                    </TMPL_IF>
                  </th>
                  <th>
                    <input type="text" size="7" 
                      name="d<TMPL_VAR no>" value="<TMPL_VAR dcount>"/>
                  </th>
                  <th><TMPL_VAR average_attacker></th>
                  <th><TMPL_VAR average_defender></th>
                  <!--
                  <th><TMPL_VAR best_attacker></th>
                  <th><TMPL_VAR worst_attacker></th>
                  --><th colspan="2"></th>
                  <th><TMPL_VAR best_defender></th>
                  <th><TMPL_VAR worst_defender></th>
                </tr>
              </TMPL_LOOP>
              
              <tr><td class="c" colspan="9">Recursos</td></tr>
              <tr>
                <th>Metal</th>
                <th></th>
                <th>
                  <input type="text" size="9" 
                          name="dmetal" value="<TMPL_VAR dmetal>" />
                </th>
                <th colspan="2"><TMPL_VAR ametal></th>
                <TMPL_IF show_statistic>
                  <td class="c" colspan="4">
                    Naves de carga necesarias:
                  </td>
                <TMPL_ELSE>
                  <th colspan="4" rowspan="3"></th>
                </TMPL_IF>
              </tr>
              
              <tr>
                <th>Cristal</th>
                <th></th>
                <th>
                  <input type="text" size="9" 
                          name="dcrystal" value="<TMPL_VAR dcrystal>" />
                </th>
                <th colspan="2"><TMPL_VAR acrystal></th>
                <TMPL_IF show_statistic>
                  <th colspan="3">Grandes</th>
                  <th><TMPL_VAR large_chargos></th>
                </TMPL_IF>
              </tr>
              
              <tr>
                <th>Deuterio</th>
                <th></th>
                <th>
                  <input type="text" size="9" 
                          name="ddeut" value="<TMPL_VAR ddeut>" />
                </th>
                <th colspan="2"><TMPL_VAR adeut></th>
                <TMPL_IF show_statistic>
                  <th colspan="3">Pequeñas</th>
                  <th><TMPL_VAR small_chargos></th>
                </TMPL_IF>
              </tr>
              
              <tr><td class="c" colspan="9">Opciones</td></tr>
              <tr>
                <th colspan="9">
                  Simulaciones:
                    <input type="text" name="simulations"
                      value="<TMPL_VAR simulations>" size="3">
                </th>
              </tr>
              <tr>
                <td class="c" colspan="9">
                  <table width="100%">
                    <tr>
                      <td width="120">
                        <TMPL_IF counter>
                          <script language="JavaScript">
                            show_counter(<TMPL_VAR counter>);
                          </script>
                        </TMPL_IF>
                      </td>
                      <td align="center">
                        <input type="submit" value="Siguiente" />
                      </td>
                      <td width="120"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td valign="top">
            <TMPL_IF show_statistic>
              <table>
                <tr><td class="c" colspan="4">Estadísticas</td></tr>
                <tr>
                  <td class="c">Jugador</td>
                  <td class="c">Metal</td>
                  <td class="c">Cristal</td>
                  <td class="c">Deuterio</td>
                </tr>
                
                <TMPL_LOOP Losses> 
                  <tr><td class="c" colspan="4"><TMPL_VAR loss_name></td></tr>
                  <tr>
                    <th>Atacante</th>
                    <th><TMPL_VAR attacker_loss_metal></th>
                    <th><TMPL_VAR attacker_loss_crystal></th>
                    <th><TMPL_VAR attacker_loss_deut></th>
                  </tr>
                  <tr>
                    <th>Defensor</th>
                    <th><TMPL_VAR defender_loss_metal></th>
                    <th><TMPL_VAR defender_loss_crystal></th>
                    <th><TMPL_VAR defender_loss_deut></th>
                  </tr>
                </TMPL_LOOP>

                <tr><td colspan="4"></td></tr>
                
                <tr>
                  <td class="c"></td>
                  <td class="c">Metal</td>
                  <td class="c">Cristal</td>
                  <td class="c">Total</td>
                </tr>
                <TMPL_LOOP Debris> 
                  <tr><td class="c" colspan="4"><TMPL_VAR dbr_name></td></tr>
                  <tr>
                    <th>Excluir defensas</th>
                    <th><TMPL_VAR debris_metal></th>
                    <th><TMPL_VAR debris_crystal></th>
                    <th><TMPL_VAR debris_total></th>
                  </tr>
                  <tr>
                    <th>Defensas a los escombros</th>
                    <th><TMPL_VAR with_ground_debris_metal></th>
                    <th><TMPL_VAR with_ground_debris_crystal></th>
                    <th><TMPL_VAR with_ground_debris_total></th>
                  </tr>
                </TMPL_LOOP>
                
                <tr><td colspan="4"></td></tr>
                <tr>
                  <td class="c"></td>
                  <td class="c">Promedio</td>
                  <td class="c">Mínimo</td>
                  <td class="c">Máximo</td>
                </tr>
                <tr><td class="c" colspan="4">Recicladores</td></tr>
                <tr>
                  <th>Excluir defensas</th>
                  <th><TMPL_VAR recyclers></th>
                  <th><TMPL_VAR min_recyclers></th>
                  <th><TMPL_VAR max_recyclers></th>
                </tr>
                <tr>
                  <th>Defensas a los escombros</th>
                  <th><TMPL_VAR wg_recyclers></th>
                  <th><TMPL_VAR wg_min_recyclers></th>
                  <th><TMPL_VAR wg_max_recyclers></th>
                </tr>
                
                <tr><td class="c" colspan="4">Simulaciones</td></tr>
                <tr>
                  <th>Rondas</th>
                  <th><TMPL_VAR rounds></th>
                  <th><TMPL_VAR min_rounds></th>
                  <th><TMPL_VAR max_rounds></th>
                </tr>

                <tr><td colspan="4"></td></tr>
                <tr><td class="c" colspan="4">Probabilidad de Luna</td></tr>
                <tr>
                  <th colspan="3">Excluir defensas</th>
                  <th><TMPL_VAR without_ground_chance_moon></th>
                </tr>
                <tr>
                  <th colspan="3">Defensas a los escombros</th>
                  <th><TMPL_VAR with_ground_chance_moon></th>
                </tr>
                
                <tr><td colspan="4"></td></tr>
                <tr>
                  <td class="c" colspan="2"></td>
                  <td class="c">Victória</td>
                  <td class="c">Simulaciones</td>
                </tr>
                <tr>
                  <th colspan="2">Atacante</th>
                  <th><TMPL_VAR attacker_win></th>
                  <th><TMPL_VAR asimulations></th>
                </tr>
                <tr>
                  <th colspan="2">Defensor</th>
                  <th><TMPL_VAR defender_win></th>
                  <th><TMPL_VAR dsimulations></th>
                </tr>
                
              </table>
            </TMPL_IF>
          </td>
        </tr></table>
      </form>
    </TMPL_IF>
  </body>
<!--
<TMPL_VAR debug>
-->
</html>