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

[FEATURE] Refactoring the project to be built from source #297

Open
D3vil0p3r opened this issue Oct 4, 2024 · 3 comments
Open

[FEATURE] Refactoring the project to be built from source #297

D3vil0p3r opened this issue Oct 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@D3vil0p3r
Copy link

Is your feature request related to a problem? Please describe.

Currently the solution can be installed by Install.sh that is specific only for Debian-based systems (just look the install of dependencies).

Could you please refactor the project in order to be built from source for example by leveraging on pyproject.toml or similar things? For example using resources like And add in the documentation all the needed separated build and runtime dependencies so the project can be easily packaged for different Linux distros?

@D3vil0p3r D3vil0p3r added the enhancement New feature or request label Oct 4, 2024
@D3vil0p3r
Copy link
Author

@benpturner can you give a look to it?

@benpturner
Copy link
Contributor

Hi, thanks for the suggestion. We’ll have a look into this. Feel free to provide a PR or Suggested fix that we can look at too.

@D3vil0p3r
Copy link
Author

@benpturner A good approach could be to use PEP517 by using pyproject.toml file so you can deploy python dependencies directly without using pip install in Install.sh. I don't have so much experience on it, I don't knoow if you have it.

Furthermore, I have a question. Install.sh manages the system dependencies install by:

apt-get install -y screen python3 python3-dev python3-pip build-essential mingw-w64-tools mingw-w64 mingw-w64-x86-64-dev mingw-w64-i686-dev mingw-w64-common espeak graphviz mono-complete apt-transport-https vim nano libpq-dev curl sudo sqlite3 binutils unzip
apt-get install -y python3.8-dev python3-distutils python3-lib2to3 python3.7-dev python3.7

Can you report me which of them are build dependencies (needed only for building process, that can be removed once PoshC2 is installed) and which are runtime dependencies (dependencies needed for PoshC2 to run).

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

No branches or pull requests

2 participants