https://lg.gigahost.no/

已提交的 URL:
https://lg.gigahost.no/
報告完成時間:

連結 · 找到 4 個

連結Text
https://www.openstreetmap.org/search?query=Sandefjord%2C+NorwayMap
https://lg.ams-nl.gigahost.no/Amsterdam, The Netherlands
https://www.peeringdb.com/fac/5463PeeringDB
https://github.com/hybula/lookingglassHybula Looking Glass

JavaScript 變數 · 找到 7 個

名稱類型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
callBackendfunction
copyToClipboardfunction
uidEventnumber
bootstrapobject

主控台記錄訊息 · 找到 2 條

類型類別記錄
errornetwork
URL
https://lg.gigahost.no/logo2.jpg
Text
Failed to load resource: the server responded with a status of 404 (Not Found)
errornetwork
URL
https://lg.gigahost.no/favicon.ico
Text
Failed to load resource: the server responded with a status of 404 (Not Found)

HTML

<!DOCTYPE html><html lang="en"><head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <meta content="" name="description">
    <meta content="Hybula" name="author">
    <title>Gigahost Looking Glass</title>
    <link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" rel="stylesheet">
    </head>
<body>

<div class="col-lg-6 mx-auto p-3 py-md-5">

    <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
            <div class="col-8">
                <a class="d-flex align-items-center text-dark text-decoration-none" href="https://lg.gigahost.no" target="_blank">
                    <img src="logo.png" style="width:250px;"><img src="logo2.jpg" style="display:none;">                </a>
            </div>
            <div class="col-4 float-end">
                <select class="form-select" onchange="window.location = this.options[this.selectedIndex].value">
                    <option selected="">Sandefjord, Norway</option>
                                            <option value="https://lg.ams-nl.gigahost.no/">Amsterdam, The Netherlands</option>
                                    </select>
            </div>
    </header>

    <main>

                <div class="row mb-5">
            <div class="card shadow-lg">
                <div class="card-body p-3">
                    <h1 class="fs-4 card-title mb-4">Network</h1>

                    <div class="row mb-3">
                        <div class="col-md-7">
                            <label class="mb-2 text-muted">Location</label>
                            <div class="input-group mb-3">
                                <input type="text" class="form-control" value="Sandefjord, Norway" onfocus="this.select()" readonly="">
                                <a class="btn btn-outline-secondary" href="https://www.openstreetmap.org/search?query=Sandefjord%2C+Norway" target="_blank">Map</a>
                                                                <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Locations</button>
                                <ul class="dropdown-menu dropdown-menu-end">
                                                                        <li><a class="dropdown-item" href="https://lg.ams-nl.gigahost.no/">Amsterdam, The Netherlands</a></li>
                                                                    </ul>
                                                            </div>
                        </div>
                        <div class="col-md-5">
                            <label class="mb-2 text-muted">Facility</label>
                            <div class="input-group">
                                <input type="text" class="form-control" value="Gigahost DC2" onfocus="this.select()" readonly="">
                                <a href="https://www.peeringdb.com/fac/5463" class="btn btn-outline-secondary" target="_blank">PeeringDB</a>
                            </div>
                        </div>
                    </div>

                    <div class="row mb-3">
                        <div class="col-md-3">
                            <label class="mb-2 text-muted">Test IPv4</label>
                            <div class="input-group">
                                <input type="text" class="form-control" value="185.125.168.212" onfocus="this.select()" readonly="">
                                <button class="btn btn-outline-secondary" onclick="copyToClipboard('185.125.168.212', this)">Copy</button>
                            </div>
                        </div>
                        <div class="col-md-5">
                            <label class="mb-2 text-muted">Test IPv6</label>
                            <div class="input-group">
                                <input type="text" class="form-control" value="2a03:94e0:ffff:185:125:168::212" onfocus="this.select()" readonly="">
                                <button class="btn btn-outline-secondary" onclick="copyToClipboard('2a03:94e0:ffff:185:125:168::212', this)">Copy</button>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <label class="mb-2 text-muted">Your IP</label>
                            <div class="input-group">
                                <input type="text" class="form-control" value="104.28.154.59" onfocus="this.select()" readonly="">
                                <button class="btn btn-outline-secondary" onclick="copyToClipboard('104.28.154.59', this)">Copy</button>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        
                <div class="row pb-5">
            <div class="card shadow-lg">
                <div class="card-body p-3">
                    <h1 class="fs-4 card-title mb-4">Looking Glass</h1>
                    <form method="POST" action="/" autocomplete="off">
                        <input type="hidden" name="csrfToken" value="8a23a8abe26969e20f849160">

                        <div class="row">
                            <div class="col-md-7 mb-3">
                                <div class="input-group">
                                    <span class="input-group-text" id="basic-addon1">Target</span>
                                    <input type="text" class="form-control" placeholder="IP address or host..." name="targetHost" value="" required="">
                                </div>
                            </div>
                            <div class="col-md-5 mb-3">
                                <div class="input-group">
                                    <label class="input-group-text">Method</label>
                                    <select class="form-select" name="backendMethod" id="backendMethod">
                                                                                    <option value="ping">ping</option>
                                                                                    <option value="ping6">ping6</option>
                                                                                    <option value="mtr">mtr</option>
                                                                                    <option value="mtr6">mtr6</option>
                                                                                    <option value="traceroute">traceroute</option>
                                                                                    <option value="traceroute6">traceroute6</option>
                                                                            </select>
                                </div>
                            </div>
                        </div>

                        <div class="d-flex align-items-center">
                                                        <button type="submit" class="btn btn-primary ms-auto" id="executeButton" name="submitForm">
                                Execute
                            </button>
                        </div>

                        
                        <div class="card card-body bg-light mt-4" style="display: none;" id="outputCard">
                            <pre id="outputContent" style="overflow: hidden; white-space: pre; word-wrap: normal;"></pre>
                        </div>
                    </form>

                </div>
            </div>
        </div>
        
                <div class="row pb-5">
            <div class="card shadow-lg">
                <div class="card-body p-3">
                    <h1 class="fs-4 card-title mb-4">Speedtest</h1>

                                        <div class="row mb-3">
                        <div class="col-md-6">
                            <label class="mb-2 text-muted">iPerf3 Incoming (Ports 9200-9240)</label>
                            <p><code>iperf3 -4 -c lg.gigahost.no -p 9200 -P 4</code></p>
                            <button class="btn btn-sm btn-outline-secondary" onclick="copyToClipboard('iperf3 -4 -c lg.gigahost.no -p 9200 -P 4', this)">Copy</button>
                        </div>
                        <div class="col-md-6">
                            <label class="mb-2 text-muted">iPerf3 Outgoing (Ports 9200-9240)</label>
                            <p><code>iperf3 -4 -c lg.gigahost.no -p 9200 -P 4 -R</code></p>
                            <button class="btn btn-sm btn-outline-secondary" onclick="copyToClipboard('iperf3 -4 -c lg.gigahost.no -p 9200 -P 4 -R', this)">Copy</button>
                        </div>
                    </div>
                    
                    <div class="row">
                        <label class="mb-2 text-muted">Test Files</label>
                        <div class="btn-group input-group mb-3">
                                                            <a href="https://lg.gigahost.no/100M.bin" class="btn btn-outline-secondary">100M</a>
                                                            <a href="https://lg.gigahost.no/1G.bin" class="btn btn-outline-secondary">1G</a>
                                                            <a href="https://lg.gigahost.no/10G.bin" class="btn btn-outline-secondary">10G</a>
                                                    </div>
                    </div>

                </div>
            </div>
        </div>
        
        

    </main>
    <footer class="pt-3 mt-5 my-5 text-muted border-top">
        Powered by <a href="https://github.com/hybula/lookingglass" target="_blank">Hybula Looking Glass</a>
        <a href="https://github.com/hybula/lookingglass" target="_blank" class="float-end"><img src="https://img.shields.io/github/watchers/hybula/lookingglass?style=social" alt="GitHub Watchers"></a>
    </footer>
</div>

<script type="text/javascript">
        function callBackend() {
        const executeButton = document.getElementById('executeButton');
        executeButton.innerText = 'Executing...';
        executeButton.disabled = true;
        document.getElementById('outputCard').style.display = 'inherit';
        const xhr = new XMLHttpRequest();
        xhr.onreadystatechange = function () {
            document.getElementById('outputContent').innerHTML = this.responseText.replace(/<br \/> +/g, '<br />');
            if (this.readyState === XMLHttpRequest.DONE) {
                executeButton.innerText = 'Execute';
                executeButton.disabled = false;
                console.log('Backend ready!');
            }
        };
        xhr.open('GET', 'backend.php', true);
        xhr.send();
    }
</script>

<script type="text/javascript">
    async function copyToClipboard(text, button) {
        button.innerHTML = 'Copied!';
        const textAreaObject = document.createElement('textarea');
        textAreaObject.value = text;
        document.body.appendChild(textAreaObject);
        textAreaObject.select();
        document.execCommand('copy');
        document.body.removeChild(textAreaObject);
        await new Promise(r => setTimeout(r, 2000));
        button.innerHTML = 'Copy';
    }
</script>

<script crossorigin="anonymous" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>



</body></html>