Adding Nexus.py, requirements, build scripts and icon
This commit is contained in:
17
build.sh
Normal file
17
build.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copy the Modules, Resources and Core directories, as well as Icon.ico, Nexus.py and requirements.txt to a new directory along with this file.
|
||||||
|
# Then, run the script.
|
||||||
|
|
||||||
|
python3.9 -m venv buildEnv
|
||||||
|
|
||||||
|
source buildEnv/bin/activate
|
||||||
|
|
||||||
|
python3.9 -m pip install --upgrade -r requirements.txt
|
||||||
|
|
||||||
|
python3.9 -m pip install --upgrade pyinstaller
|
||||||
|
|
||||||
|
python3.9 -m PyInstaller --clean --icon="./Icon.ico" --noconsole --noconfirm --onedir --windowed --add-data "./Modules:Modules/" --add-data "./Resources:Resources/" --add-data "./Core:Core/" --collect-all "PySide6" --collect-all "networkx" --collect-all "pydot" --collect-all "msgpack" --hidden-import "_cffi_backend" --collect-all "folium" --collect-all "shodan" --collect-all "vtapi3" --collect-all "docker" --collect-all "exif" --collect-all "dns" --collect-all "pycountry" --collect-all "tldextract" --collect-all "requests_futures" --collect-all "branca" --collect-all "bs4" --hidden-import "pandas" --collect-all "docx2python" --collect-all "tweepy" --collect-all "PyPDF2" --collect-all "Wappalyzer" --collect-all "email_validator" --collect-all "seleniumwire" --add-data "./buildEnv/lib/python3.9/site-packages/social-analyzer:social-analyzer/" --hidden-import "PIL" --hidden-import "lz4" --hidden-import "lxml" --hidden-import "jellyfish" --hidden-import "logging" "./Nexus.py"
|
||||||
|
|
||||||
|
|
||||||
|
deactivate
|
||||||
1
buildWin
Normal file
1
buildWin
Normal file
@@ -0,0 +1 @@
|
|||||||
|
python -m PyInstaller --clean --icon="Icon.ico" --noconsole --noconfirm --onedir --windowed --add-data "Modules;Modules" --add-data "Resources;Resources" --add-data "Core;Core" --collect-all "PySide6" --collect-all "networkx" --collect-all "pydot" --collect-all "msgpack" --hidden-import "_cffi_backend" --collect-all "folium" --collect-all "shodan" --collect-all "vtapi3" --collect-all "docker" --collect-all "exif" --collect-all "dns" --collect-all "pycountry" --collect-all "tldextract" --collect-all "requests_futures" --collect-all "branca" --collect-all "bs4" --hidden-import "pandas" --collect-all "docx2python" --collect-all "tweepy" --collect-all "PyPDF2" --collect-all "Wappalyzer" --collect-all "email_validator" --collect-all "seleniumwire" --add-data "C:\Users\IEUser\AppData\Roaming\Python\Python39\site-packages\social-analyzer;social-analyzer" --hidden-import "PIL" --hidden-import "lz4" --hidden-import "lxml" --hidden-import "jellyfish" --hidden-import "logging" --hidden-import "python-magic-bin" "./Nexus.py"
|
||||||
53
requirements.txt
Normal file
53
requirements.txt
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
PySide6>=6.2.0 # https://lists.qt-project.org/pipermail/pyside/2021-September/003083.html
|
||||||
|
|
||||||
|
|
||||||
|
# For python-magic, the following packages may be required:
|
||||||
|
## Linux:
|
||||||
|
### sudo apt-get install libmagic1
|
||||||
|
## Windows:
|
||||||
|
### pip install python-magic-bin
|
||||||
|
python-magic
|
||||||
|
|
||||||
|
# The graphviz package is required.
|
||||||
|
## Linux: sudo apt-get install graphviz
|
||||||
|
## Windows: https://www.graphviz.org/download/
|
||||||
|
|
||||||
|
pydot
|
||||||
|
networkx
|
||||||
|
|
||||||
|
defusedxml
|
||||||
|
cryptography
|
||||||
|
msgpack
|
||||||
|
folium
|
||||||
|
pillow
|
||||||
|
lz4
|
||||||
|
urllib3
|
||||||
|
reportlab
|
||||||
|
selenium
|
||||||
|
pandas
|
||||||
|
svglib
|
||||||
|
|
||||||
|
##### Extra Packages for resolutions
|
||||||
|
requests
|
||||||
|
shodan
|
||||||
|
docx2python
|
||||||
|
PyPDF2
|
||||||
|
tldextract
|
||||||
|
beautifulsoup4
|
||||||
|
python-Wappalyzer
|
||||||
|
vtapi3
|
||||||
|
social-analyzer
|
||||||
|
requests_futures
|
||||||
|
tweepy
|
||||||
|
selenium-wire
|
||||||
|
jellyfish
|
||||||
|
shodan
|
||||||
|
pandas
|
||||||
|
lxml
|
||||||
|
pycountry
|
||||||
|
ipwhois
|
||||||
|
docker
|
||||||
|
email-validator
|
||||||
|
docx2python
|
||||||
|
exif
|
||||||
|
xmltodict
|
||||||
Reference in New Issue
Block a user