Merge branch 'main' into main

This commit is contained in:
Asim Zeeshan 2021-01-29 20:00:38 +05:00 committed by GitHub
commit 97dab8809a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -271,7 +271,7 @@ $(document).on("click", "#fillIpv4", function () {
$.ajax({
type: "GET",
url: "calls.php",
data: {"type" : "dns_search", "hostname": host_name, "type": "A"},
data: {"type" : "dns_search", "hostname": host_name, "dns_type": "A"},
success: function (result) {
$('#ipv4').val(result);
}
@ -281,7 +281,7 @@ $(document).on("click", "#fillIpv4", function () {
$.ajax({
type: "GET",
url: "calls.php",
data: {"type" : "dns_search", "hostname": host_name, "type": "AAAA"},
data: {"type" : "dns_search", "hostname": host_name, "dns_type": "AAAA"},
success: function (result) {
if (result != ''){
$('#ipv6').val(result);

View File

@ -36,8 +36,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
} elseif ($_GET['value'] == 'domain') {
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
}
} elseif ($_GET['type'] == 'A' || $_GET['type'] == 'AAAA') {
$idle->getIpForDomain($_GET['hostname'], $_GET['type']);
} elseif ($_GET['type'] == 'dns_search') {
$idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']);
} elseif ($_GET['type'] == 'check_up') {
echo $idle->checkIsUp($_GET['host']);
} elseif ($_GET['type'] == 'object_tables') {