OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
words
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
__init__.py
532 bytes
09/08/2017 10:38:35 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:40 AM
rwxr-xr-x
📄
ewords.py
623 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📁
im
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
iwords.py
8.33 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
protocols
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
service.py
37.28 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
tap.py
2.37 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
test
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📁
xish
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
xmpproutertap.py
820 bytes
09/08/2017 10:38:36 AM
rw-r--r--
Editing: xmpproutertap.py
Close
# -*- test-case-name: twisted.words.test.test_xmpproutertap -*- # # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from twisted.application import strports from twisted.python import usage from twisted.words.protocols.jabber import component class Options(usage.Options): optParameters = [ ('port', None, 'tcp:5347:interface=127.0.0.1', 'Port components connect to'), ('secret', None, 'secret', 'Router secret'), ] optFlags = [ ('verbose', 'v', 'Log traffic'), ] def makeService(config): router = component.Router() factory = component.XMPPComponentServerFactory(router, config['secret']) if config['verbose']: factory.logTraffic = True return strports.service(config['port'], factory)