OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
exabgp
/
util
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
__init__.py
1.68 KB
03/13/2021 04:30:48 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
cache.py
1.38 KB
03/13/2021 04:30:48 PM
rw-r--r--
📄
coroutine.py
582 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
dictionary.py
448 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
dns.py
1002 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
enumeration.py
720 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
errstr.py
517 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
hashtable.py
615 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
ip.py
559 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
od.py
498 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
panic.py
4.1 KB
03/13/2021 04:30:48 PM
rw-r--r--
📄
test.py
189 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
trace.py
376 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📄
usage.py
652 bytes
03/13/2021 04:30:48 PM
rw-r--r--
Editing: errstr.py
Close
# encoding: utf-8 """ errstr.py Created by Thomas Mangin on 2011-03-29. Copyright (c) 2009-2017 Exa Networks. All rights reserved. License: 3-clause BSD. (See the COPYRIGHT file) """ import errno def errstr(exc): try: code = exc.args[0] if exc.args else exc.errno return '[Errno %s] %s' % (errno.errorcode.get(code, str(code)), str(exc)) except KeyError: return '[Errno unknown (key)] %s' % str(exc) except AttributeError: return '[Errno unknown (attr)] %s' % str(exc)