• 6. Python Tython

    • Intro

      In this lesson you are going to:

      use Python to hack some activities. You will learn about some of the important features of Python and will learn why it is really useful in hacking and cybersecurity.

    • Cylab Academy Python Hacking

      Let's go to Cylab Academy and complete 4 activities from Python in CTFs - Problem set 1 and 2.

      Python Examples

      These are just a few examples of what you need to remember about Python code.

      #1. Python code must follow indenting rules
      if 5 > 2:
        print("Five is greater than two!")
      
      
      
      #2. look at the '=' signs on line 6 and line 9
      if price == 100,000:                         #equality
        print("Price is too high!!!")
      
      workshop_name = "Get Hacking or Get Hacked"  #assignment