Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tfm@piefed.europe.pub to Programmer Humor@programming.devEnglish · 5 days ago

Buggy CAPTCHA

piefed.europe.pub

message-square
25
fedilink
399

Buggy CAPTCHA

piefed.europe.pub

tfm@piefed.europe.pub to Programmer Humor@programming.devEnglish · 5 days ago
message-square
25
fedilink
alert-triangle
You must log in or # to comment.
  • anotherspinelessdem@lemmy.ml
    link
    fedilink
    arrow-up
    41
    ·
    5 days ago

    Jesus, is that a decompilation?

    • ChaosMonkey@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      55
      ·
      5 days ago

      Obfuscated JS.

      • anotherspinelessdem@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        5 days ago

        😧

        In any case it could probably be refactored neatly programmatically but otherwise obfuscation achieved

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    17
    ·
    4 days ago

    If there are none, press “Ship”

  • relativestranger@feddit.nl
    link
    fedilink
    English
    arrow-up
    30
    ·
    5 days ago

    they all do, if each square is considered separately.

  • Scratch@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    28
    ·
    5 days ago

    PirateSoftware is making CAPTCHAS now?

    • Gonzako@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      5 days ago

      I think this is just ofuscated code from one of the npm supply chain attacks

  • ripcord@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    5 days ago

    This code makes me really unhappy

    Although I am really desensitized right now. Earlier today I had to review a PR for that guy that maintains that one project that has things like 8000-line functions of mostly nested ifs. And they won’t let me reject them anymore with “BURN IT. BURN IT ALL”

    • mere@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      12
      ·
      5 days ago

      it’s de-obfuscated, a human didn’t write it (in that form) thankfully

      • Tja@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        4 days ago

        Disassembled. Still pretty obfuscated.

        EDIT: on a close look this is not C, so not disassembled, just obfuscated.

        • mere@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          4 days ago

          oops yeah brain fart sorry

  • AmidFuror@fedia.io
    link
    fedilink
    arrow-up
    18
    ·
    5 days ago

    Ironically, this is something AI should be very good at detecting.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      23
      ·
      5 days ago

      I actually doubt that somewhat. The language models do still go off of words to a large degree.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        5 days ago

        They may be worse than a very good programmer. But will be much faster answer. The real captcha is not to check if the answer is correct. It is to check the time it takes to answer.

        Except humans that are not very good programmers will just give up and answer quite fast. Or just click away lol.

      • PastafARRian@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        Sure, let me help you with that!

        Thinking for a better answer… (4 minutes later)

        Square 1 has a bug, the variable “docu” is not defined Square 5 has a bug, the function _ is not present. Square 17 has a bug, the function “Skip” is also not defined.

        Let me know if that was helpful to you!

    • SubArcticTundra@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      5 days ago

      No but I can see it being good at deobfuscation

  • Freigeist@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    5 days ago

    Outsourcing PR reviews

    • treesquid@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Peer Review Reviews?

  • CXORA@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    clearInterval needs an argument, so we need to be storing the interval we created with the setInterval call.

  • stupidcasey@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 days ago

    Ctrl+A

  • pewpew@feddit.it
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    What the hell is this 😭

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    LGTM, approved.

  • danc4498@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    Is this how AI actually helps me complete my code?

  • humanspiral@lemmy.ca
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    5 days ago

    can’t tell if C or Javascript. Could this be meta that all squares of javascript are always all buggy?

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      5 days ago

      C doesn’t have the function keyword

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.63K users / day
  • 4.2K users / week
  • 7.4K users / month
  • 19.1K users / 6 months
  • 1 local subscriber
  • 26.5K subscribers
  • 1.75K Posts
  • 63.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org