A new way to make money.
Use of this software is subject to the risk of being blocked, please use it with caution.
- Android, your could download here
- IOS
- Windows
- Linux
- Monitor window state and content change through
accessibility service
. - Identify red packet by finding the specific node of widget tree.You could do that by
AirTest IDE
tools. - Click red packet and return to chat list.
- Use
state machine
to manage different phase of opening red packet action.
- Monitor notification of red packet
- Monitor chat list
- Open red packet has a delay
- Shield specific text ...
- Ensure your pc support flutter framework
flutter doctor -v
You need install flutter when you saw something didn't work.
- Pull this repo into your local directory
git clone https://github.com/hencejacki/RedPacketAssassin.git
- change directory and get some dependencies
cd RedPacketAssassin
flutter pub get
- Run on your phone or simulators you created
flutter run -d android
- AccessibilityService#onServiceConnected(): After the system binds to a service, it calls . This method can be overridden by clients that want to perform post binding setup.
- AccessibilityService#disableSelf(): An accessibility service stops either when the user turns it off in device settings or when it calls .
<service android:name=".MyAccessibilityService"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
. . .
</service>
<service android:name=".MyAccessibilityService">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
<meta-data android:name="android.accessibilityservice" android:resource="@xml/accessibilityservice" />
</service>
- AccessibilityWindowsInfo
- AccessibilityNodeInfo