Jan. 17, 2023, 8:02 p.m. | SickAndTired

System Weakness - Medium systemweakness.com

PHP — Type Juggling

Type Juggling it’s a kind of bug that occurs only on PHP, mainly due to the way the language “compares” one thing to another.

In PHP there’re a pair of operators that, although look similar, they do perform different tasks, those are == and ===.

Double equals essentially evaluate if the variable, or whatever being compared, is empty or not. We can see that on the first condition, which “verifies” if $txt is really empty or …

bug code review ctf cybersecurity hacking language pentest php txt variable

Principal - Cyber Risk and Assurance - Infra/Network

@ GSK | Bengaluru Luxor North Tower

Staff Security Engineer

@ Airwallex | AU - Melbourne

Chief Information Security Officer

@ Australian Payments Plus | Sydney, New South Wales, Australia

TW Test Automation Engineer (Access Control & Intrusion Systems)

@ Bosch Group | Taipei, Taiwan

Consultant infrastructure sécurité H/F

@ Hifield | Sèvres, France

SOC Analyst

@ Wix | Tel Aviv, Israel