VPN Basics 1.3 cant lunch sh flag.sh

I just cant create the echo file in VPN basics 1.3

I just tested the Challenge script (flag.sh) and it does work…

I did not configure the VPN so it’s not showing the flag, but you can see the output messages.

I do see that you are missing a space between the redirect ( > ) and the file name (flag.sh), but I tested that as well…

The double-quote, ", after /bin/sh is redundant.

I don’t think so :slight_smile:

There are two echo statements, one echoing the other.

echo " echo “blah” blah " > blah.sh

Also bash is rather unforgiving when it comes to syntax errors :slight_smile:

Oh, yeah, you’re right.

I’d rather use vi instead of echo in that case.

What does “cat ./flag.sh” show btw?