Using GNU grep
代碼:
grep -r --include="*\.php*" call_user_method .
grep -r --include="*\.php*" call_user_method_array .
grep -r --include="*\.php*" define_syslog_variables .
grep -r --include="*\.php*" "dl(" .
grep -r --include="*\.php*" ereg .
grep -r --include="*\.php*" ereg_replace .
grep -r --include="*\.php*" eregi .
grep -r --include="*\.php*" eregi_replace .
grep -r --include="*\.php*" set_magic_quotes_runtime .
grep -r --include="*\.php*" session_register .
grep -r --include="*\.php*" session_unregister .
grep -r --include="*\.php*" session_is_registered .
grep -r --include="*\.php*" set_socket_blocking .
grep -r --include="*\.php*" split .
grep -r --include="*\.php*" spliti .
grep -r --include="*\.php*" sql_regcase .
grep -r --include="*\.php*" mysql_db_query .
grep -r --include="*\.php*" mysql_escape_string .
Using Microsoft qgrep
代碼:
echo "" > z.txt
qgrep call_user_method *.php >> z.txt
qgrep call_user_method_array *.php >> z.txt
qgrep define_syslog_variables *.php >> z.txt
qgrep "dl(" *.php >> z.txt
qgrep ereg *.php >> z.txt
qgrep ereg_replace *.php >> z.txt
qgrep eregi *.php >> z.txt
qgrep eregi_replace *.php >> z.txt
qgrep set_magic_quotes_runtime *.php >> z.txt
qgrep session_register *.php >> z.txt
qgrep session_unregister *.php >> z.txt
qgrep session_is_registered *.php >> z.txt
qgrep set_socket_blocking *.php >> z.txt
qgrep split *.php >> z.txt
qgrep spliti *.php >> z.txt
qgrep sql_regcase *.php >> z.txt
qgrep mysql_db_query *.php >> z.txt
qgrep mysql_escape_string *.php >> z.txt
代碼:
<?php
if(ereg('^lang_',$test_string)) // no slash
if(preg_match('/^lang_/',$test_string)) // SLASH
?>
________________
美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
|