Welcome to the Linux Foundation Forum!

How do I run the lab exercises?

I am using a Mac M1 Pro and am attempting my first lab exercise, (OpenSSF LFD121 developing secure software shell injection exercise). I've tried using several browsers (Chrome, Safari, DuckDuckGo) but none of them permit the python snippets to run. The hint, reset and give up buttons are available but none of them do anything when clicked. What am I missing?

Best Answers

  • dwheeler
    dwheeler Posts: 6
    Answer ✓

    Hi, I'm terribly sorry! It's not your fault, it was our fault.

    That's a new lab. In the process of some last-minute additions we accidentally broke the lab and that breakage slipped through our tests (!).

    I just fixed the lab. While I was there, I also made some improvements to the lab for those less familiar with Python (by adding various hints). I will now go modify our tests so that similar mistakes will be caught be our tests, to hopefully prevent recurrence.

    Thanks for giving our labs a try!

  • dwheeler
    dwheeler Posts: 6
    Answer ✓

    However I still can't get the second part to go green whatever I try.

    Have you tried asking for a hint? I added a bunch of hints, so if you reload the lab, there are many more hints that will help you get there.

    Worse comes to worse, click on "give up" and see the answer. The lab won't even load if the give up answer won't make it "go green"; there's a self-test that verifies that the "give up" answer actually works.

Answers

  • Thank you David. It's a great course by the way! I'm really finding it interesting.

  • sipaynehsl
    sipaynehsl Posts: 7
    edited August 24

    It now partly works for me. For the first part, my original response wasn't exactly correct, I had used parentheses in the regex to create a group that wasn't necessary. Having removed them, I now get a green on stage 1. Great :)

    However I still can't get the second part to go green whatever I try.

  • Ah yes, it's my python newbyness that caught me out. Works now. Thanks.

Categories

Upcoming Training