This is easy to arrange, since the affected employee object is passed in as an argument to the advice.
既然受到影响的雇员对象作为实参被传递给通知,因此,这很容易安排。
Note that the name of the program is just argument number 0 in the command line values — don't trust the program name, since an attacker can change it.
注意,程序的名字只是命令行值的第0个参数——不要相信程序名,因为攻击者会改变它。
Since we are now using SQL SELECT statements, the restore_where argument changes from a Perl pattern match to the syntax of an SQL where clause.
因为现在使用的是SQL select语句,所以restore_where自变量从Perl模式匹配改成SQL where子句。
应用推荐