Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.143.215.114
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
gyp /
Delete
Unzip
Name
Size
Permission
Date
Action
generator
[ DIR ]
drwxr-xr-x
2022-01-26 14:48
MSVSNew.py
11.77
KB
-rw-r--r--
2013-04-23 10:06
MSVSNew.pyc
9.05
KB
-rw-r--r--
2014-03-07 02:31
MSVSNew.pyo
9.05
KB
-rw-r--r--
2014-03-07 02:31
MSVSProject.py
6.24
KB
-rw-r--r--
2013-02-12 09:57
MSVSProject.pyc
6.88
KB
-rw-r--r--
2014-03-07 02:31
MSVSProject.pyo
6.88
KB
-rw-r--r--
2014-03-07 02:31
MSVSSettings.py
42.31
KB
-rw-r--r--
2013-02-12 09:57
MSVSSettings.pyc
32.93
KB
-rw-r--r--
2014-03-07 02:31
MSVSSettings.pyo
32.93
KB
-rw-r--r--
2014-03-07 02:31
MSVSSettings_test.py
64.31
KB
-rw-r--r--
2013-02-12 09:57
MSVSSettings_test.pyc
30.96
KB
-rw-r--r--
2014-03-07 02:31
MSVSSettings_test.pyo
30.96
KB
-rw-r--r--
2014-03-07 02:31
MSVSToolFile.py
1.76
KB
-rw-r--r--
2013-02-12 09:57
MSVSToolFile.pyc
2.12
KB
-rw-r--r--
2014-03-07 02:31
MSVSToolFile.pyo
2.12
KB
-rw-r--r--
2014-03-07 02:31
MSVSUserFile.py
4.97
KB
-rw-r--r--
2013-02-12 09:57
MSVSUserFile.pyc
4.68
KB
-rw-r--r--
2014-03-07 02:31
MSVSUserFile.pyo
4.68
KB
-rw-r--r--
2014-03-07 02:31
MSVSUtil.py
9.17
KB
-rw-r--r--
2013-04-23 10:06
MSVSUtil.pyc
7.21
KB
-rw-r--r--
2014-03-07 02:31
MSVSUtil.pyo
7.21
KB
-rw-r--r--
2014-03-07 02:31
MSVSVersion.py
13.6
KB
-rw-r--r--
2013-02-12 09:57
MSVSVersion.pyc
11.64
KB
-rw-r--r--
2014-03-07 02:31
MSVSVersion.pyo
11.56
KB
-rw-r--r--
2014-03-07 02:31
__init__.py
20.77
KB
-rw-r--r--
2013-04-23 10:06
__init__.pyc
15.01
KB
-rw-r--r--
2014-03-07 02:31
__init__.pyo
15.01
KB
-rw-r--r--
2014-03-07 02:31
common.py
16.22
KB
-rw-r--r--
2013-04-23 10:06
common.pyc
13.08
KB
-rw-r--r--
2014-03-07 02:31
common.pyo
13.08
KB
-rw-r--r--
2014-03-07 02:31
common_test.py
1.9
KB
-rw-r--r--
2013-04-23 10:06
common_test.pyc
3.25
KB
-rw-r--r--
2014-03-07 02:31
common_test.pyo
3.25
KB
-rw-r--r--
2014-03-07 02:31
easy_xml.py
4.69
KB
-rw-r--r--
2013-02-12 09:57
easy_xml.pyc
4.83
KB
-rw-r--r--
2014-03-07 02:31
easy_xml.pyo
4.83
KB
-rw-r--r--
2014-03-07 02:31
easy_xml_test.py
3.17
KB
-rw-r--r--
2013-02-12 09:57
easy_xml_test.pyc
3.7
KB
-rw-r--r--
2014-03-07 02:31
easy_xml_test.pyo
3.7
KB
-rw-r--r--
2014-03-07 02:31
input.py
105.32
KB
-rw-r--r--
2013-04-23 10:06
input.pyc
55.01
KB
-rw-r--r--
2014-03-07 02:31
input.pyo
54.75
KB
-rw-r--r--
2014-03-07 02:31
mac_tool.py
7.46
KB
-rw-r--r--
2013-04-23 10:06
mac_tool.pyc
7.83
KB
-rw-r--r--
2014-03-07 02:31
mac_tool.pyo
7.83
KB
-rw-r--r--
2014-03-07 02:31
msvs_emulation.py
34.8
KB
-rw-r--r--
2013-04-23 10:06
msvs_emulation.pyc
35.54
KB
-rw-r--r--
2014-03-07 02:31
msvs_emulation.pyo
35.49
KB
-rw-r--r--
2014-03-07 02:31
ninja_syntax.py
5.41
KB
-rw-r--r--
2013-04-23 10:06
ninja_syntax.pyc
5.92
KB
-rw-r--r--
2014-03-07 02:31
ninja_syntax.pyo
5.83
KB
-rw-r--r--
2014-03-07 02:31
sun_tool.py
1.51
KB
-rw-r--r--
2013-02-12 09:57
sun_tool.pyc
2.11
KB
-rw-r--r--
2014-03-07 02:31
sun_tool.pyo
2.11
KB
-rw-r--r--
2014-03-07 02:31
win_tool.py
6.79
KB
-rw-r--r--
2013-02-12 09:57
win_tool.pyc
8.18
KB
-rw-r--r--
2014-03-07 02:31
win_tool.pyo
8.06
KB
-rw-r--r--
2014-03-07 02:31
xcode_emulation.py
41.93
KB
-rw-r--r--
2013-04-23 10:06
xcode_emulation.pyc
38.97
KB
-rw-r--r--
2014-03-07 02:31
xcode_emulation.pyo
37.54
KB
-rw-r--r--
2014-03-07 02:31
xcodeproj_file.py
115.19
KB
-rw-r--r--
2013-04-23 10:06
xcodeproj_file.pyc
85.48
KB
-rw-r--r--
2014-03-07 02:31
xcodeproj_file.pyo
85.15
KB
-rw-r--r--
2014-03-07 02:31
xml_fix.py
2.12
KB
-rw-r--r--
2013-02-12 09:57
xml_fix.pyc
2.6
KB
-rw-r--r--
2014-03-07 02:31
xml_fix.pyo
2.6
KB
-rw-r--r--
2014-03-07 02:31
Save
Rename
# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Utility functions for Windows builds. These functions are executed via gyp-win-tool when using the ninja generator. """ from ctypes import windll, wintypes import os import shutil import subprocess import sys BASE_DIR = os.path.dirname(os.path.abspath(__file__)) def main(args): executor = WinTool() exit_code = executor.Dispatch(args) if exit_code is not None: sys.exit(exit_code) class LinkLock(object): """A flock-style lock to limit the number of concurrent links to one. Uses a session-local mutex based on the file's directory. """ def __enter__(self): name = 'Local\\%s' % BASE_DIR.replace('\\', '_').replace(':', '_') self.mutex = windll.kernel32.CreateMutexW( wintypes.c_int(0), wintypes.c_int(0), wintypes.create_unicode_buffer(name)) assert self.mutex result = windll.kernel32.WaitForSingleObject( self.mutex, wintypes.c_int(0xFFFFFFFF)) # 0x80 means another process was killed without releasing the mutex, but # that this process has been given ownership. This is fine for our # purposes. assert result in (0, 0x80), ( "%s, %s" % (result, windll.kernel32.GetLastError())) def __exit__(self, type, value, traceback): windll.kernel32.ReleaseMutex(self.mutex) windll.kernel32.CloseHandle(self.mutex) class WinTool(object): """This class performs all the Windows tooling steps. The methods can either be executed directly, or dispatched from an argument list.""" def Dispatch(self, args): """Dispatches a string command to a method.""" if len(args) < 1: raise Exception("Not enough arguments") method = "Exec%s" % self._CommandifyName(args[0]) return getattr(self, method)(*args[1:]) def _CommandifyName(self, name_string): """Transforms a tool name like recursive-mirror to RecursiveMirror.""" return name_string.title().replace('-', '') def _GetEnv(self, arch): """Gets the saved environment from a file for a given architecture.""" # The environment is saved as an "environment block" (see CreateProcess # and msvs_emulation for details). We convert to a dict here. # Drop last 2 NULs, one for list terminator, one for trailing vs. separator. pairs = open(arch).read()[:-2].split('\0') kvs = [item.split('=', 1) for item in pairs] return dict(kvs) def ExecStamp(self, path): """Simple stamp command.""" open(path, 'w').close() def ExecRecursiveMirror(self, source, dest): """Emulation of rm -rf out && cp -af in out.""" if os.path.exists(dest): if os.path.isdir(dest): shutil.rmtree(dest) else: os.unlink(dest) if os.path.isdir(source): shutil.copytree(source, dest) else: shutil.copy2(source, dest) def ExecLinkWrapper(self, arch, *args): """Filter diagnostic output from link that looks like: ' Creating library ui.dll.lib and object ui.dll.exp' This happens when there are exports from the dll or exe. """ with LinkLock(): env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out, _ = popen.communicate() for line in out.splitlines(): if not line.startswith(' Creating library '): print line return popen.returncode def ExecManifestWrapper(self, arch, *args): """Run manifest tool with environment set. Strip out undesirable warning (some XML blocks are recognized by the OS loader, but not the manifest tool).""" env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out, _ = popen.communicate() for line in out.splitlines(): if line and 'manifest authoring warning 81010002' not in line: print line return popen.returncode def ExecMidlWrapper(self, arch, outdir, tlb, h, dlldata, iid, proxy, idl, *flags): """Filter noisy filenames output from MIDL compile step that isn't quietable via command line flags. """ args = ['midl', '/nologo'] + list(flags) + [ '/out', outdir, '/tlb', tlb, '/h', h, '/dlldata', dlldata, '/iid', iid, '/proxy', proxy, idl] env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out, _ = popen.communicate() # Filter junk out of stdout, and write filtered versions. Output we want # to filter is pairs of lines that look like this: # Processing C:\Program Files (x86)\Microsoft SDKs\...\include\objidl.idl # objidl.idl lines = out.splitlines() prefix = 'Processing ' processing = set(os.path.basename(x) for x in lines if x.startswith(prefix)) for line in lines: if not line.startswith(prefix) and line not in processing: print line return popen.returncode def ExecAsmWrapper(self, arch, *args): """Filter logo banner from invocations of asm.exe.""" env = self._GetEnv(arch) # MSVS doesn't assemble x64 asm files. if arch == 'environment.x64': return 0 popen = subprocess.Popen(args, shell=True, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out, _ = popen.communicate() for line in out.splitlines(): if (not line.startswith('Copyright (C) Microsoft Corporation') and not line.startswith('Microsoft (R) Macro Assembler') and not line.startswith(' Assembling: ') and line): print line return popen.returncode def ExecRcWrapper(self, arch, *args): """Filter logo banner from invocations of rc.exe. Older versions of RC don't support the /nologo flag.""" env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) out, _ = popen.communicate() for line in out.splitlines(): if (not line.startswith('Microsoft (R) Windows (R) Resource Compiler') and not line.startswith('Copyright (C) Microsoft Corporation') and line): print line return popen.returncode def ExecActionWrapper(self, arch, rspfile, *dir): """Runs an action command line from a response file using the environment for |arch|. If |dir| is supplied, use that as the working directory.""" env = self._GetEnv(arch) args = open(rspfile).read() dir = dir[0] if dir else None popen = subprocess.Popen(args, shell=True, env=env, cwd=dir) popen.wait() return popen.returncode if __name__ == '__main__': sys.exit(main(sys.argv[1:]))