simman
V2EX  ›  iOS

IOS 判断当前是否为代理情况

  •  
  •   simman · Mar 30, 2015 · 3631 views
    This topic created in 4094 days ago, the information mentioned may be changed or developed.

    请问怎么判断IOS当前是使用代理访问后台API呢? 要在客户端进行判断。

    使用 wireshark、charles 抓包可以看到都是加密的了,但是如果使用 paros 进行抓包,IOS会报错:

    2015-03-30 14:37:02.478 testsss[3935:652440] error: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo=0x16571a10 {NSErrorFailingURLKey=https://xxxx.cc/, NSErrorFailingURLStringKey=https://xxxx.cc/, NSLocalizedDescription=cancelled}

    1 replies    2015-04-09 20:41:24 +08:00
    cattyhouse
        1
    cattyhouse  
       Apr 9, 2015 via iPhone
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3060 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:39 · PVG 21:39 · LAX 06:39 · JFK 09:39
    ♥ Do have faith in what you're doing.