CCSC 2022 Writeups — Glooties App

Broadcast$$ .java 510 Bytes
public static String getFlag() {
return "ccsc{flag1_";
try {
if (Integer.parseInt(this.passwordEditText.getText().toString()) == new SecureRandom().nextInt()) {
startActivity(new Intent(this, GotIn.class));
} catch (Exception e) {
Log.d("ERROR:", Arrays.toString(e.getStackTrace()) + " " + getFlag());
registerReceiver(this.airplaneModeChangeReceiver, new IntentFilter("android.intent.action.AIRPLANE_MODE"));
Intent intent = new Intent();
intent.putExtra("flag", getFlag());

Recovering the flag




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Google bots accidentally killed our business

Paging3 with Room Persistance

Android Choice Dialog (2 choices) Kotlin Extension

Jetpack Compose — Curtain Effect

Android Quick Tips: Android + VPN + Charles Proxy: it’s failing?

Jetpack Compose — Earthquake Effect

Jetpack Compose Infinite auto-scrolling lists with RecyclerView & LazyLists(Part-3)

Building a Simple Photo App with Jetpack Compose, CameraX, and coroutines part 1: Permissions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christos Falas

Christos Falas

More from Medium

Using Dropzone Multiple Image Upload In Laravel

Capturing android application traffic using BurpSuite

Configuring Stripe Mock and Laravel Sail

How to Deploy The Laravel APP on Microsoft Azure Ubuntu Based VMServer