Created
March 9, 2017 21:10
-
-
Save datio/a9c08829e709bae0f3bdd5f8f39e9d81 to your computer and use it in GitHub Desktop.
Revisions
-
datio created this gist
Mar 9, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ <?php // RewriteCond %{REQUEST_URI} forum/local_links.php // RewriteRule ^.*$ vbdm2xf.php [NC,L] $startTime = microtime(true); $fileDir = '/var/www/html'; require($fileDir . '/library/XenForo/Autoloader.php'); XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library'); XenForo_Application::initialize($fileDir . '/library', $fileDir); XenForo_Application::set('page_start_time', $startTime); $request = new Zend_Controller_Request_Http(); $inputHandler = new XenForo_Input($request->getParams()); $input = $inputHandler->filter(array( 'catid' => XenForo_Input::UINT, 'linkid' => XenForo_Input::UINT, 'action' => XenForo_Input::STRING, 'id' => XenForo_Input::UINT, )); // ...