From cc08ddf337debe1047d2251bbf16be052e6af62d Mon Sep 17 00:00:00 2001 From: "Dev. Gautam Kumar" <111997815+devsdenepal@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:08:16 +0000 Subject: [PATCH] add dashboard blog system --- assets/js/main.js | 48 ++++++++++++++++++++++++++ data/json/post.json | 84 +++++++++++++++++++++++++++++++++++++++++++++ index.html | 53 ++++------------------------ 3 files changed, 139 insertions(+), 46 deletions(-) create mode 100644 assets/js/main.js create mode 100644 data/json/post.json diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..eaf4ea3 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,48 @@ +function bring_posts() { + var xhr = new XMLHttpRequest(); + var url = "./data/json/post.json"; // Replace with your API endpoint + xhr.open("GET", url, true); + xhr.responseType = "json"; + xhr.onload = function () { + if (xhr.status === 200) { + var response = xhr.response; + const result = response.result; + var pages = result + // Loop through the pages and display the information in the div + pages.forEach(function (page) { + if (page.featured == "true") { + console.table(page); + document.getElementById("highlighted_topic").innerText = page.title; + document.getElementById("highlighted_content").innerText = page.description; + document.getElementById("highlighted_banner").src = page.image_url; + } + else { + var blog_container=document.getElementById("blog_container"); + blog_container.innerHTML+=` +
Android-Predom is a powerful and versatile tool for Android app development. It is user-friendly, does not require root access, and is actively being updated by the developer. The tool is a part of a larger project called "PREDOMINANT" which aims to provide a comprehensive set of tools for Android app development. We hope that you will give Android-Predom a try and experience the benefits it has to offer.
+Python based Pentesting Brute-Force tool to crack username and password of a simple traditional website
- Learn More - - -PhantomBlitz: Yet another tool for reverse shell execution & payload generator by Dev. Gautam Kumar
- Learn More - - -