Rust Fixme 1
Have you heard of Rust? Fix the syntax errors in this Rust file to print the flag!
Rust Fixme 1
Getting Start
Another Rust program ctf. its very easy and simple.. all though if you stuck , here it the solve
First open the main.rs file. if you don’t know how to open then first solve previous 2 rust fixme3 & rust fixme2. After open the main.rs file check the comments , you need to fix 3 thing end of the program or in short missing semicolon (;) look at the return , its ret . replace it with return. and the end, look at the println!()
function. here on the function :?
. replace it with {:?}
.
Ref :why we use “”
Ans
run the file and it’s done.
This post is licensed under CC BY 4.0 by the author.