Intreracting with processes

L00PeR
7 years ago | edited 7 years ago

0

Hi!!

There’s any way of interacting with a process with another script in python??
let me explain…

imagine you have a process which asks for a password

The question is: Can you create a script which attaches to that process and brute-force the password??

Another example:

You are playing a game which consist on clicking on “X” objects.

Can you create a script which attaches to that process and automatically click on the objects??

I hope I explained correctly

Thanks!!

5replies
2voices
237views
Smyler [WHGhost]
7 years ago

0

If you want to interact with a browser, then, have a look at Selenium.
https://pypi.python.org/pypi/selenium

Something that does not do want you want but can still interest you is volatility, a framework designed to extract data off the RAM.
http://www.volatilityfoundation.org/

Dogtail may be what you are looking for, but I don’t know anything about it and the main page is not accessible, so I don’t really know.
https://pypi.python.org/pypi/dogtail/

L00PeR
7 years ago

0

Ok I’ll check those libraries :)

L00PeR
7 years ago

0

Dogtail is just what I need but…
I’m having problems while intallating…

when I import the library: from dogtail.procedural import *

returns me an error: ImportError: No module called pyatspi

I tried installing manually this module but apt-get tells me that pyatspi does not exist. :(

sudo apt-get update && sudo apt-get install python-pyatspi

And yes… I checked is the correct name for the module…

Smyler [WHGhost]
7 years ago

0

Try sudo pip install <module-name>

L00PeR
7 years ago

0

tried already

You must be logged in to reply to this discussion. Login
1 of 6

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss