mategol / PySilon-malware

Advanced RAT written in Python language, fully controllable through Discord with dedicated GUI builder to make preparation easier.
https://pysilon.net
MIT License
869 stars 136 forks source link

no dist folder + weird error #473

Open qosmikgit opened 4 months ago

qosmikgit commented 4 months ago

Describe the bug WARNING: Failed to remove contents in a temporary directory 'C:\Users\bartqs\Downloads\PySilon-malware-main\PySilon-malware-main\pysilon\Lib\site-packages\~%l'. You can safely remove it manually. usage: pyinstaller [-h] [-v] [-D] [-F] [--specpath DIR] [-n NAME] [--contents-directory CONTENTS_DIRECTORY] [--add-data SOURCE:DEST] [--add-binary SOURCE:DEST] [-p DIR] [--hidden-import MODULENAME] [--collect-submodules MODULENAME] [--collect-data MODULENAME] [--collect-binaries MODULENAME] [--collect-all MODULENAME] [--copy-metadata PACKAGENAME] [--recursive-copy-metadata PACKAGENAME] [--additional-hooks-dir HOOKSPATH] [--runtime-hook RUNTIME_HOOKS] [--exclude-module EXCLUDES] [--splash IMAGE_FILE] [-d {all,imports,bootloader,noarchive}] [--optimize LEVEL] [--python-option PYTHON_OPTION] [-s] [--noupx] [--upx-exclude FILE] [-c] [-w] [--hide-console {hide-late,minimize-early,hide-early,minimize-late}] [-i <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">] [--disable-windowed-traceback] [--version-file FILE] [-m ] [-r RESOURCE] [--uac-admin] [--uac-uiaccess] [--argv-emulation] [--osx-bundle-identifier BUNDLE_IDENTIFIER] [--target-architecture ARCH] [--codesign-identity IDENTITY] [--osx-entitlements-file FILENAME] [--runtime-tmpdir PATH] [--bootloader-ignore-signals] [--distpath DIR] [--workpath WORKPATH] [-y] [--upx-dir UPX_DIR] [--clean] [--log-level LEVEL] scriptname [scriptname ...] pyinstaller: error: the following arguments are required: scriptname

(pysilon) C:\Users\bartqs\Downloads\PySilon-malware-main\PySilon-malware-main> this pops up and there is no dist folder

To Reproduce open builder.bat and try to build the exe

Expected behavior for there to be a dist folder and in it a exe.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

prismarinenetwork commented 4 months ago

did you install pip packages? if you didn't open up CMD and put "pip install requests" (without quotation) if that didn't work try uninstalling pysilon and reinstalling it again check if you have python installed by opening up cmd and typing "python --version" (without quotation) it is recommended as of 7/2/2024 it is recommended to use 3.11.4 or above (this could change)

qosmikgit commented 4 months ago

aight im gonna check what version and if i have requests installed tommorow, but it appears to be a pyinstaller problem so why pip install requests, and anyways i have python installed

prismarinenetwork commented 4 months ago

aight im gonna check what version and if i have requests installed tommorow, but it appears to be a pyinstaller problem so why pip install requests, and anyways i have python installed

also make sure to install python to PATH

qosmikgit commented 4 months ago

okay im gonna try

qosmikgit commented 4 months ago

i have python 3.11.9 realtime protection is OFF but it still throws me the SAME ERROR BECAUSE ITS RELATED TO PYINSTALLER not python... the builder runs just fine itrs the compiler that throws me the error

qosmikgit commented 4 months ago

i fixed it via a simple code fix in compiler.py

pyinstaller -F ' + ('--noconsole ' if not debug_mode else '') to pyinstaller -F ' + ('source_prepared.py --noconsole ' if not debug_mode else '')

although the icon doesnt wannna apply but thats not that big of an issue and it compiles but the bot does not work

qosmikgit commented 4 months ago

yeah never mind the code fix was not correct but somehow it worked ONE TIME