材料一

根据这篇文章:https://www.hostloc.com/thread-800025-1-1.html

iframe引入了个

http://45.32.164.128/ip.php

最后一个iframe得域名在列表XXXlist.txt,默认会走代理。第二个是国外IP。 就这么简单。

材料二

根据这篇帖子:https://www.hostloc.com/thread-403101-1-1.html

1.单页本身获取IP
2.找个没被墙的,挂个获取IP的单页,iframe之
3.找个被墙的站,挂个获取IP的单页,iframe之

源码A

这贴也有给出源码

<table class="table table-bordered">
<tr>
<td width="20%">检测点</td>
<td>检测结果</td>
<td>解释</td>
</tr><tr>
<td>国内网站</td>
<td>
117.28.100.112 China / Fuzhou
</td>
<td>如果没有代理,左侧显示的IP就是您本机的IP。如果有,则显示的就是代理的IP地址。</td>
</tr>
<tr>
<td>国外网站 </td>
<td>
<iframe src="http://45.35.71.105/ip.php" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"> </iframe>
</td>
<td>左侧IP就是您用来访问国外普通网站(没有被封的网站)的IP地址。</td>
</tr>

<tr>
<td>谷歌网站</td>
<td>
<iframe src="http://ip111cn.appspot.com/" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
您无法访问谷歌网站
</iframe>
</td>
<td>这是您访问谷歌,Facebook,Twitter等网站所使用的IP</td>
</tr>

</table>

源码B

以及这个源码

<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>显示查询自己的IP地址</title>
<meta name="keywords" content="IP地址" />
<meta name="description" content="从中国和美国显示查询自己的IP地址" />

<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<!-- Bootstrap core CSS -->
<link href="/bootstrap.min.css" rel="stylesheet">
<link href="jumbotron-narrow.css" rel="stylesheet">
<style>
body{
word-wrap: break-word;
}
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f8c1e4d81c965d1da79624c14b47f440";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>

</head>

<body>

<div class="container">
<div class="header clearfix">
<h3 class="text-muted">IP111.cn 全方位查询您的IP地址</h3>
</div>

<div class="jumbotron">
<table class="table table-bordered">
<tr>
<td width="20%">检测点</td>
<td>检测结果</td>
<td>解释</td>
</tr>

<tr>
<td>国内网站</td>
<td>

</td>
<td>如果没有全局代理或者扶墙,左侧显示的IP就是您本机的IP。如果有,则显示的就是全局代理或者扶墙的IP地址。</td>
</tr>
<tr>
<td>国外网站 </td>
<td>
<iframe src="http://45.35.71.105/ip.php" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"> </iframe>
</td>
<td>左侧IP就是您用来访问国外普通网站(没有被封的网站)的IP地址。</td>
</tr>

<tr>
<td>谷歌网站</td>
<td>
<iframe src="http://ip111cn.appspot.com/" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
您无法访问谷歌网站
</iframe>
</td>
<td>这是您访问谷歌,Facebook,Twitter等网站所使用的IP</td>
</tr>

</table>

</div>

 

<footer class="footer">
</footer>

</div> <!-- /container -->

</body>
</html>

 

目前源码A

<!doctype html>
<html lang="zh">
<head>
<meta name="baidu_union_verify" content="1592300d005dcc7127bd48c654d41cca">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">

<title>显示查询自己的IP地址</title>
<meta name="keywords" content="IP地址" />
<meta name="description" content="从中国和美国显示查询自己的IP地址" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f8c1e4d81c965d1da79624c14b47f440";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6286299894930474",
enable_page_level_ads: true
});
</script>

</head>

<body>

<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
<h5 class="my-0 mr-md-auto font-weight-normal">ip111.cn 全方位查询您的IP地址</h5>
</div>

<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<!--
<p class="lead">
ip111.cn 全方位查询您的IP地址
</p>
-->

</div>

<div class="container">
<div class="card-deck mb-3 text-center">
<div class="card mb-4 shadow-sm">
<div class="card-header">
从国内测试
</div>
<div class="card-body">
<p>
121.204.113.91 中国 福州市</p>

<p>这是您访问国内网站所使用的IP</p>

</div>
</div>
<div class="card mb-4 shadow-sm">
<div class="card-header">
从国外测试
</div>
<div class="card-body">
<p>
<iframe src="http://45.32.164.128/ip.php" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
</iframe>
</p>

<p>您访问没有被封的国外网站所使用的IP</p>
</div>
</div>
<div class="card mb-4 shadow-sm">
<div class="card-header">
从谷歌测试
</div>
<div class="card-body">
<p>
<iframe src="http://sspanel.net/ip.php" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
您无法访问谷歌网站
</iframe>
</p>

<p>这是您访问谷歌,Facebook,Twitter等网站所使用的IP</p>
</div>
</div>
</div>

<div >
</div>
<footer>
本站仅提供IP地址查询的功能,不提供其它任何服务,也不与别的网站有任何合作。
</footer>
</div>

</body>
</html><!doctype html>

目前源码B

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>显示查询自己的IP地址 - xkx</title>
<meta name="keywords" content="IP地址" />
<meta name="description" content="从中国和美国显示查询自己的IP地址" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body{
word-wrap: break-word;
}
.jumbotron{ padding-bottom: 15px; }
/* Space out content a bit */
body {
padding-top: 20px;
padding-bottom: 20px;
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
padding-right: 15px;
padding-left: 15px;
}
/* Custom page header */
.header {
padding-bottom: 20px;
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
margin-top: 0;
margin-bottom: 0;
line-height: 40px;
}
/* Custom page footer */
.footer {
padding-top: 19px;
color: #777;
border-top: 1px solid #e5e5e5;
}
/* Customize container */
@media (min-width: 768px) {
.container {
max-width: 730px;
}
}
.container-narrow > hr {
margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
padding: 14px 24px;
font-size: 21px;
}
/* Supporting marketing content */
.marketing {
margin: 40px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
.header,
.marketing,
.footer {
padding-right: 0;
padding-left: 0;
}
/* Space out the masthead */
.header {
margin-bottom: 30px;
}
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron {
border-bottom: 0;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header clearfix">
<h3 class="text-muted">xkx 全方位查询您的IP地址</h3>
</div>
<div class="jumbotron">
<table class="table table-bordered">
<tbody><tr>
<td width="20%">检测点</td>
<td width="23%">检测结果</td>
<td>解释</td>
</tr>

<tr>
<td>国内网站</td>
<td>
<iframe src="http://members.3322.org/dyndns/getip" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"> </iframe>
<!--iframe src="http://ifconfig.me/ip" width="100%" height="30" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
</iframe--> <br><br>
</td>
<td>代理IP地址。</td>
</tr>
<tr>
<td>国外网站 </td>
<td>
<iframe src="http://45.32.164.128/ip.php" width="100%" height="50" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"> </iframe> <br><br>
</td>
<td>左侧IP就是您用来访问国外普通网站(没有被封的网站)的IP地址。</td>
</tr>

<tr>
<td>谷歌网站</td>
<td>
<iframe src="http://sspanel.net/ip.php" width="100%" height="50" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
您无法访问谷歌网站
</iframe> <br><br>
</td>
<td>代理服务器的IP地址。</td>
</tr>
</tbody></table>
</div>
<footer class="footer">
联系我们 [email protected]
</footer>
</body>
</html>

 

截图

点击数:134