Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

How to run it in Linux? #40

Open
shuhrat02 opened this issue Jun 1, 2018 · 4 comments
Open

How to run it in Linux? #40

shuhrat02 opened this issue Jun 1, 2018 · 4 comments

Comments

@shuhrat02
Copy link

Hi guys! tnx for this awesome RAT! have an issue, how to run it in Linux? Does this RAT support a linux platform? or only windows?

Logs:

pip install pyHook-1.5.1-cp27-cp27m-win_amd64.whl
pyHook-1.5.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

pip install pyHook
Collecting pyHook
Could not find a version that satisfies the requirement pyHook (from versions: )
No matching distribution found for pyHook

python RATAttack.py
Traceback (most recent call last):
File "RATAttack.py", line 4, in
from PIL import ImageGrab # /capture_pc
File "/usr/lib/python2.7/dist-packages/PIL/ImageGrab.py", line 22, in
raise ImportError("ImageGrab is macOS and Windows only")
ImportError: ImageGrab is macOS and Windows only

@shuhrat02
Copy link
Author

There is a Linux implementation of pyHook called pyxhook. does not work :(

@mvrozanti
Copy link
Owner

mvrozanti commented Jun 1, 2018

This unfortunately runs only on Windows now. But I'd be glad if this were to be cross-platform since Python can be. Very nice idea. I'll accept pull requests on this

Good resources:
https://stackoverflow.com/questions/1325581/how-do-i-check-if-im-running-on-windows-in-python#1325587

https://stackoverflow.com/questions/31259856/how-to-create-an-executable-file-for-linux-machine-using-pyinstaller#32157287

https://stackoverflow.com/questions/3496592/conditional-import-of-modules-in-python

EDIT: I actually recently moved to Linux, this would ressurect this repo for me

@mvrozanti
Copy link
Owner

@dudeisbrendan03
Copy link
Collaborator

I'll make another branch that uses modules that support posix then make a pull request

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

No branches or pull requests

3 participants