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

Problem with pipe to have logs #23

Open
clementlagneau opened this issue Jun 8, 2021 · 0 comments
Open

Problem with pipe to have logs #23

clementlagneau opened this issue Jun 8, 2021 · 0 comments

Comments

@clementlagneau
Copy link

clementlagneau commented Jun 8, 2021

Hi,

I have some problems when I use pipe operator with the output of Mirage.

For example, when I use mirage ble_mitm INTERFACE1=hci0 INTERFACE2=hci1 TARGET=11:11:11:11:11:11 CONNECTION_TYPE=random SCENARIO=mitm_test | tee log.log or when I want to redirect to a file like mirage ble_mitm INTERFACE1=hci0 INTERFACE2=hci1 TARGET=11:11:11:11:11:11 CONNECTION_TYPE=random SCENARIO=mitm_test >> log.log, it doesn't work.

Do you have any idea to have logs in an other way ?
Do you have any idea to patch this problem ? (I had already this problem in Python-like environment and solve this with a '\n' or putting 'flush' parameter of print to True)

Thanks,
Regards,

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

1 participant