Cylul007 Webshell
Uname
:
Linux ip-172-31-85-249 4.19.0-27-cloud-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
PHP
:
7.4.16
on
fpm-fcgi
Time
:
27 Dec 2024 18:15:26
Path :
/
bin
/
File Upload :
New File
New Folder
Current File : //bin/dh_python2
Download
HOME
#! /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))
Copyright © 2018 - Powered By CytoXploit