2016-02-06 82 views
-3

當試圖運行一個PHP腳本時我得到的錯誤'Unexpected T_IF' 是的,它是一個僵屍網絡腳本,但我只是研究網絡,我無意使用它。 是的,我確實嘗試了一個半結腸,沒有運氣。 完整的腳本:https://github.com/Visgean/Zeus/blob/translation/source/server%5Bphp%5D/install/index.php解析錯誤:語法錯誤,第115行出現意外的T_IF

"`r_reports_db`   bool NOT NULL default '1', ". 
"`r_reports_db_edit`  bool NOT NULL default '1', ". 
"`r_reports_files`  bool NOT NULL default '1', ". 
"`r_reports_files_edit` bool NOT NULL default '1', ". 
/*EVAL_BEGIN*/if (configBool('jabber_notifier'))return /*THIS IS ERROR*/ 
"\"`r_reports_jn`   bool NOT NULL default '1', \"."; 
/*EVAL_END*/ 

"`r_system_info`   bool NOT NULL default '1', ". 
"`r_system_options`  bool NOT NULL default '1', ". 
"`r_system_user`   bool NOT NULL default '1', ". 
"`r_system_users`  bool NOT NULL default '1'"; 

//RЎRєSЂReRїS, C <P ± RѕS, P ° Rј. 
$_TABLES['botnet_scripts'] = 

回答

0

您concatening一個字符串,你突然有if聲明中斷。這是一個明顯的語法錯誤。

+0

對不起,我是新來的PHP。那麼將它從r報告部分移出解決問題? – WilldaHiggins

+0

如果您用'if'刪除該行並修復下一行,例如 ''r_reports_jn bool NOT NULL默認'1','。'' 它應該工作 – radoh

相關問題