About ddos attack on different files

Hello,

Which file will be effected by DDoS attack ?

a.php
‘<?php
hash = md5('MySecretPass:'._GET[‘value’].’:’.$_GET[‘value2’]);
// GET values known by users but not ‘MySecretPass’

if($_GET[‘hash’] != $hash){exit();}

$conn = mysqli_connect();
// do some stuff
?>’

a.php
‘<?php
$conn = mysqli_connect();
// do some stuff
?>’

a.php
‘<?php
echo ‘Hello’;
?>’

  1. These are all identical lines.
  2. That code is not really related to any denial of service.
  3. The forum here is for Cloudflare related topics, not general PHP questions.
1 Like

Sorry i saved draft and then net problem, so posted the old draft, now i edited!

I am afraid that still is not really Cloudflare related.

The echo will do “less” than a database connect but in the context of a denial of service attack that will be rather irrelevant. You best check out support.cloudflare.com to find out how to configure your site on Cloudflare best to avoid any attacks in the first place.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.