xp4xbox / Python-Backdoor

This project is a cross-platform backdoor/reverse shell and post-exploitation tool written in Python3
GNU General Public License v3.0
707 stars 204 forks source link

Failed to execute script pyi_rth_pkgres - Error #45

Closed Developer-Mike closed 4 years ago

Developer-Mike commented 4 years ago

An error message pops up: Failed to execute script pyi_rth_pkgres (in the client exe file) please help

xp4xbox commented 4 years ago

Are you using the most updated commit? I didn't get any errors assuming you get the error when opening the client.exe file. Also what version of python are you using.

Developer-Mike commented 4 years ago

I cloned the project and downloaded the zip file. I am using Python 3.7

Developer-Mike commented 4 years ago

Probably the setup.py inputs matter?

xp4xbox commented 4 years ago

What were your inputs?

Developer-Mike commented 4 years ago

A dns hostname, default port, add to startup and all others not.

xp4xbox commented 4 years ago

Try going into setup.py and removing the --windowed on line 177 and run it in a command window to see the log.

Developer-Mike commented 4 years ago

The error is: backdoorError

tidely commented 4 years ago

Try the troubleshooting tips from this stackoverflow question: https://stackoverflow.com/questions/37815371/pyinstaller-failed-to-execute-script-pyi-rth-pkgres-and-missing-packages

Developer-Mike commented 4 years ago

It worked! Thanks

asdat3 commented 3 years ago

@Star-Shade-88 i have the same issue please tell me what you did since the stackoverflow thing provides multiple options, thanks

Developer-Mike commented 3 years ago

Type

pip uninstall pyinstaller pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

In console.

asdat3 notifications@github.com schrieb am Mi., 28. Okt. 2020, 00:02:

@Star-Shade-88 https://github.com/Star-Shade-88 i have the same issue please tell me what you did since the stackoverflow thing provides multiple options, thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xp4xbox/Python-Backdoor/issues/45#issuecomment-717590846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUEG2AUNM2G7XM5F2MHHGLSM5GPHANCNFSM4OMTJQ4Q .

asdat3 commented 3 years ago

Hey, okayyy tried that already didnt work for me :( thanks anyways

Developer-Mike commented 3 years ago

What's the problem?

asdat3 notifications@github.com schrieb am Mi., 28. Okt. 2020, 09:19:

Hey, okayyy tried that already didnt work for me :( thanks anyways

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xp4xbox/Python-Backdoor/issues/45#issuecomment-717774397, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUEG2FFLHESCSS3FL4AGQ3SM7HZVANCNFSM4OMTJQ4Q .

asdat3 commented 3 years ago

https://github.com/xp4xbox/Python-Backdoor/issues/49 @Star-Shade-88

Developer-Mike commented 3 years ago

Did you run pip uninstall pyinstaller

asdat3 notifications@github.com schrieb am Mi., 28. Okt. 2020, 11:31:

49 https://github.com/xp4xbox/Python-Backdoor/issues/49

@Star-Shade-88 https://github.com/Star-Shade-88

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xp4xbox/Python-Backdoor/issues/45#issuecomment-717842653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUEG2GASBJCHSHQJ4V4URDSM7XG7ANCNFSM4OMTJQ4Q .

asdat3 commented 3 years ago

yes

asdat3 commented 3 years ago

I reinstalled it with the zip then

asdat3 commented 3 years ago

also downloaded the github pyinstaller thing and installed it via running the setup.py after downloading

Developer-Mike commented 3 years ago

Type

pip uninstall pyinstaller pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

In console.

And don't install with setup.py

asdat3 notifications@github.com schrieb am Mi., 28. Okt. 2020, 12:04:

also downloaded the github pyinstaller thing and installed it via running the setup.py after downloading

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xp4xbox/Python-Backdoor/issues/45#issuecomment-717859692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUEG2AUR227MKDR2P7HGMTSM73FFANCNFSM4OMTJQ4Q .

asdat3 commented 3 years ago

I did that already did not work :(

asdat3 commented 3 years ago

I did both

Developer-Mike commented 3 years ago

Ok... I have no clue how.

asdat3 notifications@github.com schrieb am Mi., 28. Okt. 2020, 12:18:

I did both

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xp4xbox/Python-Backdoor/issues/45#issuecomment-717867125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUEG2FOZFKFO4OC7USQ6OLSM74ZLANCNFSM4OMTJQ4Q .

tidely commented 3 years ago

Add a try except to all imports and then print out the full error, this way you can see which import is causing trouble

asdat3 commented 3 years ago

ok yeah

asdat3 commented 3 years ago

Is it possible that somebody else here compiles my exe please? port: 3000 (default) ip: 185.78.255.231 melt into temp: yes autostart: yes UPX: doesnt matter

would be awesome 👍