#🔒 pyinstaller and python not working anymore

79 messages · Page 1 of 1 (latest)

torpid kindle
#

I could swear I did not change anything in my code but when I enter "pyinstaller --onefile --noconsole --name svchost --icon="icon.ico" test.py"

Nothing happens. Instead, there is a file called "python.exe" in my process manager and my pc runs hot. Even when I try to open the file in the cmd with "python test.py" it does not work. I restarted my pc and then suddenly it is like that.

Can someone please help me out?

uncut iglooBOT
#

@torpid kindle

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

gloomy river
#

!paste

uncut iglooBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

torpid kindle
#

but it doesnt even matter what file I try to run in the cmd, whenever I type python file.py no matter which file it is, it does not work

#

just returns me with nothing

#

instead a python.exe is being run in the task manager

gloomy river
#

Do you aware what this program do?

torpid kindle
#

I wrote it myself

#

I dont think the problem is related to the program

gloomy river
#

So what it do?

torpid kindle
#

its just a little experiment, it handles the client part in a socket

gloomy river
#

Just?

torpid kindle
#

what do you mean

#

it is able to receive commands

#

I really appreciate your help but how is this related to my problem?

gloomy river
#

Im suspecting this is a malware

#

And you are running the malware you coded to yourself

torpid kindle
#

I wrote it to challenge myself

#

and no matter what python code I try to run it does not work

#

I am aware I am running it

#

it does no harm

#

I ran it hundreds of times but now I cannot even convert it to an .exe file

#

also I cannot run any python file at all via my cmd

gloomy river
#

Unless you describe exactly what it do, I would believe it's a virus

torpid kindle
#

nvm

#

when I try to run a python file which has the only line print("hello world")

#

it does not work

#

I do not get anything returned

#

doesnt even matter which code I use

gloomy river
#

Did you save your file?

torpid kindle
#

yeah

#

should I reinstall python

gloomy river
#

Idk, I can doing analysis on the code you have

torpid kindle
#

as I said

#

it is doing that with every file

#

even if there is just one liner print("Hello world")

#

oh

#

when I enter python in my cmd also nothing happens

#

lol

#

would have sworn I did not change anything

#

reinstalling python rn

gloomy river
#

You still would need to explain your code

torpid kindle
#

everthing fine again

torpid kindle
#

I reinstalled python and it worked

gloomy river
#

Either you are hiding it or you don't know

torpid kindle
#

will you give me tips if I tell you what it does?

gloomy river
#

So you are hiding it

torpid kindle
#

hiding? I dont know you lol

#

its just a fun project

gloomy river
#

Well, I am not blind I can read the code and it's a RAT Monero miner virus

#

!rule 5 and therefore

uncut iglooBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

torpid kindle
#

I do not need your help though anymore?

#

I am doing completely fine

#

and as I said I wrote it myself

#

yeah cool

#

how is an xmrig.exe file malware though

#

oh man

gloomy river
#

It is how your code use it make it malware

torpid kindle
#

I know what it does I wrote it myself I understand it better than you do son

#

but its all good mate

#

keep up the grind here

#

can any admin delete the paste please?

austere wren
#

Why do you want it deleted?

torpid kindle
#

its my code

#

not trying to be rude or anything

austere wren
#

That's fine, you don't need one - I was just curious, let me pass it onto the admins to confirm

uncut iglooBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

🔒 pyinstaller and python not working anymore