全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4307|回复: 17

PHP CURL采集,遇到CDN等待5秒怎么破呢cloudflare

[复制链接]
发表于 2017-5-6 15:56:18 | 显示全部楼层 |阅读模式
5秒会跳转正常,地址不变
QQ截图20170506155209.jpg (29.07 KB, 下载次数: 0)
发表于 2017-5-6 17:00:45 | 显示全部楼层
skynet 发表于 2017-5-6 16:28
HatCloud是一个由Ruby编写的安全工具,可识别隐藏在CloudFlare(知名云Waf服务)保护下的服务器真实IP。 ...

  1. 关键代码

  2. if options[:bypass].nil?

  3.     puts "Inser URL -b or –byp"

  4. else

  5. l = options[:bypass]

  6. uri = URI ("http://www.crimeflare.com/cgi-bin/cfsearch.cgi")

  7.     res = Net::HTTP.post_form(uri, ‘cfS’ => options[:bypass])
  8.         x =  res.body

  9. y = /(\d*\.\d*\.\d*\.\d*)/.match(x)

  10.     k = IPSocket.getaddress (options[:bypass])
  11.     puts "[+] Site analysis: #{l} "

  12.     puts "[+] IP CloudFlare is #{k} "

  13.     puts "[+] IP real is #{y}"

  14.         target = "http://ipinfo.io/#{y}/json"

  15.         url = URI(target).read

  16.         json = JSON.parse(url)

  17.     puts "[+] Hostname: " + json['hostname']

  18.     puts "[+] City: "  + json['city']

  19.     puts "[+] Region: " + json['country']

  20.     puts "[+] Location: " + json['loc']

  21.     puts "[+] Organization: " + json['org']
  22. end
复制代码



在线查询:http://www.crimeflare.com/cfs.html

离线下载:http://www.crimeflare.com/zippy.html


直接可以在线查询cf隐藏的真实IP
发表于 2017-5-6 15:58:37 | 显示全部楼层
加入cookie
发表于 2017-5-6 16:19:39 | 显示全部楼层
加cookie直接破
发表于 2017-5-6 16:28:09 | 显示全部楼层

HatCloud是一个由Ruby编写的安全工具,可识别隐藏在CloudFlare(知名云Waf服务)保护下的服务器真实IP。
 楼主| 发表于 2017-5-6 19:57:32 | 显示全部楼层

问题是我加了COOKIE还是没有破,把这个站所有的COOKIE都加上去了,还是破不了
 楼主| 发表于 2017-5-6 20:00:37 | 显示全部楼层
pony 发表于 2017-5-6 17:00
在线查询:http://www.crimeflare.com/cfs.html

离线下载:http://www.crimeflare.com/zippy.html

在线查询没有查到
 楼主| 发表于 2017-5-6 20:01:00 | 显示全部楼层

问题是我加了COOKIE还是没有破,把这个站所有的COOKIE都加上去了,还是破不了
发表于 2017-5-6 20:06:26 | 显示全部楼层
楼上都是大神
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-5 21:05 , Processed in 0.065951 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表