jcivitel / py_djoin_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub issues GitHub Repo stars GitHub License

What is the goal of the project?

Joining a computer using the Djoin program is a process where the computer is inserted into the domain to gain access to domain resources. This involves creating a provisioning file with the computer's configuration information and executing the Djoin command to enroll the computer with this information into the domain.

This project is a working API for webrequests.

How to use the binary?

If you want to run this project as a windows service, you need to execute following steps:

  1. open CMD

  2. execute py_djoin_api.exe --startup auto install

  3. run the service by executing py_djoin_api.exe start or net start py_djoin_api

If you want to run this project just once, you need to execute following steps:

  1. open CMD

  2. execute py_djoin_api.exe debug

How to install the project?

  1. Begin by cloning the repository to a designated local directory on your machine.
git clone https://github.com/jcivitel/py_djoin_api.git
  1. Launch a Command Prompt (CMD) and navigate to the specified directory. Once in the directory, execute the following command:
python -m venv venv
  1. Once the virtual Python environment has been successfully created, it is now possible to compile the project:

Linux

. venv/bin/activate
pip install -r requirements.txt
pyinstaller --onefile py_djoin_api.py --hidden-import=win32timezone --clean --uac-admin

Windows

./venv/Scripts/activate.bat
pip install -r requirements.txt
pyinstaller --onefile py_djoin_api.py --hidden-import=win32timezone --clean --uac-admin

Contributors

Contributors Display

About

License:MIT License


Languages

Language:Python 100.0%