Warning: preg_match(): Unknown modifier '/' in E:\xampp\htdocs\forum\hacker.php on line 76 : <p>Alright, I have now a problem on file hacker.php</p>

<p><code>&lt;?php</code></p>

<p>function post_security($copyright , $activate){</p>

<p>if($copyright == "razor_forum"){</p>

<p>if ($activate == true){</p>

<p>if ($_SERVER["REQUEST_METHOD"] == "POST"){</p>

<p>$y = explode("/",$GLOBALS["HTTP_REFERER"]);</p>

<p>$x = explode("/",$GLOBALS["HTTP_HOST"]);</p>

<p>if ($y[2] != $x[0]){</p>

<p>die("");</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>function xss_security($copyright , $activate){</p>

<p>if($copyright == "razor_forum"){</p>

<p>if ($activate == true){</p>

<p>foreach($_GET as $xss_get){</p>

<p>if ((preg_match("/&lt;[^>]<em>script</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>object</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>iframe</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>applet</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>meta</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>style</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>form</em>\"?[^>]*>/", $xss_get)) or (preg_match("/&lt;[^>]<em>img</em>\"?[^>]*>/", $xss_get))){</p>

<p>die("");</p>

<p>}</p>

<p>}</p>

<p>unset($xss_get);</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>function url_security($copyright , $activate){</p>

<p>if($copyright == "razor_forum"){</p>

<p>if ($activate == true){</p>

<p>foreach($_GET as $url){</p>

<p>if ((preg_match("/&lt;[^>]<em>script</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>object</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>iframe</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>applet</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>meta</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>style</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>form</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>img</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>noscript</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>applet</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>vbscript</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>embed</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>frame</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>style</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>frameset</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>html</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>body</em>\"?[^>]<em>>/", $url)) or (preg_match("/&lt;[^>]</em>!DOCTYPE*\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>form</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>link</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>title</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>bgsound</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>layer</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>XSS</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>background</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>mocha</em>\"?[^>]*>/", $url)) or (preg_match("/&lt;[^>]<em>livescript</em>\"?[^>]<em>>/", $url)) or (preg_match("/([^>]</em>\"?[^)]*)/", $url)) or (preg_match("/javascript/", $url)) or (preg_match("/onmouseover/", $url)) or (preg_match("/onmouseout/", $url)) or (preg_match("/document.write/", $url)) or (preg_match("/.php/", $url)) or (preg_match("/.txt/", $url)) or (preg_match("/.cgi/", $url)) or (preg_match("/.xml/", $url)) or (preg_match("/cmd/", $url)) or (preg_match("/.js/", $url)) or (preg_match("/src=\"/", $url)) or (preg_match("/<a href="http:///" rel="nofollow noreferrer">http:///</a>", $url)) or (preg_match("/\"/", $url))){</p>

<p>exit(header("location: customavatars/.php"));</p>

<p>}</p>

<p>}</p>

<p>unset($url);</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>function sql_security($copyright , $activate){</p>

<p>if($copyright == "razor_forum"){</p>

<p>if ($activate == true){</p>

<p>foreach ($_GET as $Sql_get){</p>

<p>if ((preg_match("/select/", $Sql_get)) or (preg_match("/union/", $Sql_get)) or (preg_match("/%/", $Sql_get))){</p>

<p>die("");</p>

<p>}</p>

<p>}</p>

<p>unset($Sql_get);</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>function cracker_security($copyright , $activate){</p>

<p>if($copyright == "razor_forum"){</p>

<p>if ($activate == true){</p>

<p>$crack_Track = $_SERVER["QUERY_STRING"];</p>

<p>$ct_Rules = array('chr(', 'chr=', 'chr%20', '%20chr', 'wget%20', '%20wget', 'wget(','cmd=', '%20cmd', 'cmd%20', 'rush=', '%20rush', 'rush%20','union%20', '%20union', 'union(', 'union=', 'echr(', '%20echr', 'echr%20', 'echr=','esystem(', 'esystem%20', 'cp%20', '%20cp', 'cp(', 'mdir%20', '%20mdir', 'mdir(','mcd%20', 'mrd%20', 'rm%20', '%20mcd', '%20mrd', '%20rm','mcd(', 'mrd(', 'rm(', 'mcd=', 'mrd=', 'mv%20', 'rmdir%20', 'mv(', 'rmdir(','chmod(', 'chmod%20', '%20chmod', 'chmod(', 'chmod=', 'chown%20', 'chgrp%20', 'chown(', 'chgrp(','locate%20', 'grep%20', 'locate(', 'grep(', 'diff%20', 'kill%20', 'kill(', 'killall','passwd%20', '%20passwd', 'passwd(', 'telnet%20', 'vi(', 'vi%20','insert%20into', 'select%20', 'nigga(', '%20nigga', 'nigga%20', 'fopen', 'fwrite', '%20like', 'like%20','$_request', '$_get', '$request', '$get', '.system', 'HTTP_server1', '&amp;aim', '%20getenv', 'getenv%20','new_password', '/etc/password','/etc/shadow', '/etc/groups', '/etc/gshadow','HTTP_USER_AGENT', 'HTTP_HOST', '/bin/ps', 'wget%20', 'uname\x20-a', '/usr/bin/id','/bin/print', '/bin/kill', '/bin/', '/chgrp', '/chown', '/usr/bin', 'g++', 'bin/python','bin/tclsh', 'bin/nasm', 'perl%20', 'traceroute%20', 'ping%20', '.pl', '/usr/X11R6/bin/xterm', 'lsof%20','/bin/mail', '.conf', 'motd%20', 'HTTP/1.', '.inc.php', 'config.php', 'cgi-', '.eml','file://', 'window.open', '', 'javascript://','img src', 'img%20src','.jsp','ftp.exe','xp_enumdsn', 'xp_availablemedia', 'xp_filelist', 'xp_cmdshell', 'nc.exe', '.htpasswd','servlet', '/etc/passwd', 'wwwacl', '~root', '~ftp', '.js', '.jsp', '.history','bash_history', '.bash_history', '~nobody', 'server-info', 'server-status', 'reboot%20', 'halt%20','powerdown%20', '/home/ftp', '/home/www', 'secure_site, ok', 'chunked', 'org.apache', '/servlet/con','', 'sql=','<em>global', 'global</em>', 'global[', '<em>server', 'server</em>', 'server[', 'phpadmin','root_path', '<em>globals', 'globals</em>', 'globals[', 'ISO-8859-1', '<a href="http://www.google.de/search" rel="nofollow noreferrer">http://www.google.de/search</a>', '?hl=','.txt', '.exe', 'union','google.de/search', 'yahoo.de', 'lycos.de', 'fireball.de', 'ISO-', 'document.cookie', 'Cscript', 'C/script' , '"' , "'");</p>

<p>$crack_Track = strtolower($crack_Track);</p>

<p>$checkworm = str_replace($ct_Rules, "*", $crack_Track);</p>

<p>if($crack_Track != $checkworm){</p>

<p>$temp = @$_SERVER["argv"];</p>

<p>$temp = @array_Pop($temp);</p>

<p>if($temp != ""){$_SERVER["PHP_SELF"] .= "?" . $temp;}</p>

<p>unset($temp); </p>

<p>unset($crack_Track , $ct_rules , $checkworm);</p>

<p>exit(header("location: error.php"));</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p>}</p>

<p><code>?&gt;</code></p>
