<span>Original Article at:https://penafieljlm.wordpress.com/2016/10/29/ekoparty-ctf-2016-write-ups/#rev-50</span>Reversing 50 (F#ck)A wild inappropriately named reverse engineering challenge appears!The attachment contains a single Windows executable file named “FlagGenerator.exe”. Upon closer inspection (via a text editor), one would see that the executable is a .NET assembly.RequirementsILSpy (a .NET decompiler).Visual StudioProcessOpen the “FlagGenerate.exe” file with ILSpyView the decompilation for “FlagGenerator/-/Program”Create a Visual Studio ProjectAdd the “FSharp.Core” assembly to the References of your projectCopy all of the imports in the decompilation to your projectCopy the entire “Program” class to your projectReplace all instances of teArr@9 to teArrat9 (or any other valid name) to suppress some of the syntax errorsBeforeAfterReplace entire main method with a call to Program.get_flag(“t#hs_siht_kc#f”) and and print of its return valueBeforeAfterRun the program, copy the output, and pass it as an argument to “FlagGenerator.exe”The flag is “EKO{f#ck_this_sh#t}”