Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.52
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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 /
twisted /
conch /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
14
B
-rw-r--r--
keydata.py
34.38
KB
-rw-r--r--
loopback.py
706
B
-rw-r--r--
test_address.py
1.51
KB
-rw-r--r--
test_agent.py
12.91
KB
-rw-r--r--
test_cftp.py
49.32
KB
-rw-r--r--
test_channel.py
11.9
KB
-rw-r--r--
test_checkers.py
30.61
KB
-rw-r--r--
test_ckeygen.py
23.77
KB
-rw-r--r--
test_conch.py
25.14
KB
-rw-r--r--
test_connection.py
28.57
KB
-rw-r--r--
test_default.py
11.32
KB
-rw-r--r--
test_endpoints.py
54.58
KB
-rw-r--r--
test_filetransfer.py
32.36
KB
-rw-r--r--
test_forwarding.py
2.11
KB
-rw-r--r--
test_helper.py
19.56
KB
-rw-r--r--
test_insults.py
31.38
KB
-rw-r--r--
test_keys.py
61.05
KB
-rw-r--r--
test_knownhosts.py
48.34
KB
-rw-r--r--
test_manhole.py
12.95
KB
-rw-r--r--
test_manhole_tap.py
4.25
KB
-rw-r--r--
test_mixin.py
1.03
KB
-rw-r--r--
test_openssh_compat.py
4.76
KB
-rw-r--r--
test_recvline.py
24.84
KB
-rw-r--r--
test_scripts.py
1.74
KB
-rw-r--r--
test_session.py
43.74
KB
-rw-r--r--
test_ssh.py
32.17
KB
-rw-r--r--
test_tap.py
4.92
KB
-rw-r--r--
test_telnet.py
26.18
KB
-rw-r--r--
test_text.py
3.93
KB
-rw-r--r--
test_transport.py
104.76
KB
-rw-r--r--
test_unix.py
2.54
KB
-rw-r--r--
test_userauth.py
32.77
KB
-rw-r--r--
test_window.py
2.06
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_mixin.py
# -*- twisted.conch.test.test_mixin -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from twisted.conch import mixin from twisted.test.proto_helpers import StringTransport from twisted.trial import unittest class TestBufferingProto(mixin.BufferingMixin): scheduled = False rescheduled = 0 def schedule(self): self.scheduled = True return object() def reschedule(self, token): self.rescheduled += 1 class BufferingTests(unittest.TestCase): def testBuffering(self): p = TestBufferingProto() t = p.transport = StringTransport() self.assertFalse(p.scheduled) L = [b"foo", b"bar", b"baz", b"quux"] p.write(b"foo") self.assertTrue(p.scheduled) self.assertFalse(p.rescheduled) for s in L: n = p.rescheduled p.write(s) self.assertEqual(p.rescheduled, n + 1) self.assertEqual(t.value(), b"") p.flush() self.assertEqual(t.value(), b"foo" + b"".join(L))
Close