This file is indexed.

/usr/share/doc/phantomjs/examples/netlog.coffee is in phantomjs 1.4.0+dfsg-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
page = require('webpage').create()
address = phantom.args[0]

if phantom.args.length is 0
    console.log 'Usage: netlog.coffee <some URL>'
    phantom.exit()
else
    page.onResourceRequested = (req) ->
        console.log 'requested ' + JSON.stringify(req, undefined, 4)

    page.onResourceReceived = (res) ->
        console.log 'received ' + JSON.stringify(res, undefined, 4)

    page.open address, (status) ->
        if status isnt 'success'
            console.log 'FAIL to load the address'
        phantom.exit()