Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 1, 2023 02:08 pm GMT

Virtual Machine 0

Virtual Machine 0

100 points

AUTHOR: LT 'SYREAL' JONES

Description
Can you crack this black box?
We grabbed this design doc from enemy servers: [Download]. We know that the rotation of the red axle is input and the rotation of the blue axle is output. The following input gives the flag as output: [Download].

I searched google what the heck is a .dae file is, and its a file for models and can be opened in blender.

Opening the model in blender we get a lego construction with 2 wheels:

  • Blue - 8 teeth
  • Red - 40 teeth

We're told that the input is the number of times we turned the red wheel and the output is the number of times we turned the blue wheel.

Turing the red wheel once rotates the blue wheel 5 times so that's their relationship (idea from the hint), so if we just multiply the input by 5 we get the output which is a number that's supposed to be the flag.

There's only one thing to do now and it's to decode it to bytes:

from Crypto.Util.number import long_to_bytesn = 39722847074734820757600524178581224432297292490103995908738058203639164185print(long_to_bytes(n*5))

And we get the flag:

picoCTF{your flag}


Original Link: https://dev.to/brunoblaise/virtual-machine-0-3i75

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To