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. """Visual Studio project reader/writer.""" import gyp.common import gyp.easy_xml as easy_xml #------------------------------------------------------------------------------ class Tool(object): """Visual Studio tool.""" def __init__(self, name, attrs=None): """Initializes the tool. Args: name: Tool name. attrs: Dict of tool attributes; may be None. """ self._attrs = attrs or {} self._attrs['Name'] = name def _GetSpecification(self): """Creates an element for the tool. Returns: A new xml.dom.Element for the tool. """ return ['Tool', self._attrs] class Filter(object): """Visual Studio filter - that is, a virtual folder.""" def __init__(self, name, contents=None): """Initializes the folder. Args: name: Filter (folder) name. contents: List of filenames and/or Filter objects contained. """ self.name = name self.contents = list(contents or []) #------------------------------------------------------------------------------ class Writer(object): """Visual Studio XML project writer.""" def __init__(self, project_path, version, name, guid=None, platforms=None): """Initializes the project. Args: project_path: Path to the project file. version: Format version to emit. name: Name of the project. guid: GUID to use for project, if not None. platforms: Array of string, the supported platforms. If null, ['Win32'] """ self.project_path = project_path self.version = version self.name = name self.guid = guid # Default to Win32 for platforms. if not platforms: platforms = ['Win32'] # Initialize the specifications of the various sections. self.platform_section = ['Platforms'] for platform in platforms: self.platform_section.append(['Platform', {'Name': platform}]) self.tool_files_section = ['ToolFiles'] self.configurations_section = ['Configurations'] self.files_section = ['Files'] # Keep a dict keyed on filename to speed up access. self.files_dict = dict() def AddToolFile(self, path): """Adds a tool file to the project. Args: path: Relative path from project to tool file. """ self.tool_files_section.append(['ToolFile', {'RelativePath': path}]) def _GetSpecForConfiguration(self, config_type, config_name, attrs, tools): """Returns the specification for a configuration. Args: config_type: Type of configuration node. config_name: Configuration name. attrs: Dict of configuration attributes; may be None. tools: List of tools (strings or Tool objects); may be None. Returns: """ # Handle defaults if not attrs: attrs = {} if not tools: tools = [] # Add configuration node and its attributes node_attrs = attrs.copy() node_attrs['Name'] = config_name specification = [config_type, node_attrs] # Add tool nodes and their attributes if tools: for t in tools: if isinstance(t, Tool): specification.append(t._GetSpecification()) else: specification.append(Tool(t)._GetSpecification()) return specification def AddConfig(self, name, attrs=None, tools=None): """Adds a configuration to the project. Args: name: Configuration name. attrs: Dict of configuration attributes; may be None. tools: List of tools (strings or Tool objects); may be None. """ spec = self._GetSpecForConfiguration('Configuration', name, attrs, tools) self.configurations_section.append(spec) def _AddFilesToNode(self, parent, files): """Adds files and/or filters to the parent node. Args: parent: Destination node files: A list of Filter objects and/or relative paths to files. Will call itself recursively, if the files list contains Filter objects. """ for f in files: if isinstance(f, Filter): node = ['Filter', {'Name': f.name}] self._AddFilesToNode(node, f.contents) else: node = ['File', {'RelativePath': f}] self.files_dict[f] = node parent.append(node) def AddFiles(self, files): """Adds files to the project. Args: files: A list of Filter objects and/or relative paths to files. This makes a copy of the file/filter tree at the time of this call. If you later add files to a Filter object which was passed into a previous call to AddFiles(), it will not be reflected in this project. """ self._AddFilesToNode(self.files_section, files) # TODO(rspangler) This also doesn't handle adding files to an existing # filter. That is, it doesn't merge the trees. def AddFileConfig(self, path, config, attrs=None, tools=None): """Adds a configuration to a file. Args: path: Relative path to the file. config: Name of configuration to add. attrs: Dict of configuration attributes; may be None. tools: List of tools (strings or Tool objects); may be None. Raises: ValueError: Relative path does not match any file added via AddFiles(). """ # Find the file node with the right relative path parent = self.files_dict.get(path) if not parent: raise ValueError('AddFileConfig: file "%s" not in project.' % path) # Add the config to the file node spec = self._GetSpecForConfiguration('FileConfiguration', config, attrs, tools) parent.append(spec) def WriteIfChanged(self): """Writes the project file.""" # First create XML content definition content = [ 'VisualStudioProject', {'ProjectType': 'Visual C++', 'Version': self.version.ProjectVersion(), 'Name': self.name, 'ProjectGUID': self.guid, 'RootNamespace': self.name, 'Keyword': 'Win32Proj' }, self.platform_section, self.tool_files_section, self.configurations_section, ['References'], # empty section self.files_section, ['Globals'] # empty section ] easy_xml.WriteXmlIfChanged(content, self.project_path, encoding="Windows-1252")