Open
Conversation
pycobalt/third_party/SharpGen currently contains the following in the file: "/share/tools/development/SharpGen". This path does not exist by default and will cause PyCobalt to error on install with the follow error:
```
root@kali:/opt/pycobalt# python3 setup.py install
including data_files: [('aggressor', ['aggressor/pycobalt.cna']), ('aggressor', ['aggressor/json.cna']), ('aggressor/jars', ['aggressor/jars/json.jar']), ('examples', ['examples/sharpgen.py']), ('examples', ['examples/note.gui.cna']), ('examples', ['examples/aliases.cna']), ('examples', ['examples/note.gui.py']), ('examples', ['examples/ps.py']), ('examples', ['examples/sharpgen.cna']), ('examples', ['examples/elist.txt']), ('examples', ['examples/recon.cna']), ('examples', ['examples/ps.cna']), ('examples', ['examples/aliases.py']), ('examples', ['examples/bot.py']), ('examples', ['examples/recon.py']), ('examples', ['examples/utils.py']), ('examples', ['examples/bot.cna']), ('third_party', ['third_party/SharpGen']), ('.git', ['.git/HEAD']), ('.git', ['.git/index']), ('.git', ['.git/description']), ('.git', ['.git/packed-refs']), ('.git', ['.git/config']), ('.git/info', ['.git/info/exclude']), ('.git/logs', ['.git/logs/HEAD']), ('.git/logs/refs/remotes/origin', ['.git/logs/refs/remotes/origin/HEAD']), ('.git/logs/refs/heads', ['.git/logs/refs/heads/master']), ('.git/hooks', ['.git/hooks/pre-commit.sample']), ('.git/hooks', ['.git/hooks/pre-rebase.sample']), ('.git/hooks', ['.git/hooks/pre-merge-commit.sample']), ('.git/hooks', ['.git/hooks/update.sample']), ('.git/hooks', ['.git/hooks/push-to-checkout.sample']), ('.git/hooks', ['.git/hooks/pre-push.sample']), ('.git/hooks', ['.git/hooks/post-update.sample']), ('.git/hooks', ['.git/hooks/commit-msg.sample']), ('.git/hooks', ['.git/hooks/fsmonitor-watchman.sample']), ('.git/hooks', ['.git/hooks/pre-receive.sample']), ('.git/hooks', ['.git/hooks/pre-applypatch.sample']), ('.git/hooks', ['.git/hooks/applypatch-msg.sample']), ('.git/hooks', ['.git/hooks/prepare-commit-msg.sample']), ('.git/refs/remotes/origin', ['.git/refs/remotes/origin/HEAD']), ('.git/refs/heads', ['.git/refs/heads/master']), ('.git/objects/pack', ['.git/objects/pack/pack-04a187e2061ff9172cbffbc3d4596de422be2724.pack']), ('.git/objects/pack', ['.git/objects/pack/pack-04a187e2061ff9172cbffbc3d4596de422be2724.idx'])]
running install
running bdist_egg
running egg_info
writing pycobalt.egg-info/PKG-INFO
writing dependency_links to pycobalt.egg-info/dependency_links.txt
writing top-level names to pycobalt.egg-info/top_level.txt
reading manifest file 'pycobalt.egg-info/SOURCES.txt'
writing manifest file 'pycobalt.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
installing package data to build/bdist.linux-x86_64/egg
running install_data
error: can't copy 'third_party/SharpGen': doesn't exist or not a regular file
```
This can be fixed by adding sharpgen.py to SharpGen, or, symlinking SharpGen to sharpgen.py.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pycobalt/third_party/SharpGencurrently contains the following in the file:/share/tools/development/SharpGen. This path does not exist by default and will cause PyCobalt to error on install with the follow error:This can be fixed by adding sharpgen.py to SharpGen, or, symlinking SharpGen to sharpgen.py.