Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sh dependencies | ValueError: bad marshal data (unknown type code) #49

Open
sukbu opened this issue Dec 6, 2022 · 0 comments
Open

sh dependencies | ValueError: bad marshal data (unknown type code) #49

sukbu opened this issue Dec 6, 2022 · 0 comments

Comments

@sukbu
Copy link

sukbu commented Dec 6, 2022

┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# sh dependencies            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
default-jre is already the newest version (2:1.17-73).
The following packages were automatically installed and are no longer required:
  libbroker2 libcaf-core0.17 libcaf-io0.17 libcaf-openssl0.17 libgoogle-perftools4
  libtcmalloc-minimal4 openjdk-11-jdk openjdk-11-jre zeek-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2502 not upgraded.
  File "/home/rayan/Github/KatanaFramework/lib/scapy/setup.py", line 35
    os.chmod(fname,0755)
                      ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
running install
running bdist_egg
running egg_info
writing dnslib.egg-info/PKG-INFO
writing dependency_links to dnslib.egg-info/dependency_links.txt
writing top-level names to dnslib.egg-info/top_level.txt
reading manifest file 'dnslib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dnslib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/client.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/intercept.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/bimap.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/buffer.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/label.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/test_decode.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/lex.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/server.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/fixedresolver.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/__init__.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/shellresolver.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/proxy.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/dns.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/ranges.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/digparser.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/bit.py -> build/bdist.linux-x86_64/egg/dnslib
copying build/lib/dnslib/zoneresolver.py -> build/bdist.linux-x86_64/egg/dnslib
byte-compiling build/bdist.linux-x86_64/egg/dnslib/client.py to client.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/intercept.py to intercept.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/bimap.py to bimap.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/buffer.py to buffer.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/label.py to label.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/test_decode.py to test_decode.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/lex.py to lex.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/server.py to server.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/fixedresolver.py to fixedresolver.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/shellresolver.py to shellresolver.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/proxy.py to proxy.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/dns.py to dns.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/ranges.py to ranges.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/digparser.py to digparser.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/bit.py to bit.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnslib/zoneresolver.py to zoneresolver.cpython-39.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying dnslib.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying dnslib.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying dnslib.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying dnslib.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
  File "/home/rayan/Github/KatanaFramework/lib/dnslib/setup.py", line 20, in <module>
    setup(name='dnslib',
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 67, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 109, in do_egg_install
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 209, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 245, in zip_safe
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 355, in analyze_egg
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 392, in scan_module
ValueError: bad marshal data (unknown type code)
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python3.9/dist-packages/IPy-0.83.egg-info
Writing /usr/local/lib/python3.9/dist-packages/IPy-0.83.egg-info
Regenerating egg_info
running egg_info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing top-level names to setuptools.egg-info/top_level.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'setuptools/_vendor'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
...and again.
running egg_info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing top-level names to setuptools.egg-info/top_level.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'setuptools/_vendor'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
running install
running bdist_egg
running egg_info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing top-level names to setuptools.egg-info/top_level.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'setuptools/_vendor'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/archive_util.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/py31compat.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/lib2to3_ex.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/sandbox.py -> build/bdist.linux-x86_64/egg/setuptools
creating build/bdist.linux-x86_64/egg/setuptools/extern
copying build/lib/setuptools/extern/__init__.py -> build/bdist.linux-x86_64/egg/setuptools/extern
copying build/lib/setuptools/package_index.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/msvc.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/monkey.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/__init__.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/version.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/utils.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/dist.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/script.tmpl -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/ssl_support.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/windows_support.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/depends.py -> build/bdist.linux-x86_64/egg/setuptools
creating build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/test.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/rotate.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/alias.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/__init__.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/build_py.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/develop.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/setopt.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/upload.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/sdist.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/install.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/register.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-x86_64/egg/setuptools/command
copying build/lib/setuptools/launch.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/py26compat.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/py27compat.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/site-patch.py -> build/bdist.linux-x86_64/egg/setuptools
copying build/lib/setuptools/extension.py -> build/bdist.linux-x86_64/egg/setuptools
creating build/bdist.linux-x86_64/egg/pkg_resources
creating build/bdist.linux-x86_64/egg/pkg_resources/_vendor
creating build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/requirements.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/markers.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/utils.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/six.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/pyparsing.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/_vendor/appdirs.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor
creating build/bdist.linux-x86_64/egg/pkg_resources/extern
copying build/lib/pkg_resources/extern/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/extern
copying build/lib/pkg_resources/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources
copying build/lib/easy_install.py -> build/bdist.linux-x86_64/egg
byte-compiling build/bdist.linux-x86_64/egg/setuptools/archive_util.py to archive_util.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/py31compat.py to py31compat.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/lib2to3_ex.py to lib2to3_ex.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/sandbox.py to sandbox.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/extern/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/package_index.py to package_index.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/msvc.py to msvc.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/monkey.py to monkey.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/version.py to version.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/unicode_utils.py to unicode_utils.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/utils.py to utils.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/dist.py to dist.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/ssl_support.py to ssl_support.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/windows_support.py to windows_support.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/depends.py to depends.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_rpm.py to bdist_rpm.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_egg_info.py to install_egg_info.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_wininst.py to bdist_wininst.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_scripts.py to install_scripts.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/test.py to test.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/rotate.py to rotate.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/saveopts.py to saveopts.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/upload_docs.py to upload_docs.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_lib.py to install_lib.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/alias.py to alias.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py to bdist_egg.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py to build_ext.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/build_py.py to build_py.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py to egg_info.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/develop.py to develop.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/setopt.py to setopt.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/upload.py to upload.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/sdist.py to sdist.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install.py to install.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/register.py to register.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py to easy_install.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/launch.py to launch.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/py26compat.py to py26compat.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/py27compat.py to py27compat.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/site-patch.py to site-patch.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/setuptools/extension.py to extension.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/requirements.py to requirements.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/markers.py to markers.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/specifiers.py to specifiers.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/version.py to version.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/utils.py to utils.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/_structures.py to _structures.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/_compat.py to _compat.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/__about__.py to __about__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/six.py to six.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/pyparsing.py to pyparsing.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/appdirs.py to appdirs.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/extern/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/pkg_resources/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/easy_install.py to easy_install.cpython-39.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying setuptools.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/setuptools-27.3.0.post20221206-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing setuptools-27.3.0.post20221206-py3.9.egg
Removing /usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg
Copying setuptools-27.3.0.post20221206-py3.9.egg to /usr/local/lib/python3.9/dist-packages
setuptools 27.3.0.post20221206 is already the active version in easy-install.pth
Installing easy_install script to /usr/local/bin
Installing easy_install-3.9 script to /usr/local/bin

Installed /usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg
Processing dependencies for setuptools==27.3.0.post20221206
Finished processing dependencies for setuptools==27.3.0.post20221206
running install
running bdist_egg
running egg_info
writing libusb1.egg-info/PKG-INFO
writing dependency_links to libusb1.egg-info/dependency_links.txt
writing top-level names to libusb1.egg-info/top_level.txt
reading manifest file 'libusb1.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'libusb1.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying libusb1.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying libusb1.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying libusb1.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying libusb1.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
  File "/home/rayan/Github/KatanaFramework/lib/libusb1/setup.py", line 31, in <module>
    setup(
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 67, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 109, in do_egg_install
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 209, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 245, in zip_safe
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 355, in analyze_egg
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 392, in scan_module
ValueError: bad marshal data (unknown type code)
running install
running bdist_egg
running egg_info
writing beautifulsoup4.egg-info/PKG-INFO
writing dependency_links to beautifulsoup4.egg-info/dependency_links.txt
writing requirements to beautifulsoup4.egg-info/requires.txt
writing top-level names to beautifulsoup4.egg-info/top_level.txt
reading manifest file 'beautifulsoup4.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'beautifulsoup4.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying beautifulsoup4.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying beautifulsoup4.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying beautifulsoup4.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying beautifulsoup4.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying beautifulsoup4.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
  File "/home/rayan/Github/KatanaFramework/lib/bs4/setup.py", line 6, in <module>
    setup(
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 67, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 109, in do_egg_install
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 209, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 245, in zip_safe
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 355, in analyze_egg
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 392, in scan_module
ValueError: bad marshal data (unknown type code)
running install
running bdist_egg
running egg_info
writing src/future.egg-info/PKG-INFO
writing dependency_links to src/future.egg-info/dependency_links.txt
writing entry points to src/future.egg-info/entry_points.txt
writing top-level names to src/future.egg-info/top_level.txt
reading manifest file 'src/future.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
writing manifest file 'src/future.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying src/future.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/future.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/future.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/future.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/future.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
  File "/home/rayan/Github/KatanaFramework/lib/future/setup.py", line 163, in <module>
    setup(name=NAME,
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 67, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/install.py", line 109, in do_egg_install
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 209, in run
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 245, in zip_safe
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 355, in analyze_egg
  File "/usr/local/lib/python3.9/dist-packages/setuptools-27.3.0.post20221206-py3.9.egg/setuptools/command/bdist_egg.py", line 392, in scan_module
ValueError: bad marshal data (unknown type code)
┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# python2 --version 
Python 2.7.18
                                                                                                       
┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# ls -l             
total 136
drwxr-xr-x  6 root root  4096 Dec  6 16:09 core
-rw-r--r--  1 root root   100 Dec  6 15:40 del.pyc.bat
-rw-r--r--  1 root root  1638 Dec  6 15:40 dependencies
-rw-r--r--  1 root root   140 Dec  6 15:40 DISCLAIMER
drwxr-xr-x  4 root root  4096 Dec  6 15:40 doc
drwxr-xr-x  8 root root  4096 Dec  6 15:40 files
-rw-r--r--  1 root root  7551 Dec  6 15:40 install
-rwxr-xr-x  1 root root  2285 Dec  6 15:40 ktf.console
-rw-r--r--  1 root root 39892 Dec  6 15:40 ktf.gui.jar
-rw-r--r--  1 root root  4144 Dec  6 15:40 ktf.ktf
-rw-r--r--  1 root root   240 Dec  6 15:40 ktf.linker
-rwxr-xr-x  1 root root  2043 Dec  6 15:40 ktf.run
-rw-r--r--  1 root root  2709 Dec  6 15:40 ktf.tool
-rw-r--r--  1 root root   493 Dec  6 15:40 ktf.update
drwxr-xr-x 16 root root  4096 Dec  6 15:40 lib
-rwxr-xr-x  1 root root  2769 Dec  6 15:40 LINETIME
-rwxr-xr-x  1 root root   961 Dec  6 15:40 linker.py
drwxr-xr-x 12 root root  4096 Dec  6 15:40 modules
-rw-r--r--  1 root root  4993 Dec  6 15:40 README.md
drwxr-xr-x  2 root root  4096 Dec  6 15:40 tmp
drwxr-xr-x  2 root root  4096 Dec  6 15:40 tools
-rw-r--r--  1 root root   414 Dec  6 15:40 uninstall
                                                                                                       
┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# python2 install   

                    ,:       :,                   				 
                   ,/./ _8_  \.\                  				 
                   ,\ \/(O)\/ /                  				 
                    ,\ \:::/ /                   				 
                     /__---__\                   				 
                    (/__\ /__\)                   				 
                    /\  .V.  /\                   				 
                   /  \,---,/  \                  				 
                   \___TTTTT___/         CODE: KATANA  
                ::::\ |_____| /::::      DATE: 25/12/16:14/03/17
                (+  _| __|__ |_  +)      CORE: 1.0.0.1, BUILD: 0069
        FREE    |  I_|KATANA.|_I  |                               
                |  I_|_|_|_|_|_|  |               				 
    __________?_____________________________________  				 
   {_B| Y| R| T| |#################################/  				 
     ^ ^ ^ ^   ,ww   FRAMEWORK   ww,                   				 
                   I_|_|_|_|_|_I                  				 
                   \_|_|_|_|_|_/                  				 


 INSTALLING
 [16:12:51] Pre-installing.                   STATUS:[OK]Noneing]
 [16:12:51] Checking dependencies.            STATUS:[ERROR][WARNING]None
 [16:12:55] Checking Updates.

   [inf] Update - Katana framework - Connecting with server
   [inf] Version Current : Core:1.0.0.1 Build:0069 Date 25/12/16:14/03/17
   [inf] Last Version    : Core:1.0.0.1 Build:0069 Date 14/03/17
   [suf] katana already updated.


 [16:13:11] Creating Folder.                  STATUS:[OK]Noneing]
 [16:13:11] Copying files.                    STATUS:[OK]Noneing]
 [16:13:11] Creating Shortcuts.               STATUS:[OK]Noneing]
 [16:13:11] Extracting Files.                 STATUS:[OK]Noneing]
 [16:13:12] Giving privileges.                STATUS:[OK]Noneing]

 If all is [OK] Katana was installed, use ktf.console or ktf.gui (DEMO)
 go to https://github.com/PowerScript/KatanaFramework/wiki for more info

                                                                                                       
┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# ktf.console
Traceback (most recent call last):
  File "/usr/share/KatanaFramework/ktf.console", line 9, in <module>
    from core.MainListLibrary import *
  File "/usr/share/KatanaFramework/core/MainListLibrary.py", line 10, in <module>
    from Internal import (
ModuleNotFoundError: No module named 'Internal'
                                                                                                       
┌──(root㉿rayan)-[/home/rayan/Github/KatanaFramework]
└─# python2 ktf.console
Traceback (most recent call last):
  File "ktf.console", line 9, in <module>
    from core.MainListLibrary import *
  File "/home/rayan/Github/KatanaFramework/core/MainListLibrary.py", line 37, in <module>
    from Function import Executefunction
  File "/home/rayan/Github/KatanaFramework/core/Function.py", line 11, in <module>
    from scapy.all import *
ImportError: No module named scapy.all

Was there something wrong within my executions?

Running Environment:
VMware Workstation 17
Kali 2022.1 Installer-everything amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant