Back to the Lab 1
LabVIEW

Problem

We've gotten hold of the plant control program, but the MELTDOWN button is locked. Figure out the flag and press the button!
Note: To run the program, you'll have to press the Run button in the upper left of the window. Press the Abort button to stop it.
Note: To run the program, you'll need some rather expensive software; look for the "community edition", it's free. It's bulky, so maybe consider installing on a VM.
Author: nb

Solution

The source code given is a LabVIEW file. Open it using LabVIEW Community.
For substring (0, 19), its XOR with 5 is compared with AdrbFQC~hwZGPWK0Zop.
For the rest, 0xA is subtracted from it and compared with s:)DHK8Uj&]Uj+. The string is also reversed.
1
first_part = 'AdrbFQC~hwZGPWK0Zop'
2
second_part = 's:)DHK8Uj&]Uj+'
3
​
4
for char in first_part:
5
print(chr(ord(char) ^ 5), end='')
6
​
7
result = ''
8
for char in second_part:
9
result += chr(ord(char) + 0xA)
10
​
11
print(result[::-1])
Copied!
Copy link