CTF Made for Code and Conquer '24
We are given a .bat file called “ABXY.bat”. We need get the answer in hacker{XXXX}. .bat files work on language called batch, which is used for DOS application. It can perform various functions such as copying, deleting, creating new files, reading file data or writing to files. Rem command is used to comment out lines in batch. • The given .bat file is self-duplicating and self-destructing. Please use a copy of the given file before continuing the challenge. • The .bat file works only for windows/DOS based systems. Running .bat files under Linux or Windows emulators such as WINE may not work as intended.- Run the .bat file in an isolated folder.
- This creates multiple folders at the file location
- The .bat file self-destructs.
- The file copies itself to \New Folder(6)\CR\22.
- Running the file repeats this again to \New Folder(6)\CR.
- Running the file again displays the message “Not here. Try Again.”
- The .bat file self-destructs.
- Within the users Documents folder, a file called dblank.txt is created.
- The password is found within it.