%PDF- %PDF- 403WebShell
403Webshell
Server IP : 79.170.40.229  /  Your IP : 18.119.163.236
Web Server : Apache
System : Linux web232.extendcp.co.uk 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64
User : 1stforcarhirealicante.com ( 296923)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/lib/rpm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/rpm/python-macro-helper
from distutils.sysconfig import get_python_lib
from platform import python_version_tuple
import sys


if __name__ == "__main__":

    if len(sys.argv) < 2:
        sys.stderr.write("Usage: %s <command>\n" % sys.argv[0])
        sys.exit(1)
    
    if sys.argv[1] == "version":
        sys.stdout.write(".".join(python_version_tuple()[:2]))
        sys.exit(0)

    if sys.argv[1] == "sitelib":
        sys.stdout.write(get_python_lib())
        sys.exit(0)

    if sys.argv[1] == "sitearch":
        sys.stdout.write(get_python_lib(1))
        sys.exit(0)

    sys.stderr.write("Unknown command: %s\n" % sys.argv[1])
    sys.exit(1)

Youez - 2016 - github.com/yon3zu
LinuXploit