HackiHoli

A quick warmup before I went onto some other problems. Gave up because the flags were just trival but taking forever.

Space Snacks - Misc

Flag 1 - Rotten to the core [20 pts]

You find a roten apple next to a piece of paper with 13 circles on and some text. What's the message?

Vg nccrnef lbh unq jung vg gnxrf gb fbyir gur svefg pyhr Jryy Qbar fcnpr pnqrg pgs{Lbh_sbhaq_gur_ebg} Npprff pbqr cneg 1: QO

Use ROT13 to get this message It appears you had what it takes to solve the first clue Well Done space cadet ctf{You_found_the_rot} Access code part 1: DB

Flag: ctf{You_found_the_rot}

Flag 2 - The roman space empire [25 pts]

You find a page with a roman insignia at the top with some text what could it mean?

Jhlzhy ulcly dhz clyf nvvk ha opkpun tlzzhnlz. jam{Aol_vul_aybl_zhshk} jvkl whya: NW

Of course roman is referring to Caesar cipher (+7) Caesar never was very good at hiding messages. ctf{The_one_true_salad} code part: GP

Flag: ctf{The_one_true_salad}

Flag 3 - The space station that rocked [25 pts]

You hear the heavy base line of 64 speakers from the next compartment. you walk in and the song changes to writing's on the wall, there is some strange code painted on the wall what could it mean?

RXZlbiAgaW4gc3BhY2Ugd2UgbGlrZSB0aGUgYnV0dGVyeSBiaXNjdXQgYmFzZS4gY3Rme0lfbGlrZV90aGVfYnV0dGVyeV9iaXNjdWl0X2Jhc2V9IC4gQWNjZXNzIHBhcnQgMzogWEQ=

Mentioning 64 of course we know base64 Even in space, we like the buttery biscuit base. ctf{I_like_the_buttery_biscuit_base} . Access part 3: XD

Flag: ctf{I_like_the_buttery_biscuit_base}

Flag 4 - What the beep is that? [25 pts]

You hear beeps on the radio, maybe someone is trying to communicate? Flag format: CTF:XXXXXX

.. -. ... .--. . -.-. - --- .-. / -- --- .-. ... . / .-- --- ..- .-.. -.. / -... . / .--. .-. --- ..- -.. / --- ..-. / -.-- --- ..- .-. / . ..-. ..-. --- .-. - ... .-.-.- / -.-. - ..-. ---... ... .--. .- -.-. . -.. .- ... .... ..--- ----- ..--- .---- / .- -.-. -.-. . ... ... / -.-. --- -.. . ---... / .--- --...

Dots and dashes Do I even need to explain... Morse code of course.

INSPECTORMORSEWOULDBEPROUDOFYOUREFFORTS.CTF:SPACEDASH2021ACCESSCODE:J7

Flag: CTF:SPACEDASH2021

Flag 5 - The Container docker [25 pts]

You are now in the space cafe, the cake is in the container that should not be here. You can see random names on all the containers. What will Docker never name a container? Note: Please enter it as ctf{full_name}

Searching that question in google the first answer was correct

Flag: ctf{boring_wozniak}

Bowshock - Reversing

Flag 1 - Bowshock [50 pts]

Can you find out how to minimize bow shock and prevent everything from turning into dust?

Here is the decompiled code

import java.util.InputMismatchException;
import java.util.Scanner;

// 
// Decompiled by Procyon v0.5.36
// 

class BowShock
{
    public static int totalInput;
    
    public static int getInput() {
        System.out.println("Set the amount of plasma to the correct amount to minimize bow shock: ");
        final Scanner scanner = new Scanner(System.in);
        int nextInt;
        while (true) {
            try {
                nextInt = scanner.nextInt();
            }
            catch (InputMismatchException ex) {
                System.out.print("Invalid input. Please reenter: ");
                scanner.nextLine();
                continue;
            }
            break;
        }
        BowShock.totalInput += nextInt;
        return nextInt;
    }
    
    public static void bowShock() {
        System.out.println("And all was dust in the wind.");
        System.exit(-99);
    }
    
    public static void main(final String[] array) {
        System.out.println("Oh damn, so much magnetosphere around here!");
        if (getInput() != 333) {
            bowShock();
        }
        System.out.println("We survive another day!");
        if (getInput() != 942) {
            bowShock();
        }
        if (getInput() != 142) {
            bowShock();
        }
        System.out.println("Victory!");
        System.out.println(invokedynamic(makeConcatWithConstants:(I)Ljava/lang/String;, BowShock.totalInput));
    }

In the main method, it is straightforward they want the input of 333 942 142 to get to the flag. That is all we have to do. I ran into the issue of Java Runtime was out of date but couldn't update so I couldn't run the file

Flag:

Last updated