This upload bypasses discord and domain name verification
You will need to edit things in config.php and index.php if you need help with this feel free to dm me
Any communities need a website dev/online resources dev?????........ I have all the hamz products plussssssss after alot of Discord Bot and Code tweaking i got this site completely working on my end!!!!
The file that needs to be edited is within the "Actions" Folder then edit the file called "Discord_Functions.php" then the code that needs to be deleted is at the bottom.
DELETE THE FOLLOWING::: But remember that theres still some more errors within the site
function checkDomain()
{
if(checkdnsrr("hamzcad.com","MX")) {
return true;
} else {
return false;
}
}
function verify()
{
$postdata = http_build_query(
array(
'domain' => $_SERVER['HTTP_HOST']
)
);
$url = 'https://license.hamzcad.com/community/index.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}
function MakeRequest($endpoint, $data) {
# Set endpoint
$url = "https://discord.com/api/".$endpoint."";
# Encode data, as Discord requires you to send json data.
$data = json_encode($data);
# Initialize new curl request
$ch = curl_init();
$f = fopen('request.txt', 'w');
# Set headers, data etc..
curl_setopt_array($ch, array(
CURLOPT_URL => $url,
CURLOPT_HTTPHEADER => array(
'Authorization: Bot '.TOKEN,
"Content-Type: application/json",
"Accept: application/json"
),
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_FOLLOWLOCATION => 1,
CURLOPT_VERBOSE => 1,
CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_POSTFIELDS => $data,
CURLOPT_STDERR => $f,
));
$request = curl_exec($ch);
curl_close($ch);
return json_decode($request, true);
}
Theres some code you haft to delete in the nav.ini that does the licesing and it seems to work with logging and everything but even with that fix you still get a session already started error and some other errors within
Yeah they probably have some kind of code within the files that saying you need to be apart of our Discord with "Website Customer" or you get that login error.