Posted by pwnsushi on Wed 18th Jul 11:23
download | new post | report as spam
- <!DOCTYPE HTML>
- <html>
- <head>
- <title>DOX::Tool</title>
- <style>
- html,body
- {
- font-family: Arial;
- padding: 0px;
- margin: 0px;
- }
- h1
- {
- margin-left: 5px;
- margin-top: 0px;
- font-size: 46px;
- }
- div.browser-wrapper
- {
- position: absolute;
- top: 76px;
- left: 0px;
- right: 0px;
- bottom: 0px;
- background-color: #E9E9E9;
- border-top: 1px solid black;
- margin: 0px;
- }
- a.browser-tab
- {
- border: 1px solid black;
- border-top: none;
- border-left: none;
- height: 17px;
- display: block;
- float: left;
- padding: 1px 5px;
- font-size: 12px;
- text-decoration: none;
- color: black;
- font-weight: bold;
- }
- a.browser-tab:hover
- {
- background-color: #373737;
- color: white;
- }
- a.browser-tab-active
- {
- background-color: black;
- color: white;
- }
- div.frame-wrapper
- {
- position: absolute;
- top: 0px;
- bottom: 0px;
- left: 0px;
- right: 0px;
- margin: 0px;
- padding: 0px;
- }
- iframe, div.iframe
- {
- display: none;
- width: 1%;
- height: 1%;
- background-color: white;
- }
- div.iframe
- {
- overflow: auto;
- }
- div.search-wrapper
- {
- position: absolute;
- top: 0px;
- left: 240px;
- padding: 2px;
- }
- a.search-tab
- {
- border: 1px solid black;
- border-bottom: none;
- height: 17px;
- display: block;
- float: left;
- padding: 1px 5px;
- font-size: 12px;
- text-decoration: none;
- color: black;
- font-weight: bold;
- border-collapse: collapse;
- }
- a.search-tab:hover
- {
- color: white;
- background-color: black;
- }
- a.search-tab-active
- {
- background-color: #393939;
- color: white;
- }
- a.search-sub-tab
- {
- border: 1px solid black;
- height: 15px;
- display: block;
- float: left;
- padding: 1px 5px;
- font-size: 11px;
- text-decoration: none;
- color: black;
- font-weight: bold;
- border-collapse: collapse;
- }
- a.search-sub-tab:hover
- {
- color: white;
- background-color: black;
- }
- a.search-sub-tab-active
- {
- background-color: #393939;
- color: white;
- }
- div.search-box
- {
- border: 1px solid black;
- padding: 2px;
- }
- span.search-box-contents
- {
- display: none;
- }
- div#frame-intro
- {
- padding-left: 19px;
- }
- div.clear
- {
- clear: both;
- }
- #pipl_1
- {
- width: 80px;
- }
- #pipl_2
- {
- width: 110px;
- }
- #url_1, #url_2, #url_button, #search_url
- {
- font-size: 11px;
- }
- #url_1, #url_2, #url_button
- {
- border: 1px solid black;
- }
- #search_url
- {
- padding-left: 2px;
- }
- </style>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
- <script type="text/javascript">
- $(function(){
- updateFrameSizes();
- $(window).resize(function() {
- updateFrameSizes();
- });
- loadTab('person');
- });
- function updateFrameSizes()
- {
- var tabBarHeight = $('#browser-tab-list-wrapper').height();
- $(".frame-wrapper").css({'top':tabBarHeight+'px'});
- $(".browser").height($(".frame-wrapper").height() - 10);
- $(".browser").width($(".frame-wrapper").width() - 5);
- $("div.iframe").height($(".frame-wrapper").height() - 10);
- $("div.iframe").width($(".frame-wrapper").width() - 5);
- }
- var fromPastehtml = 0;
- //uglyhack
- var tabList = [];
- var currentId = 0;
- var debugEl;
- function createTab(url, title)
- {
- var newIdentifier = $(document.createElement('input')).addClass('buttonid');
- newIdentifier[0].setAttribute('type', 'hidden');
- newIdentifier[0].setAttribute('value', currentId);
- var newButton = $(document.createElement('a')).addClass('browser-tab').html(title);
- newButton[0].href = "#";
- newButton[0].setAttribute('id', 'button_' + currentId);
- newButton.click(function(){
- debugEl = $(this).children('.buttonid');
- switchTab(parseInt($(this).children('.buttonid')[0].value));
- });
- newButton.append(newIdentifier);
- $('#browser-tab-list').append(newButton);
- var newTab = new objTab(url, newButton, title);
- tabList[currentId] = newTab;
- switchTab(currentId);
- currentId += 1;
- updateFrameSizes();
- }
- function objTab(url, tab, title)
- {
- var myId = currentId;
- var baseUrl = url;
- var currentUrl = url;
- var title = title;
- var tabButton = tab;
- var newFrame = $(document.createElement('iframe')).addClass('browser');
- newFrame[0].src = url;
- newFrame[0].setAttribute('id', 'frame_' + currentId);
- debugEl = newFrame;
- $('.frame-wrapper').append(newFrame);
- }
- function createInfoTab(url, title)
- {
- var newIdentifier = $(document.createElement('input')).addClass('buttonid');
- newIdentifier[0].setAttribute('type', 'hidden');
- newIdentifier[0].setAttribute('value', currentId);
- var newButton = $(document.createElement('a')).addClass('browser-tab').html(title);
- newButton[0].href = "#";
- newButton[0].setAttribute('id', 'button_' + currentId);
- newButton.click(function(){
- debugEl = $(this).children('.buttonid');
- switchTab(parseInt($(this).children('.buttonid')[0].value));
- });
- newButton.append(newIdentifier);
- $('#browser-tab-list').append(newButton);
- var newTab = new objInfoTab(url, newButton, title);
- tabList[currentId] = newTab;
- switchTab(currentId);
- currentId += 1;
- updateFrameSizes();
- }
- function objInfoTab(contents, tab, title)
- {
- var myId = currentId;
- var frameContents = contents;
- var title = title;
- var tabButton = tab;
- var newFrame = $(document.createElement('div')).addClass('iframe').html(frameContents);
- newFrame[0].setAttribute('id', 'frame_' + currentId);
- debugEl = newFrame;
- $('.frame-wrapper').append(newFrame);
- }
- function switchTab(id)
- {
- $('#frame-intro').css({'display':'none'});
- $('.browser-tab-active').removeClass('browser-tab-active');
- $('#button_' + id).addClass('browser-tab-active');
- $('iframe').css({'display':'none'});
- $('div.iframe').css({'display':'none'});
- $('#frame_' + id).css({'display':'block'});
- }
- function loadTab(id)
- {
- $('.search-box-contents').css({'display':'none'});
- $('#search_' + id).css({'display':'block'});
- $('.search-tab-active').removeClass('search-tab-active');
- $('#searchtab_' + id).addClass('search-tab-active');
- var firstChild = $('#search_' + id).children('.search-sub-tab:first-child');
- loadSubTab(firstChild[0].id.substring(13));
- }
- function loadSubTab(id)
- {
- $('.search-sub-box-contents').css({'display':'none'});
- $('#search_sub_' + id).css({'display':'block'});
- $('.search-sub-tab-active').removeClass('search-sub-tab-active');
- $('#searchsubtab_' + id).addClass('search-sub-tab-active');
- }
- function runSearch(type)
- {
- var url = "about: blank";
- var title = "Empty tab";
- if(type == 'pipl')
- {
- var q1 = fetchInfo('pipl_1');
- var q2 = fetchInfo('pipl_2');
- title = "Person (pipl): " + q1 + " " + q2;
- url = "http://pipl.com/search/?FirstName=" + urlifyPlus(q1) + "&LastName=" + urlifyPlus(q2) + "&City=&State=&Country=&CategoryID=2&Interface=1";
- }
- else if(type == 'plaxo')
- {
- var q = fetchInfo('plaxo_1');
- title = "Person (plaxo): " + q;
- url = "http://www.plaxo.com/search/publicPeopleSearch?basic_form_use=basicForm&keywords=" + urlifyPlus(q);
- }
- else if(type == 'peekyou')
- {
- // At this point peekyou attempts to break out of frames... this has to be fixed before it can be included in the search engines
- var q = fetchInfo('peekyou_1');
- title = "Person (peekyou): " + q;
- url = "http://www.peekyou.com/" + urlifyUnderscore(q);
- }
- else if(type == 'wieowie')
- {
- var q = fetchInfo('wieowie_1');
- title = "Person (wieowie): " + q;
- url = "http://wieowie.nl/personen?fullname=" + urlifyPlus(q) + "&country=www";
- }
- else if(type == 'pl')
- {
- var q = fetchInfo('pl_1');
- title = "Person (plsearch): " + q;
- url = "http://www.plsearch.com/?name=" + urlifyPlus(q) + "&country=&cityk";
- }
- else if(type == 'ns')
- {
- var q = fetchInfo('ns_1');
- title = "Domain (WHOIS): " + q;
- url = "http://networksolutions.com/whois-search/" + urlifyPlus(q);
- }
- else if(type == 'alexa')
- {
- var q = fetchInfo('alexa_1');
- title = "Domain (Alexa): " + q;
- url = "http://www.alexa.com/siteinfo/" + urlifyPlus(q);
- }
- else if(type == "robtex")
- {
- var q = fetchInfo('robtex_1');
- title = "Domain (RobTex): " + q;
- url = "http://www.robtex.com/dns/" + urlifyPlus(q) + ".html";
- }
- else if(type == "bgp")
- {
- var q = fetchInfo('bgp_1');
- title = "IP (bgp.he.net): " + q;
- url = "http://bgp.he.net/ip/" + urlifyPlus(q);
- }
- else if(type == "robtexip")
- {
- var q = fetchInfo('robtexip_1');
- title = "IP (RobTex): " + q;
- url = "http://www.robtex.com/ip/" + urlifyPlus(q) + ".html";
- }
- else if(type == "url")
- {
- var q1 = fetchInfo('url_1');
- var q2 = fetchInfo('url_2');
- title = q1;
- url = q2;
- }
- createTab(url, title);
- }
- function fetchInfo(id)
- {
- var returnValue = $('#' + id)[0].value;
- $('#' + id)[0].value = "";
- return returnValue;
- }
- function copying()
- {
- $.get(window.location, function(data){$('#copying').val(data);});
- }
- function urlifyPlus(str)
- {
- return escape(str.replace(/ /g, '+'));
- }
- function urlifyUnderscore(str)
- {
- return escape(str.replace(/ /g, '_'));
- }
- </script>
- </head>
- <body>
- <h1>DOX::Tool</h1>
- <div class="search-wrapper">
- <div class="search-tabs-list">
- <a href="#" id="searchtab_person" onclick="loadTab('person');" class="search-tab">Person</a>
- <a href="#" id="searchtab_domain" onclick="loadTab('domain');" class="search-tab">Domain</a>
- <a href="#" id="searchtab_ip" onclick="loadTab('ip');" class="search-tab">IP</a>
- <!--<a href="#" id="searchtab_ip2" onclick="loadTab('as');" class="search-tab">AS</a>
- <a href="#" id="searchtab_ip2" onclick="loadTab('email');" class="search-tab">Email Address</a>
- <a href="#" id="searchtab_ip2" onclick="loadTab('web');" class="search-tab">Web Search</a>
- <a href="#" id="searchtab_ip2" onclick="loadTab('images');" class="search-tab">Images</a>-->
- <a href="#" id="searchtab_ip2" onclick="loadTab('url');" class="search-tab">URL</a>
- <div class="clear"></div>
- </div>
- <div class="search-box">
- <span id="search_person" class="search-box-contents">
- <a href="#" id="searchsubtab_pipl" onclick="loadSubTab('pipl');" class="search-sub-tab">Pipl</a>
- <a href="#" id="searchsubtab_plaxo" onclick="loadSubTab('plaxo');" class="search-sub-tab">Plaxo</a>
- <!--<a href="#" id="searchsubtab_peekyou" onclick="loadSubTab('peekyou ');" class="search-sub-tab">PeekYou</a>-->
- <a href="#" id="searchsubtab_pl" onclick="loadSubTab('pl');" class="search-sub-tab">Plsearch</a>
- <a href="#" id="searchsubtab_wieowie" onclick="loadSubTab('wieowie');" class="search-sub-tab">Wieowie</a>
- <div class="clear"></div>
- <span id="search_sub_pipl" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('pipl'); return false;">
- <input type="text" id="pipl_1">
- <input type="text" id="pipl_2">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <span id="search_sub_plaxo" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('plaxo'); return false;">
- <input type="text" id="plaxo_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <!--<span id="search_sub_peekyou" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('peekyou'); return false;">
- <input type="text" id="peekyou_1">
- <button type="submit">Lookup</button>
- </form>
- </span>-->
- <span id="search_sub_pl" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('pl'); return false;">
- <input type="text" id="pl_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <span id="search_sub_wieowie" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('wieowie'); return false;">
- <input type="text" id="wieowie_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- </span>
- <span id="search_domain" class="search-box-contents">
- <a href="#" id="searchsubtab_ns" onclick="loadSubTab('ns');" class="search-sub-tab">NetworkSolutions (WHOIS)</a>
- <a href="#" id="searchsubtab_robtex" onclick="loadSubTab('robtex');" class="search-sub-tab">RobTex</a>
- <a href="#" id="searchsubtab_alexa" onclick="loadSubTab('alexa');" class="search-sub-tab">Alexa</a>
- <div class="clear"></div>
- <span id="search_sub_ns" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('ns'); return false;">
- <input type="text" id="ns_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <span id="search_sub_robtex" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('robtex'); return false;">
- <input type="text" id="robtex_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <span id="search_sub_alexa" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('alexa'); return false;">
- <input type="text" id="alexa_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- </span>
- <span id="search_ip" class="search-box-contents">
- <a href="#" id="searchsubtab_bgp" onclick="loadSubTab('bgp');" class="search-sub-tab">bgp.he.net</a>
- <a href="#" id="searchsubtab_robtexip" onclick="loadSubTab('robtexip');" class="search-sub-tab">RobTex</a>
- <div class="clear"></div>
- <span id="search_sub_bgp" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('bgp'); return false;">
- <input type="text" id="bgp_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- <span id="search_sub_robtexip" class="search-sub-box-contents">
- <form action="#" onsubmit="runSearch('robtexip'); return false;">
- <input type="text" id="robtexip_1">
- <button type="submit">Lookup</button>
- </form>
- </span>
- </span>
- <span id="search_url" class="search-box-contents">
- <form action="#" onsubmit="runSearch('url'); return false;">
- Page title: <input type="text" id="url_1"><br>
- URL: <input type="text" id="url_2">
- <button type="submit" id="url_button">Go</button>
- </form>
- </span>
- </div>
- </div>
- <div class="browser-wrapper">
- <div id="browser-tab-list-wrapper">
- <span id="browser-tab-list">
- </span>
- <div class="clear"></div>
- </div>
- <div class="frame-wrapper">
- <div id="frame-intro">
- <h2>Getting started with DOX:Tool</h2>
- To get started, simply start searching in the box above! This page will act as a 'tabbed browser' of sorts. You will be able to use the tabs to switch between open pages.<br><br>
- <a href="#" onclick="createInfoTab('<div style=\'padding-left: 12px;\'><h2>Copy this page!</h2>DOX::Tool can (and should) be freely copied and modified and/or improved. Simply copy the source code from the below box, improve or change it if you want, and upload it somewhere - on PasteHTML or anywhere else! No special server software is required to run this tool, it\'s all on a plain HTML page. For the license freaks out there, this stuff is released under the WTFPL. Have fun!<br><br><textarea cols=\'100\' rows=\'20\' id=\'copying\'>Loading source...</textarea></div>','Copy this page!'); copying();">Copy and improve this page!</a>
- </div>
- </div>
- </div>
- </body>
- </html>
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily
.After submitting an amendment, you'll be able to view the differences between the old and new posts easily
