1

I have a character devices file, say /dev/X and I would like to capture every interaction which goes in and out of /dev/X.

I'm looking for a way to create some kind of MITM/Proxy to that file.

Edit:

Regarding what X is, it is FM interface over android. So /dev/fm is the character device file.

The end goal is to intercept any command that is sent to this file.

2
  • 1
    What kind of character device? Is it a (possibly emulated) serial line, a pty, ... If you know the specifics it helps a lot. You can add the additional information right in the question. Commented Mar 17, 2021 at 18:06
  • @EduardoTrápani Hi, thanks for the response, I have edited my question. Commented Mar 17, 2021 at 18:21

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.