📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.user.ini
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
32.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
24.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
asd.php
143.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
2.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
connects.php
4.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
css
1.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dataxy.php
37.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
169.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
14.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ioxi-o.php
966.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kk.php
3.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
53.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moddofuns.php
5.36 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
161.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
siteheads.php
168.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
thoms.php
399.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
5.02 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php..
3.56 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
51.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-sign.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
70.92 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: flow.py
""" Defines the Flow class. """ class Section(object): """A flow can be seen as composed of different sections, e.g: [info] [match] actions=[actions] This class represents each of those sections. A section is basically a set of Key-Value pairs. Typically, they can be expressed as a dictionary, for instance the "match" part of a flow can be expressed as: { "nw_src": "192.168.1.1", "nw_dst": "192.168.1.2", } However, some of them must be expressed as a list which allows for duplicated keys. For instance, the "actions" section could be: [ { "output": 32 }, { "output": 33 } ] The is_list flag is used to discriminate this. Attributes: name (str): Name of the section. pos (int): Position within the overall flow string. string (str): Section string. data (list[KeyValue]): Parsed data of the section. is_list (bool): Whether the key-values shall be expressed as a list (i.e: it allows repeated keys). """ def __init__(self, name, pos, string, data, is_list=False): self.name = name self.pos = pos self.string = string self.data = data self.is_list = is_list def __str__(self): return "{} (at {}): {}".format(self.name, self.pos, self.string) def __repr__(self): return "%s('%s')" % (self.__class__.__name__, self) def dict(self): return {self.name: self.format_data()} def format_data(self): """Returns the section's key-values formatted in a dictionary or list depending on the value of is_list flag. """ if self.is_list: return [{item.key: item.value} for item in self.data] else: return {item.key: item.value for item in self.data} class Flow(object): """The Flow class is a base class for other types of concrete flows (such as OFproto Flows or DPIF Flows). A flow is basically comprised of a number of sections. For each section named {section_name}, the flow object will have the following attributes: - {section_name} will return the sections data in a formatted way. - {section_name}_kv will return the sections data as a list of KeyValues. Args: sections (list[Section]): List of sections that comprise the flow orig (str): Original flow string. id (Any): Optional; identifier that clients can use to uniquely identify this flow. """ def __init__(self, sections, orig="", id=None): self._sections = sections self._orig = orig self._id = id for section in sections: setattr( self, section.name, self.section(section.name).format_data() ) setattr( self, "{}_kv".format(section.name), self.section(section.name).data, ) def section(self, name): """Return the section by name.""" return next( (sect for sect in self._sections if sect.name == name), None ) @property def id(self): """Return the Flow ID.""" return self._id @property def sections(self): """Return the all the sections in a list.""" return self._sections @property def orig(self): """Return the original flow string.""" return self._orig def dict(self): """Returns the Flow information in a dictionary.""" flow_dict = {"orig": self.orig} for section in self.sections: flow_dict.update(section.dict()) return flow_dict
Save