Apache 2.4.59
tcp/80
The following URL (usually /.git/config
) is publicly accessible and is leaking source code and repository configuration.
Severity: medium
Fingerprint: 2580fa947178c88602b1737db148c044b81b03713d63bb82370a652296645ceb
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://github.com/Marcusnsr/LoW.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "main"] remote = origin merge = refs/heads/main [credential] helper = store
Open service 176.23.5.248:80
2024-11-20 11:07
HTTP/1.1 200 OK Date: Wed, 20 Nov 2024 11:07:40 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-11-20 00:10
HTTP/1.1 200 OK Date: Wed, 20 Nov 2024 00:10:46 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-11-18 00:17
HTTP/1.1 200 OK Date: Mon, 18 Nov 2024 00:17:23 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-11-15 22:57
HTTP/1.1 200 OK Date: Fri, 15 Nov 2024 22:57:53 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-11-01 23:02
HTTP/1.1 200 OK Date: Fri, 01 Nov 2024 23:02:56 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-10-31 22:41
HTTP/1.1 200 OK Date: Thu, 31 Oct 2024 22:41:52 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-10-29 22:39
HTTP/1.1 200 OK Date: Tue, 29 Oct 2024 22:39:14 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-10-21 22:01
HTTP/1.1 200 OK Date: Mon, 21 Oct 2024 22:01:39 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-10-19 21:24
HTTP/1.1 200 OK Date: Sat, 19 Oct 2024 21:24:35 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>
Open service 176.23.5.248:80
2024-10-17 22:42
HTTP/1.1 200 OK Date: Thu, 17 Oct 2024 22:42:31 GMT Server: Apache/2.4.59 (Raspbian) Last-Modified: Fri, 31 May 2024 17:55:00 GMT ETag: "b71-619c3aeb97cc0" Accept-Ranges: bytes Content-Length: 2929 Vary: Accept-Encoding Connection: close Content-Type: text/html Page title: Legends of Wackdonalds <!DOCTYPE html> <html> <head> <title>Legends of Wackdonalds</title> <link rel="stylesheet" href="Backend/styles_index.css"> <!-- DICE ROLLER --> <script> function rollDice() { var numDice = document.getElementById('dice-number').value; var diceType = document.getElementById('dice-type').value; var results = []; var sum = 0; // Show the gif at the start of dice roll var diceGif = document.getElementById('dice-gif'); var rollResult = document.getElementById('roll-result'); var rollSum = document.getElementById('roll-sum'); diceGif.style.display = 'block'; rollResult.style.display = 'none'; rollSum.style.display = 'none'; for(var i = 0; i < numDice; i++) { var roll = Math.floor(Math.random() * diceType) + 1; results.push(roll); sum += roll; } var resultsString = 'Dice rolls: ' + results.join(', '); var sumString = 'Total: ' + sum; // Hide the gif after 2 seconds and display the roll results and sum setTimeout(function() { diceGif.style.display = 'none'; rollResult.innerHTML = resultsString; rollSum.innerHTML = sumString; rollResult.style.display = 'block'; rollSum.style.display = 'block'; }, 1000); } </script> </head> <body> <div class="container"> <h1>Welcome to Legends of Wackdonalds</h1> <div class="button-container"> <a href="collection.html" class="button">Miniature Collection</a> <a href="questboardHome.html" class="button">Questboards</a> <a href="worldmap.html" class="button">World Map</a> <a href="events.html" class="button">Event calender</a> </div> <div class="blackboard"> <p>Currently working on:</p> <ul> <li>Add the ability to add quest from the website</li> </ul> </div> <div class="dice-roller-container"> <h2 style="font-family: 'Georgia', serif;">Dice Roller</h2> <label for="dice-number">Number of dice:</label> <input id="dice-number" type="number" min="1" max="100" value="1"> <label for="dice-type">Type of dice:</label> <select id="dice-type"> <option value="4">D4</option> <option value="6">D6</option> <option value="8">D8</option> <option value="10">D10</option> <option value="12">D12</option> <option value="20">D20</option> <option value="100">D100</option> </select> <button onclick="rollDice()">Roll!</button> <div id="dice-display" class="centered-gif"> <img id="dice-gif" src="Images/Gifs/Gif_2.gif" style="display: none;" width="100" height="auto"> <div id="roll-result" style="display: none;"></div> <div id="roll-sum" style="display: none;"></div> </div> </div> <div class="centered-gif"> <img src="Images/Gifs/Gif_1.gif" alt="GIF"> </div> </div> </body> </html>