This file is indexed.

/usr/share/php/data/Horde_ActiveSync/migration/20_horde_activesync_removesynccounters.php is in php-horde-activesync 2.19.2-2.

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
<?php
class HordeActiveSyncRemoveSyncCounters extends Horde_Db_Migration_Base
{
    public function up()
    {
        $this->announce('Removing SyncKeyCounter data from cache.', 'cli.message');
        $sql = 'SELECT * FROM horde_activesync_cache';
        $rows = $this->_connection->selectAll($sql);
        $insert_sql = 'UPDATE horde_activesync_cache SET cache_data = ? WHERE cache_devid = ? AND cache_user = ?';
        foreach ($rows as $row) {
            $data = unserialize($row['cache_data']);
            unset($data['synckeycounter']);
            $row['cache_data'] = serialize($data);
            $this->_connection->update($insert_sql, array($row['cache_data'], $row['cache_devid'], $row['cache_user']));
        }
    }

    public function down()
    {
        // noop
    }

}