• 13 Posts
  • 484 Comments
Joined 5 months ago
cake
Cake day: June 28th, 2025

help-circle
  • abbadon420@sh.itjust.workstomemes@lemmy.worldCVS style
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    3 hours ago

    ') closes the input for the original sql statement. So the actual input would be “Robert”, but it’s not really important for this kind of attack.
    ; says that the statement is over and anything after is a new statement.
    DROP TABLE customer; is that new statement, which deletes a table with the name “customers”.
    -- is the syntax for an sql comment. It effectively makes sure that any other sql statements in the actual script get ignored, so you don’t get a compile error.

    This is an effective attack for when some programmer uses unsanitized string instertion in their sql script. In this case I could imagine a statement like: SELECT id FROM users WHERE name == {user_input}; where {user_input} is the literal, unsanitized input that you give on the website.

    Notice that in this case, the ') doesn’t do anything, but it just becomes part of the input, so that is now “') Robert”.








  • Fitness.

    I had been getting more frequent backpains and just a general feeling of being unfit. Walking uo stairs would leave me breathless. I couldn’t run for more than 200 meters without gasping for air.

    Now I started going to the gym, 3 years ago and I feel fit now. Sometimes I still get pains, sometimes I even get pains because of cardio of lifting, but those arent as bad. I feel more alive and more comfortable because I’m fit now. I’m still fat and ugly, but also fit.


  • I hadn’t been to reddit for over a year, but recently picked it up again. They’ve got things that we don’t have, because they’re bigger. Their community isn’t all bad, but you have to look hard.

    I make sure not to post anything though. No comments or upvotes either. I would still rather see them die, but sunce they’re here, I might as well use them.











  • You can still get an expensive condition despite living a healthy lifestyle. This comic is bullshit.

    You live a healthy lifestyle so you can get a better quality of life. So you don’t get out of breath by walking up a flight of stairs, so you have energy to go out after work when you’re 40, so you get to play with your grandchildren when you’re 70, so you don’t have to wither away in a nursing home when you’re 80.