INNER CODE UNIT · Python

update_status

project-sekai-ctf/sekaictf-2025 · misc/sekai-bank-transaction/challenge/poc-tester/poc-web/src/app.py:277

            def update_status(status):
                q.update_status(status)
                emit_status_update(q)
            try:
                q.client.callback(poc_app, update_status)
            except Exception as e:
                import traceback
                traceback.print_exc()
                raise Exception('Something went wrong while testing your POC. This is a normal behavior and you should try again.')

        q.update_status(Status.TAKING_SCREENSHOT)
        emit_status_update(q)

        screenshot = device.screenshot()
        screenshot.save(os.path.join(Config.SCREENSHOT_FOLDER, f'{q.id}.png'))

        q.mark_completed()
        emit_status_update(q)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…