Closed Ubop0202 closed 5 years ago
Can you run the .exe on a console and paste in the output?
I see it could not locate UPX executable
@nexor I haven't looked at your commits yet but I noticed that the keylogger is working and logging all the logs but exe is not copying itself to startup ( shell:startup )
@mvrozanti, tnx man for ur response!
so, do I need to install upx? https://upx.github.io/
You might have to. In fact, I think UPX executable should be removed since it seems really sketchy for newcomers. It's on the to do list. Logging would also shed more light on problems like this.
Same problem on me
@TheDoop still not sure about the cause. Better logs are to be implemented. Have you used the UPX utility?
yes i have already set upx there no compile errors warnRATAttack.txt thanks for response If you need more log i can send everything
@TheDoop I see a lot of missing module messages. Have you made sure you installed the requirements.txt
file with pip for python 2?
@mvrozanti same problem for me, multiple module missing but tried on 2 fresh windows install and problem remain
all requirement have been installed of course
nice rat concept anyway ! love it
missing module named pyimod03_importers - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.requirements, pkg_resources._vendor.packaging.markers missing module named readline - imported by cmd, pdb missing module named pwd - imported by posixpath, getpass, shutil, tarfile, distutils.util, distutils.archive_util, psutil, netrc missing module named ordereddict - imported by pkg_resources._vendor.pyparsing missing module named _thread.RLock - imported by _thread, pkg_resources._vendor.pyparsing missing module named _thread.get_ident - imported by _thread, future.backports.misc missing module named org - imported by copy missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs missing module named com - imported by pkg_resources._vendor.appdirs missing module named grp - imported by shutil, tarfile, distutils.archive_util missing module named _sysconfigdata - imported by distutils.sysconfig, sysconfig missing module named 'win32com.gen_py' - imported by win32com, c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_win32comgenpy.py missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern, pkg_resources missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern, pkg_resources missing module named 'importlib.machinery' - imported by pkg_resources missing module named 'pkg_resources.extern.six.moves' - imported by pkg_resources, pkg_resources._vendor.packaging.requirements missing module named pkg_resources.extern.six - imported by pkg_resources.extern, pkg_resources missing module named _imp - imported by pkg_resources missing module named fcntl - imported by tempfile, subprocess, tendo.singleton missing module named 'org.python' - imported by pickle, setuptools.sandbox, xml.sax missing module named 'java.lang' - imported by platform, xml.sax._exceptions missing module named _xmlplus - imported by xml missing module named 'Carbon.File' - imported by plistlib missing module named 'Carbon.Files' - imported by plistlib missing module named Carbon - imported by plistlib missing module named 'multiprocessing.popen_fork' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named 'multiprocessing.popen_spawn_win32' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named 'multiprocessing.spawn' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named _dummy_threading - imported by dummy_threading missing module named _xmlrpclib - imported by xmlrpclib missing module named _scproxy - imported by urllib, future.backports.urllib.request missing module named SOCKS - imported by ftplib missing module named rourl2path - imported by urllib missing module named EasyDialogs - imported by getpass missing module named termios - imported by getpass missing module named 'dbm.ndbm' - imported by future.moves.dbm.ndbm missing module named gdbm - imported by anydbm, future.moves.dbm.gnu missing module named 'dbm.gnu' - imported by future.moves.dbm.gnu missing module named 'dbm.dumb' - imported by future.moves.dbm.dumb missing module named bsddb3 - imported by bsddb missing module named _pybsddb - imported by bsddb, bsddb.db missing module named dbm - imported by future.standard_library, future.moves.dbm, whichdb, anydbm, future.moves.dbm.ndbm missing module named resource - imported by posix, test.support missing module named winreg.HKEY_LOCAL_MACHINE - imported by winreg, platform missing module named winreg.CloseKey - imported by winreg, platform missing module named winreg.QueryValueEx - imported by winreg, platform missing module named winreg.OpenKeyEx - imported by winreg, platform missing module named _datetime - imported by future.backports.datetime missing module named reprlib.recursive_repr - imported by reprlib, future.backports.misc missing module named vms_lib - imported by platform missing module named java - imported by platform missing module named MacOS - imported by platform missing module named macresource - imported by MacOS missing module named gestalt - imported by platform missing module named riscosenviron - imported by os missing module named riscospath - imported by os missing module named riscos - imported by os missing module named ce - imported by os missing module named _emx_link - imported by os missing module named os2 - imported by os missing module named posix - imported by os missing module named 'collections.abc' - imported by PIL.Image, PIL.TiffImagePlugin, urllib3._collections, requests.compat missing module named 'urllib.request' - imported by requests.compat missing module named 'urllib.parse' - imported by requests.compat missing module named ipaddress - imported by urllib3.packages.ssl_match_hostname._implementation, urllib3.util.ssl_ missing module named 'backports.ssl_match_hostname' - imported by setuptools.ssl_support, urllib3.packages.ssl_match_hostname missing module named simplejson - imported by requests.compat missing module named "'urllib3.packages.six.moves.urllib'.parse" - imported by urllib3.request, urllib3.poolmanager runtime module named urllib3.packages.six.moves - imported by httplib, urllib3.connectionpool, urllib3.util.response, 'urllib3.packages.six.moves.urllib', urllib3.response, urllib3.util.queue missing module named socks - imported by urllib3.contrib.socks missing module named cryptography - imported by urllib3.contrib.pyopenssl, requests missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl missing module named 'cryptography.hazmat' - imported by urllib3.contrib.pyopenssl missing module named OpenSSL - imported by urllib3.contrib.pyopenssl missing module named psutil._psutil_aix - imported by psutil, psutil._psaix missing module named psutil._psutil_sunos - imported by psutil, psutil._pssunos missing module named ElementC14N - imported by xml.etree.ElementTree missing module named psutil._psutil_bsd - imported by psutil, psutil._psbsd missing module named psutil._psutil_osx - imported by psutil, psutil._psosx missing module named enum - imported by psutil._common, psutil._pslinux, psutil._pswindows missing module named _psutil_linux - imported by psutil missing module named psutil._psutil_posix - imported by psutil, psutil._pslinux, psutil._psosx, psutil._psbsd, psutil._pssunos, psutil._psaix missing module named configparser - imported by setuptools.py36compat, pbr.util missing module named setuptools.extern.six - imported by setuptools.extern, setuptools.monkey, setuptools.dist, setuptools.py33compat, setuptools.config, setuptools.command.easy_install, setuptools.sandbox, setuptools.py27compat, setuptools.package_index, setuptools.wheel, setuptools.command.egg_info, setuptools.command.sdist, setuptools.command.bdist_egg, setuptools.unicode_utils, setuptools.glob, setuptools.command.develop missing module named setuptools.extern.packaging - imported by setuptools.extern, setuptools.dist, setuptools.command.egg_info missing module named 'setuptools.extern.six' - imported by setuptools, setuptools.extension missing module named 'setuptools.extern.six.moves' - imported by setuptools.dist, setuptools.py33compat, setuptools.command.easy_install, setuptools.sandbox, setuptools.command.setopt, setuptools.package_index, setuptools.ssl_support, setuptools.command.egg_info, setuptools.command.py36compat, setuptools.namespaces, setuptools.msvc missing module named docutils - imported by pbr.builddoc missing module named 'sphinx.ext' - imported by pbr.builddoc missing module named sphinx - imported by pbr.builddoc missing module named reno - imported by pbr.packaging missing module named nose - imported by pbr.packaging missing module named testrepository - imported by pbr.testr_command missing module named _manylinux - imported by setuptools.pep425tags missing module named wincertstore - imported by setuptools.ssl_support missing module named backports - imported by setuptools.ssl_support missing module named numpy - imported by PIL.ImageFilter, setuptools.msvc missing module named 'setuptools.extern.packaging.version' - imported by setuptools.msvc missing module named olefile - imported by PIL.MicImagePlugin, PIL.FpxImagePlugin missing module named 'PySide.QtCore' - imported by PIL.ImageQt missing module named 'PyQt4.QtCore' - imported by PIL.ImageQt missing module named 'PyQt5.QtCore' - imported by PIL.ImageQt missing module named pathlib2 - imported by PIL.Image missing module named pathlib - imported by PIL.Image missing module named cffi - imported by PIL.Image, PIL.PyAccess, PIL.ImageTk
Seems like all required modules are missing. As I asked @TheDoop, have you made sure you installed the requirements with pip install --user -r requirements.txt
?
Can you individually import a random module? Like import numpy
?
Hi mvrozanti pip install --user -r requirements.txt give some new module installed but still Failed to execute script RATattack after build
Can you individually import a random module? Like import numpy?
i tried but no success
The log of warnRAT.....txt is exactly the same even if some new modules were installed
If import numpy
doesn't work then it's probably not properly installed. Does it output relevant information?
just installed numpy successfully! tried to build again but same error when tried to start the exe =/
https://puu.sh/AXbuR/7df7a6aee9.png
missing module named pyimod03_importers - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.requirements, pkg_resources._vendor.packaging.markers missing module named readline - imported by cmd, pdb missing module named pwd - imported by posixpath, getpass, shutil, tarfile, webbrowser, distutils.util, distutils.archive_util, psutil, netrc missing module named ordereddict - imported by pkg_resources._vendor.pyparsing missing module named _thread.RLock - imported by _thread, pkg_resources._vendor.pyparsing missing module named _thread.get_ident - imported by _thread, future.backports.misc, numpy.core.arrayprint missing module named org - imported by copy missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs missing module named com - imported by pkg_resources._vendor.appdirs missing module named grp - imported by shutil, tarfile, distutils.archive_util missing module named _sysconfigdata - imported by distutils.sysconfig, sysconfig missing module named 'win32com.gen_py' - imported by win32com, c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_win32comgenpy.py missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern, pkg_resources missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern, pkg_resources missing module named 'importlib.machinery' - imported by numpy.compat.py3k, pkg_resources missing module named 'pkg_resources.extern.six.moves' - imported by pkg_resources, pkg_resources._vendor.packaging.requirements missing module named pkg_resources.extern.six - imported by pkg_resources.extern, pkg_resources missing module named _imp - imported by pkg_resources missing module named fcntl - imported by tempfile, subprocess, tendo.singleton missing module named 'org.python' - imported by pickle, setuptools.sandbox, xml.sax missing module named 'java.lang' - imported by platform, xml.sax._exceptions missing module named _xmlplus - imported by xml missing module named 'Carbon.File' - imported by plistlib missing module named 'Carbon.Files' - imported by plistlib missing module named Carbon - imported by plistlib missing module named 'multiprocessing.popen_fork' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named 'multiprocessing.popen_spawn_win32' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named 'multiprocessing.spawn' - imported by c:\python27\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py missing module named _dummy_threading - imported by dummy_threading missing module named _xmlrpclib - imported by xmlrpclib missing module named _scproxy - imported by urllib, future.backports.urllib.request missing module named SOCKS - imported by ftplib missing module named rourl2path - imported by urllib missing module named EasyDialogs - imported by getpass missing module named termios - imported by getpass, tty missing module named builtins.complex - imported by builtins, numpy.core.numerictypes, numpy.lib._iotools, numpy missing module named builtins.float - imported by builtins, numpy.core.numerictypes, numpy.lib._iotools, numpy missing module named builtins.bool - imported by builtins, numpy.core.numerictypes, numpy.lib._iotools, numpy missing module named 'dbm.ndbm' - imported by future.moves.dbm.ndbm missing module named gdbm - imported by anydbm, future.moves.dbm.gnu missing module named 'dbm.gnu' - imported by future.moves.dbm.gnu missing module named 'dbm.dumb' - imported by future.moves.dbm.dumb missing module named bsddb3 - imported by bsddb missing module named _pybsddb - imported by bsddb, bsddb.db missing module named dbm - imported by future.standard_library, future.moves.dbm, whichdb, anydbm, future.moves.dbm.ndbm missing module named resource - imported by posix, test.support missing module named winreg.HKEY_LOCAL_MACHINE - imported by winreg, platform missing module named winreg.CloseKey - imported by winreg, platform missing module named winreg.QueryValueEx - imported by winreg, platform missing module named winreg.OpenKeyEx - imported by winreg, platform missing module named _datetime - imported by future.backports.datetime missing module named reprlib.recursive_repr - imported by reprlib, future.backports.misc missing module named vms_lib - imported by platform missing module named java - imported by platform missing module named MacOS - imported by platform missing module named macresource - imported by MacOS missing module named gestalt - imported by platform missing module named riscosenviron - imported by os missing module named riscospath - imported by os missing module named riscos - imported by os missing module named ce - imported by os missing module named _emx_link - imported by os missing module named os2 - imported by os missing module named posix - imported by os missing module named 'collections.abc' - imported by PIL.Image, PIL.TiffImagePlugin, urllib3._collections, requests.compat missing module named 'urllib.request' - imported by numpy.lib._datasource, requests.compat missing module named 'urllib.parse' - imported by numpy.lib._datasource, requests.compat missing module named ipaddress - imported by urllib3.packages.ssl_match_hostname._implementation, urllib3.util.ssl_ missing module named 'backports.ssl_match_hostname' - imported by setuptools.ssl_support, urllib3.packages.ssl_match_hostname missing module named simplejson - imported by requests.compat missing module named "'urllib3.packages.six.moves.urllib'.parse" - imported by urllib3.request, urllib3.poolmanager runtime module named urllib3.packages.six.moves - imported by httplib, urllib3.connectionpool, urllib3.util.response, 'urllib3.packages.six.moves.urllib', urllib3.response, urllib3.util.queue missing module named socks - imported by urllib3.contrib.socks missing module named cryptography - imported by urllib3.contrib.pyopenssl, requests missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl missing module named 'cryptography.hazmat' - imported by urllib3.contrib.pyopenssl missing module named OpenSSL - imported by urllib3.contrib.pyopenssl missing module named psutil._psutil_aix - imported by psutil, psutil._psaix missing module named psutil._psutil_sunos - imported by psutil, psutil._pssunos missing module named ElementC14N - imported by xml.etree.ElementTree missing module named psutil._psutil_bsd - imported by psutil, psutil._psbsd missing module named psutil._psutil_osx - imported by psutil, psutil._psosx missing module named enum - imported by psutil._common, psutil._pslinux, psutil._pswindows missing module named _psutil_linux - imported by psutil missing module named psutil._psutil_posix - imported by psutil, psutil._pslinux, psutil._psosx, psutil._psbsd, psutil._pssunos, psutil._psaix missing module named configparser - imported by setuptools.py36compat, numpy.distutils.system_info, numpy.distutils.npy_pkg_config, pbr.util missing module named setuptools.extern.six - imported by setuptools.extern, setuptools.monkey, setuptools.dist, setuptools.py33compat, setuptools.config, setuptools.command.easy_install, setuptools.sandbox, setuptools.py27compat, setuptools.package_index, setuptools.wheel, setuptools.command.egg_info, setuptools.command.sdist, setuptools.command.bdist_egg, setuptools.unicode_utils, setuptools.glob, setuptools.command.develop missing module named setuptools.extern.packaging - imported by setuptools.extern, setuptools.dist, setuptools.command.egg_info missing module named 'setuptools.extern.six' - imported by setuptools, setuptools.extension missing module named 'setuptools.extern.six.moves' - imported by setuptools.dist, setuptools.py33compat, setuptools.command.easy_install, setuptools.sandbox, setuptools.command.setopt, setuptools.package_index, setuptools.ssl_support, setuptools.command.egg_info, setuptools.command.py36compat, setuptools.namespaces, setuptools.msvc missing module named docutils - imported by pbr.builddoc missing module named 'sphinx.ext' - imported by pbr.builddoc missing module named sphinx - imported by pbr.builddoc missing module named reno - imported by pbr.packaging missing module named nose - imported by numpy.testing.nose_tools.utils, numpy.testing.nose_tools.decorators, numpy.testing.nose_tools.noseclasses, pbr.packaging missing module named testrepository - imported by pbr.testr_command missing module named _manylinux - imported by setuptools.pep425tags missing module named wincertstore - imported by setuptools.ssl_support missing module named backports - imported by setuptools.ssl_support missing module named numpy.lib.i0 - imported by numpy.lib, numpy.dual missing module named numpy.linalg.inv - imported by numpy.linalg, numpy.matrixlib.defmatrix, numpy.lib.polynomial missing module named pathlib - imported by PIL.Image, numpy.compat.py3k missing module named 'numpy_distutils.cpuinfo' - imported by numpy.f2py.diagnose missing module named 'numpy_distutils.fcompiler' - imported by numpy.f2py.diagnose missing module named 'numpy_distutils.command' - imported by numpy.f2py.diagnose missing module named numpy_distutils - imported by numpy.f2py.diagnose missing module named numpy.testing.memusage - imported by numpy.testing, numpy.f2py.f2py_testing missing module named numpy.testing.jiffies - imported by numpy.testing, numpy.f2py.f2py_testing missing module named __svn_version__ - imported by numpy.f2py.__version__ missing module named numarray - imported by numpy.distutils.system_info missing module named Numeric - imported by numpy.distutils.system_info missing module named _curses - imported by curses, curses.has_key missing module named 'nose.plugins' - imported by numpy.testing.nose_tools.noseclasses, numpy.testing.nose_tools.nosetester missing module named scipy - imported by numpy.testing.nose_tools.nosetester missing module named 'nose.util' - imported by numpy.testing.nose_tools.noseclasses missing module named numpy.core.number - imported by numpy.core, numpy.testing.nose_tools.utils missing module named numpy.lib.imag - imported by numpy.lib, numpy.testing.nose_tools.utils missing module named numpy.lib.real - imported by numpy.lib, numpy.testing.nose_tools.utils missing module named numpy.lib.iscomplexobj - imported by numpy.lib, numpy.testing.nose_tools.utils missing module named numpy.core.signbit - imported by numpy.core, numpy.testing.nose_tools.utils missing module named numpy.core.float64 - imported by numpy.core, numpy.testing.nose_tools.utils missing module named numpy.core.float32 - imported by numpy.core, numpy.testing.nose_tools.utils missing module named numpy.core.integer - imported by numpy.core, numpy.fft.helper missing module named numpy.core.sqrt - imported by numpy.core, numpy.linalg.linalg, numpy.fft.fftpack missing module named numpy.core.conjugate - imported by numpy.core, numpy.fft.fftpack missing module named numpy.lib.triu - imported by numpy.lib, numpy.linalg.linalg missing module named numpy.core.divide - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.object_ - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.intp - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.longdouble - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.geterrobj - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.maximum - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.add - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.complexfloating - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.inexact - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.cdouble - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.csingle - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.double - imported by numpy.core, numpy.linalg.linalg missing module named numpy.core.single - imported by numpy.core, numpy.linalg.linalg missing module named 'urllib.error' - imported by numpy.lib._datasource missing module named lzma - imported by numpy.lib._datasource missing module named numpy.recarray - imported by numpy, numpy.ma.mrecords missing module named numpy.dtype - imported by numpy, numpy.ma.mrecords, numpy.ctypeslib missing module named numpy.expand_dims - imported by numpy, numpy.ma.core missing module named numpy.array - imported by numpy, numpy.ma.core, numpy.ma.extras, numpy.ma.mrecords, numpy.ctypeslib missing module named numpy.bool_ - imported by numpy, numpy.ma.core, numpy.ma.mrecords missing module named numpy.iscomplexobj - imported by numpy, numpy.ma.core missing module named numpy.amin - imported by numpy, numpy.ma.core missing module named numpy.amax - imported by numpy, numpy.ma.core missing module named numpy.ndarray - imported by numpy, numpy.ma.core, numpy.ma.extras, numpy.ma.mrecords, numpy.ctypeslib missing module named numpy.histogramdd - imported by numpy, numpy.lib.twodim_base missing module named numpy.eye - imported by numpy, numpy.core.numeric missing module named 'setuptools.extern.packaging.version' - imported by setuptools.msvc missing module named olefile - imported by PIL.MicImagePlugin, PIL.FpxImagePlugin missing module named 'PySide.QtCore' - imported by PIL.ImageQt missing module named 'PyQt4.QtCore' - imported by PIL.ImageQt missing module named 'PyQt5.QtCore' - imported by PIL.ImageQt missing module named pathlib2 - imported by PIL.Image missing module named cffi - imported by PIL.Image, PIL.PyAccess, PIL.ImageTk
@mvrozanti I installed all requirements succesfully but same error
@mvrozanti and @TheDoop what OS/bit and python are you using ?
linux debian 9.4 64 bit python 2.7.15
i tried on fresh install w7 and w10 w7 64bits python 2.7.15 w10 64bits python 2.7.13 + 2.7.15
maybe the version of MSCV @mvrozanti ?
any answer sir ?
@ezera23 I'm currently running Linux (*does not support windows modules required for the project) but initially I ran it on Windows 7 64-bit on Python 2.7.
i tried on fresh install windows 10 with python 2.7.15 but same broblem
@TheDoop if you can't import modules, it's most likely a larger problem. Maybe python or pip are not configured properly?
Hi @mvrozanti im pretty sure there is a problem of config of python or pip too but what can we do for make a properly config ?
I don't know what the exact circunstances may be, but from a few google searches these came up:
I'd honestly try again with a fresh install until I was able to at least get python to import external modules. Then get in the scope of this project in specific.
E:\RAT-via-Telegram-master\dist>RATAttack.exe Traceback (most recent call last): File "RATAttack.py", line 9, in <module> File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module exec(bytecode, module.__dict__) File "site-packages\tendo\__init__.py", line 10, in <module> File "site-packages\pbr\version.py", line 462, in semantic_version File "site-packages\pbr\version.py", line 449, in _get_version_from_pkg_resour ces File "site-packages\pbr\packaging.py", line 833, in get_version Exception: Versioning for this project requires either an sdist tarball, or acce ss to an upstream git repository. It's also possible that there is a mismatch be tween the package name in setup.cfg and the argument given to pbr.version.Versio nInfo. Project name tendo was given, but was not able to be found. [10788] Failed to execute script RATAttack
@mvrozanti hi bro tried the both solution and it's still not working, if you have any further update or ideas i will keep updated here
I have the same problem. I tried all possible solutions I found in the Internet but they didn't help.
Python is trolling hard
I double checked the pre-requisits and they are ok'n up-to-date.
Try the latest update, may work. I haven't had the time to test it myself.
BE AWARE: It's for python 3.7
Interactive mode works for me on Win7 64-bit, on py 3.7
EDIT: compilation seems to be failing, possibly due to missing modules in requirements.txt
. I'll definitely look into it.
Windows 10 on Py 3.7 [14808] Failed to execute script RATAttack check this log for more details.
Very different question but a similar problem. Seems to fix this weird "tendo" packaging issue @Dagdelo pointed out. Please try 13a7b8d9cb13c513765413fef9eff152cd8495bf
Successful build of RATAttack!
========================================================================== I have this error too/ tried on any target machines (x86/64) and get same error everywhere all req successfully installed, but it is dont work(
pyinstaller --clean --upx-dir "upx393w" --noconsole --onefile "RAT_Attack.py" 7422 INFO: PyInstaller: 3.3 7424 INFO: Python: 2.7.14 7425 INFO: Platform: Windows-7-6.1.7601-SP1 7428 INFO: wrote Z:\root\GitHub\NR_RAT_BETA\RAT_Attack.spec 7741 INFO: UPX is available. 7743 INFO: Removing temporary files and cleaning cache in C:\users\root\Application Data\pyinstaller 8118 INFO: Extending PYTHONPATH with paths ['Z:\root\GitHub\NR_RAT_BETA', 'Z:\root\GitHub\NR_RAT_BETA'] 8122 INFO: checking Analysis 8125 INFO: Building Analysis because out00-Analysis.toc is non existent 8128 INFO: Initializing module dependency graph... 8139 INFO: Initializing module graph hooks... 8510 INFO: running Analysis out00-Analysis.toc 8608 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable required by c:\Python27\python.exe 8638 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none ... 8644 INFO: Found manifest C:\windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef.manifest 8655 INFO: Searching for file msvcr90.dll 8657 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcr90.dll 8664 INFO: Searching for file msvcp90.dll 8665 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcp90.dll 8674 INFO: Searching for file msvcm90.dll 8677 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcm90.dll 8684 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 0015:err:service:process_send_command receiving command result timed out 002a:err:plugplay:handle_bus_relations Failed to load driver L"WineHID" 9371 INFO: Caching module hooks... 9399 INFO: Analyzing Z:\root\GitHub\NR_RAT_BETA\RAT_Attack.py 13083 INFO: Processing pre-find module path hook distutils 14055 INFO: Processing pre-safe import module hook win32com 16368 INFO: Processing pre-safe import module hook _xmlplus 18526 INFO: Processing pre-find module path hook site 18543 INFO: site: retargeting to fake-dir 'c:\Python27\lib\site-packages\PyInstaller\fake-modules' 0015:err:service:process_send_command service protocol error - failed to read pipe r = 0 count = 0! 002a:err:plugplay:handle_bus_relations Failed to load driver L"WineHID" 25307 INFO: Processing pre-safe import module hook urllib3.packages.six.moves 31730 INFO: Loading module hooks... 31734 INFO: Loading module hook "hook-distutils.py"... 31766 INFO: Loading module hook "hook-sysconfig.py"... 31792 INFO: Loading module hook "hook-xml.py"... 32052 INFO: Loading module hook "hook-httplib.py"... 32069 INFO: Loading module hook "hook-pkg_resources.py"... 33829 INFO: Loading module hook "hook-requests.py"... 33850 INFO: Loading module hook "hook-certifi.py"... 33865 INFO: Loading module hook "hook-pywintypes.py"... 34618 INFO: Loading module hook "hook-setuptools.py"... 48759 INFO: Loading module hook "hook-encodings.py"... 50825 INFO: Loading module hook "hook-numpy.core.py"... 53075 INFO: Loading module hook "hook-win32com.py"... 53427 INFO: Loading module hook "hook-pythoncom.py"... 0032:err:clipboard:convert_selection Timed out waiting for SelectionNotify event 56381 INFO: Loading module hook "hook-pydoc.py"... 56407 INFO: Excluding import 'Tkinter' 56412 INFO: Removing import of Tkinter from module pydoc 56415 INFO: Loading module hook "hook-_tkinter.py"... 58059 INFO: checking Tree 58060 INFO: Building Tree because out00-Tree.toc is non existent 58062 INFO: Building Tree out00-Tree.toc 58421 INFO: checking Tree 58422 INFO: Building Tree because out01-Tree.toc is non existent 58425 INFO: Building Tree out01-Tree.toc 58526 INFO: Looking for ctypes DLLs 58677 INFO: Analyzing run-time hooks ... 58690 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py' 58718 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' 58744 INFO: Including run-time hook 'pyi_rth__tkinter.py' 58750 INFO: Including run-time hook 'pyi_rth_pkgres.py' 58782 INFO: Looking for dynamic libraries 59537 INFO: Searching for assembly x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.21022.8_none ... 59540 INFO: Found manifest C:\windows\WinSxS\Manifests\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef.manifest 59565 INFO: Searching for file mfc90.dll 59573 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\mfc90.dll 59577 INFO: Searching for file mfc90u.dll 59582 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\mfc90u.dll 59595 INFO: Searching for file mfcm90.dll 59598 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\mfcm90.dll 59600 INFO: Searching for file mfcm90u.dll 59601 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\mfcm90u.dll 59618 INFO: Adding redirect Microsoft.VC90.MFC version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 80194 INFO: Looking for eggs 80194 INFO: Using Python library c:\Python27\python27.dll 80197 INFO: Found binding redirects: [BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 21022, 8), publicKeyToken=u'1fc8b3b9a1e18e3b'), BindingRedirect(name=u'Microsoft.VC90.MFC', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 21022, 8), publicKeyToken=u'1fc8b3b9a1e18e3b')] 80250 INFO: Warnings written to Z:\root\GitHub\NR_RAT_BETA\build\RAT_Attack\warnRAT_Attack.txt 80511 INFO: Graph cross-reference written to Z:\root\GitHub\NR_RAT_BETA\build\RAT_Attack\xref-RAT_Attack.html 81125 INFO: checking PYZ 81126 INFO: Building PYZ because out00-PYZ.toc is non existent 81129 INFO: Building PYZ (ZlibArchive) Z:\root\GitHub\NR_RAT_BETA\build\RAT_Attack\out00-PYZ.pyz 84085 INFO: Building PYZ (ZlibArchive) Z:\root\GitHub\NR_RAT_BETA\build\RAT_Attack\out00-PYZ.pyz completed successfully. 84362 INFO: checking PKG 84365 INFO: Building PKG because out00-PKG.toc is non existent 84368 INFO: Building PKG (CArchive) out00-PKG.pkg 84444 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\msvcr90.dll 85059 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\msvcp90.dll 85362 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\msvcm90.dll upx: C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\msvcm90.dll: CantPackException: .NET files are not yet supported 85457 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 85464 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\python27.dll 85470 INFO: Updating resource type 24 name 2 language 1033 85654 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\python27.dll 88011 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\pythoncom27.dll 88723 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\pywintypes27.dll 88878 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_hashlib.pyd 89914 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\select.pyd 90042 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32wnet.pyd 90136 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32api.pyd 90300 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32com.shell.shell.pyd 90621 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32trace.pyd 90710 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_win32sysloader.pyd upx: C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_win32sysloader.pyd: NotCompressibleException 90865 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 90869 INFO: Redirecting Microsoft.VC90.MFC version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 90876 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32ui.pyd 90884 INFO: Updating resource type 24 name 2 language 1033 90896 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32ui.pyd 91441 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\bz2.pyd 91559 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\pyexpat.pyd 91725 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_multiprocessing.pyd 91840 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_ssl.pyd 93211 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\unicodedata.pyd 93763 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\winsound.pyd upx: C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\winsound.pyd: NotCompressibleException 93881 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_socket.pyd 94009 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\pyhook._cpyhook.pyd 94108 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_ctypes.pyd 94243 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32pipe.pyd 94346 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_portaudio.pyd 94494 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32clipboard.pyd 94589 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\psutil._psutil_windows.pyd 94700 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.core._multiarray_tests.pyd 94881 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.core.multiarray.pyd 95976 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.core.umath.pyd 96414 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\win32pdh.pyd 96536 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_bsddb.pyd 97445 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_testcapi.pyd 97549 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit_tkinter.pyd 97658 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.random.mtrand.pyd 98421 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.fft.fftpack_lite.pyd 98580 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.linalg.lapack_lite.pyd 98674 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\numpy.linalg._umath_linalg.pyd 98986 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfc90.dll 98991 INFO: Updating resource type 24 name 1000 language 1033 99004 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfc90.dll 99922 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfc90u.dll 99928 INFO: Updating resource type 24 name 1000 language 1033 99942 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfc90u.dll 101197 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfcm90.dll upx: C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfcm90.dll: CantPackException: .NET files are not yet supported 101296 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfcm90u.dll upx: C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\mfcm90u.dll: CantPackException: .NET files are not yet supported 102451 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\libopenblas.kzgmshiv2cb7db4hqydv2lepualnsymy.gfortran-win32.dll 119782 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 119802 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\tcl85.dll 119806 INFO: Updating resource type 24 name 2 language 1033 119911 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\tcl85.dll 122161 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\tk85.dll 122167 INFO: Updating resource type 24 name 1 language 1033 122178 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 122187 INFO: Updating manifest in C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\tk85.dll 122194 INFO: Updating resource type 24 name 2 language 1033 122207 INFO: Executing - upx393w\upx --lzma -q C:\users\root\Application Data\pyinstaller\bincache01_py27_32bit\tk85.dll 123503 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8) 126715 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully. 127039 INFO: Bootloader c:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\runw.exe 127042 INFO: checking EXE 127043 INFO: Building EXE because out00-EXE.toc is non existent 127046 INFO: Building EXE from out00-EXE.toc 127231 INFO: Appending archive to EXE Z:\root\GitHub\NR_RAT_BETA\dist\RAT_Attack.exe 127396 INFO: Building EXE from out00-EXE.toc completed successfully.
@mironetwo12
7424 INFO: Python: 2.7.14
We recently moved to Python 3.7
Please how do we get the recent codes for python 3.7. @mvrozanti
Codes?
the codes be in the repo ples clone
This issue has been beaten to death.
hi guys! need a help. whats wrong with my compilation?
Logs:
shows this error, when I run *.exe file