Skip to content

About

Little bot to automate check-in inside DuckApps

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

DucksApp-Check-In-Bot

An unofficial DucksApp automation project created while learning about REST APIs, application communication and reverse engineering.

This repository explores how to interact with DucksApp's REST API in a non-hostile way. The goal is educational: understanding how applications communicate and building a clean automation workflow.

Inspired by projects like AminoPy that encouraged me to explore API reverse engineering.

P.S: I'm not a coder, I'm mainly a sysadmin specialized in cybersecurity, mainly hardening systems, doing infrastructure architecture, forensics engineering, and cyber legislation. Excuse my code for not being the best. Some of it has origins/enhancement of AI, others from Reddit and StackOverflow. Of course, adapted so it works for my project.

⚠️ Legal Notice

This is an unofficial, community-maintained project and is not affiliated with DucksApp.

Automated accounts or bots may violate DucksApp's Terms of Service. Using this software may result in account suspension or bans.

Use at your own risk.

Features

  • 🔍 Automatic Discovery

    • Finds every community the user belongs to
    • Retrieves community and membership information
  • ⚡ Automated Check-In

    • Logs in
    • Runs discovery
    • Checks current status
    • Performs check-in when available
    • Retries every 6 hours and daily at the startup time
    • Saves execution results
  • 🏗️ Modular Architecture

    • Shared API client
    • Centralized configuration
    • Separate discovery and activity modules

Installation

Requirements:

  • Python 3.11+

Install dependencies:

pip install -r requirements.txt

Create your configuration:

cp .env.example bot/config/.env

Edit bot/config/.env with your credentials:

DUCK_BASE_URL=https://api.duckapps.com.br
DUCK_EMAIL=
DUCK_PASSWORD=
DUCK_ANON_KEY=

INFO: The ANON key is located inside the xapk, its used to authenticate the app itself towards the REST API, you can either search for one yourself inside the xapk with jadx, or contact me on discord so I can share you mine. My discord is linked in my BIO


Usage

Run from the repository root:

python -m bot.main

The bot will execute the full workflow immediately and stay running. It retries every 6 hours and also every day at the same local time it was started.


Output

Generated files:

bot/data/

├── discovery_result.json
└── activity_result.json

These contain information collected during discovery and the result of the activity execution.


Roadmap

  • Multiple community support
  • Scheduling
  • Better CLI interface
  • Automated tests
  • More API exploration

License

This project is licensed under the MIT License. See the LICENSE file for details.


About

Little bot to automate check-in inside DuckApps

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages