Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i run it to a device that doesnt have python?! #1

Open
ptm1234688 opened this issue Jul 31, 2022 · 2 comments
Open

How can i run it to a device that doesnt have python?! #1

ptm1234688 opened this issue Jul 31, 2022 · 2 comments

Comments

@ptm1234688
Copy link

I have a quastion. My quastion is, my target PC doesnr have python ao how can i run it in that PC?

@saed-gpr
Copy link
Owner

I have a quastion. My quastion is, my target PC doesnr have python ao how can i run it in that PC?

for this case, you should convert .py file to .exe file. first step is completing your program. then install "pyinstaller" library with pip install pyinstaller or python pip install pyinstaller or python3 pip install pyinstaller syntax. after installing, open the cmd or terminal and write "pyinstaller" + pathfile + "--noconsole --onefile" to converting .py file to .exe

for example if your python file is in Desktop, so the path is C:/User/Desktop/example.py

so you should write this in cmd or terminal:

pyinstaller C:/User/Desktoo/example.py --onefile --noconsole

a "dist" folder will be create. go into it and in it you see "example.exe" file

@I-DoNt-LiKe-Micro-Soft
Copy link

I didn't think you could as the victim would need to install pynput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants