Bloat.py Python Code Obfuscation picoCTF 2022

Поделиться
HTML-код
  • Опубликовано: 5 май 2022
  • This video is a collaboration with Stuffy24: / stuffy24
    picoCTF Hacker + Teacher Walkthrough
    This is a collaboration between a tech teacher / robotics engineer (Sanjin) and a hacker with years of CTF experience (Stuffy). The goal of the collaboration is to provide a really well explained set of walkthroughs for the picoCTF General Skills Challenges.
    Sanjin asks the questions that beginners will be asking and tries to get stuffy to clarify why a particular method is used and most importantly where in the real world do hackers use these skills.
    SOCIALS SANJIN:
    Twitter: / sanjindedic
    Facebook Page: / headstartacademyau
    / sanjin-dedic
    SOCIALS STUFFY:
    RUclips: / stuffy24
    Discord: HACKING 101 / discord
    Patreon: / posts
    WEBSITES
    www.headstartacademy.com.au/
    robotix.com.au/
    About me
    I have been a technology enthusiast from as long as I can remember with a special love for robots. I completed my Robotics degree at A.N.U and majored in Computer Vision. In 2012 after 5 years working as a Design Engineer, I decided to get into education. My first passion was bringing Arduino Programming and 3D printing to schools but I as the years went by Python became my new favourite toy for creating text based applications like chatbots and 2D games. Since 2015 I have been teaching part time while authoring books and online courses used by tens of thousands of students across Australia as well as doing extensive teaching training in collaboration with Digital Learning and Teaching Victoria.
    About Head Start Academy
    I believe that coding is an extremely useful and universally valued skill. Today most students in Australia experience some coding in school or in after school programs. Some students enjoy it immensely and are left wanting more, these are the students I want to help. My goal is to build on that enthusiasm, introduce them to like minded peers and help them learn the skills and habits that will set them on a path to excellence in Computer Science.
    In our classes students will experience the following:
    • Small group learning: 6 - 12 students
    • Instruction from an educator who has university level qualifications in both education and Digital Technologies
    • Minute by minute peer and instructor feedback on their code
    • Lifetime access to learning materials (videos + pdf guides) for all the content covered
    • Research skills and best practice use of coding websites like Stack Overflow and GitHub
    #picoCTF, #CyberSecurity, #CaptureTheFlag
  • НаукаНаука

Комментарии • 3

  • @rasmusmose8059
    @rasmusmose8059 2 года назад +1

    There are two sys.exit(0) in the program, so only two ways, the program can terminate. The first sys.exit(0) is where you found the password. Here I added 1==1 or

    • @SanjinDedic
      @SanjinDedic  2 года назад

      sorry can you elaborate a little bit, I can see the 2 different sys.exit() points on line 11 and 40 but I don't yet understand how they can be used to crack this challenge

    • @rasmusmose8059
      @rasmusmose8059 2 года назад

      @@SanjinDedic You know, that if you write the password wrong, then the program will terminate. This can only happen in two places; at line 11 or at the end of the program. At the end of the program it's supposed to stop, so what you have to do is to avoid the program to stop at line 11. This can be done by making the first part of the if-statement true. E.g. change line 5 to
      if True or arg432 == a[71]+a[64]+a[79]+a[79]+a[88]+a[66]+a[71]+a[64]+a[77]+a[66]+a[68]: