概览
目标: 以特殊字符修复二进制嘲讽
时间: 3 分钟
Plugins:MockResponsePlugin
先决条件:设置开发代理
美元符号在某些外壳中具有特殊意义,可能需要逃脱。
在 PowerShell 中,使用反引号:
Invoke-WebRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users/id/photo/`$value" -Proxy http://localhost:8000
在 bash 中,用双引号包装 URL 并添加反斜杠:
curl -ikx http://localhost:8000 "https://graph.microsoft.com/v1.0/users/id/photo/\$value"