This file is indexed.

/usr/share/ogamesim-www/template/sim.cn.html is in ogamesim-www 0.34-1.

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>
                插入探测器报告
              </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="开始模拟">
              </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">下载</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="新任务">任务</a>]
                </td>
                <td class="c" colspan="6">结果</td>
              </tr>
              <tr>
                <th>名字<br>
                  <a href="javascript:clean_gamer('(a|d)');" 
                    title="清除全部">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('a');load_gamer('d');" 
                    title="恢复全部">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('a');save_gamer('d');" 
                    title="保存全部">
                    <img src="img/save.gif" border="0"></a>
                </th>
                <th>攻击者<br>
                  <a href="javascript:clean_gamer('a');" 
                    title="清除">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('a');" 
                    title="恢复">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('a');" 
                    title="保存">
                    <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="插入探测器报告数据"
                  >防守者</a>]<br>
                  <a href="javascript:clean_gamer('d');" 
                    title="清除">
                    <img src="img/delete.gif" border="0"></a>
                  <a href="javascript:load_gamer('d');" 
                    title="恢复">
                    <img src="img/load.gif" border="0"></a>
                  <a href="javascript:save_gamer('d');" 
                    title="保存">
                    <img src="img/save.gif" border="0"></a>
                </th>
                <th><a title="平均攻击结果">
                  AAR</a></th>
                <th><a title="平均防守结果">
                  ADR</a></th>
                <th><a title="最佳攻击结果">
                  BAR</a></th>
                <th><a title="最差攻击结果">
                  WAR</a></th>
                <th><a title="最佳防守结果">
                  BDR</a></th>
                <th><a title="最差防守结果">
                  WDR</a></th>
              </tr>
              <tr><td class="c" colspan="9">技术</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">舰队</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">防御</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">资源</td></tr>
              <tr>
                <th>金属</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">
                    需要运输舰:
                  </td>
                <TMPL_ELSE>
                  <th colspan="4" rowspan="3"></th>
                </TMPL_IF>
              </tr>
              
              <tr>
                <th>晶体</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">大型</th>
                  <th><TMPL_VAR large_chargos></th>
                </TMPL_IF>
              </tr>
              
              <tr>
                <th>重氢</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">小型</th>
                  <th><TMPL_VAR small_chargos></th>
                </TMPL_IF>
              </tr>
              
              <tr><td class="c" colspan="9">模拟选项</td></tr>
              <tr>
                <th colspan="9">
                  模拟次数:
                    <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="开始模拟" />
                      </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">统计</td></tr>
                <tr>
                  <td class="c">玩家</td>
                  <td class="c">金属</td>
                  <td class="c">晶体</td>
                  <td class="c">重氢</td>
                </tr>
                
                <TMPL_LOOP Losses> 
                  <tr><td class="c" colspan="4"><TMPL_VAR loss_name></td></tr>
                  <tr>
                    <th>攻击者</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>防守者</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">金属</td>
                  <td class="c">晶体</td>
                  <td class="c">总计</td>
                </tr>
                <TMPL_LOOP Debris> 
                  <tr><td class="c" colspan="4"><TMPL_VAR dbr_name></td></tr>
                  <tr>
                    <th>不包括地面</th>
                    <th><TMPL_VAR debris_metal></th>
                    <th><TMPL_VAR debris_crystal></th>
                    <th><TMPL_VAR debris_total></th>
                  </tr>
                  <tr>
                    <th>包括地面</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">平均</td>
                  <td class="c">最小</td>
                  <td class="c">最大</td>
                </tr>
                <tr><td class="c" colspan="4">回收</td></tr>
                <tr>
                  <th>不包括地面</th>
                  <th><TMPL_VAR recyclers></th>
                  <th><TMPL_VAR min_recyclers></th>
                  <th><TMPL_VAR max_recyclers></th>
                </tr>
                <tr>
                  <th>包括地面</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">模拟次数</td></tr>
                <tr>
                  <th>回合</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">月球形成机率</td></tr>
                <tr>
                  <th colspan="3">不包括地面</th>
                  <th><TMPL_VAR without_ground_chance_moon></th>
                </tr>
                <tr>
                  <th colspan="3">包括地面</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">胜利者</td>
                  <td class="c">模拟次数</td>
                </tr>
                <tr>
                  <th colspan="2">攻击者</th>
                  <th><TMPL_VAR attacker_win></th>
                  <th><TMPL_VAR asimulations></th>
                </tr>
                <tr>
                  <th colspan="2">防守者</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>