XayOn / pyrcrack

Python Aircrack-ng bindings
122 stars 30 forks source link

Put interface in monitor mode and leave it in monitor mode. #45

Closed XZCendence closed 1 year ago

XZCendence commented 2 years ago

Detailed Description

How can I put an interface in monitor mode without using async with? I want to use the AirmonNg class without aexit getting called.

XayOn commented 2 years ago

@XZCendence you can always use it manually:

foo = await AirmonNg().__aenter__()