This file is indexed.

/usr/lib/python2.7/dist-packages/impacket/version.py is in python-impacket 0.9.12-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
# Copyright (c) 2003-2014 CORE Security Technologies
#
# This software is provided under under a slightly modified version
# of the Apache Software License. See the accompanying LICENSE file
# for more information.
#
# $Id: version.py 1247 2014-07-17 16:01:46Z bethus@gmail.com $
#

import logging
import sys

VER_MAJOR = "0"
VER_MINOR = "9.12"

BANNER = "Impacket v%s.%s - Copyright 2002-2014 Core Security Technologies\n" % (VER_MAJOR,VER_MINOR)

# Here we also change the levelnames
logging.addLevelName(logging.ERROR,'[!]')
logging.addLevelName(logging.WARNING,'[!]')
logging.addLevelName(logging.CRITICAL,'[!]')
logging.addLevelName(logging.INFO,'[*]')
logging.addLevelName(logging.DEBUG,'[+]')

logger = logging.getLogger()
logger.setLevel(logging.INFO)

ch = logging.StreamHandler(sys.stdout)
formatter = logging.Formatter('%(levelname)s %(message)s')
ch.setFormatter(formatter)
logger.addHandler(ch)