| Server IP : 134.236.49.22 / Your IP : 216.73.216.114 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/use/ |
Upload File : |
<html>
<head>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
/*$.getJSON("http://jsonip.appspot.com?callback=?",
function (data) {
alert("Your ip: " + data.ip);
});
*/
$( document ).ready(function() {
alert("Doc Ready");
window.RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
var pc = new RTCPeerConnection({iceServers:[]}), noop = function(){};
pc.createDataChannel(""); //create a bogus data channel
pc.createOffer(pc.setLocalDescription.bind(pc), noop); // create offer and set local description
pc.onicecandidate = function(ice){ //listen for candidate events
if(!ice || !ice.candidate || !ice.candidate.candidate) return;
var myIP = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/.exec(ice.candidate.candidate)[1];
$('.ipAdd').text(myIP);
alert('my IP: '+myIP);
pc.onicecandidate = noop;
};
/*var yip2 = java.net.InetAddress.getLocalHost();
var yip = yip2.getHostAddress();
alert("your machine's local network IP is "+yip);
*/
});
$( window ).on( "load", function() {
alert( "window loaded" );
});
</script>
</head>
<body>
<iframe src="http://www.thaimit.com"></iframe>
</body>
</html>