K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / bin /
server ip : 172.67.156.115

your ip : 172.70.179.209

H O M E


Filename/usr/bin/dh_python2
Size1.03 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:53
Last modified21-Dec-2013 22:14
Last accessed05-Jul-2025 15:32
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#! /usr/bin/python

from os.path import exists
from subprocess import call
from sys import argv
from re import compile

OLD = '/usr/share/python/dh_python2'
NEW = '/usr/share/dh-python/dh_python2'
has_dhpython = compile(r'(^|:|\s|,)dh-python($|\s|,|\()').search

binary = OLD
if exists(NEW) and exists('debian/control'):
with open('debian/control', 'r') as fp:
inside = False
for line in fp:
if not line:
break
line_lower = line.lower()
if inside:
if line.startswith((' ', "\t")):
if has_dhpython(line):
binary = NEW
break
continue
elif line.startswith('#'):
continue
inside = False
if line_lower.startswith(('build-depends:', 'build-depends-indep:')):
if has_dhpython(line):
binary = NEW
break
inside = True

argv[0] = binary
exit(call(argv))