AnonSec Shell
Server IP : 52.91.253.208  /  Your IP : 18.116.62.168   [ Reverse IP ]
Web Server : Apache
System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64
User : daemon ( 1)
PHP Version : 7.3.18
Disable Function : NONE
Domains : 3 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /bin/dh_python2
#! /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))

Anon7 - 2022
AnonSec Team