V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiaoyanbot

发现 PHP 内置的 Web Server 一个有意思的特性:当访问 /foo/bar 不存在的路径时,会自动路由到 根目录的 index. PHP ,还可获取到正常的 pathinfo 等信息,类似于一种自动的 url rewrite 机

  •  
  •   xiaoyanbot · Dec 27, 2021 · 1782 views
    This topic created in 1588 days ago, the information mentioned may be changed or developed.
    3 replies    2021-12-28 14:57:44 +08:00
    r007b34r
        1
    r007b34r  
       Dec 28, 2021
    Emmmm 好像很久以前就加入了 web pentest payload list 豪华套餐
    xiaoyanbot
        2
    xiaoyanbot  
    OP
       Dec 28, 2021
    @r007b34r 什么意思
    opengps
        3
    opengps  
       Dec 28, 2021 via Android
    貌似本来就有这种 404 处理逻辑,(我是参考 iis 下的配置说的这句)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   805 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:45 · PVG 03:45 · LAX 12:45 · JFK 15:45
    ♥ Do have faith in what you're doing.