0
我正在開發項目。這與蜜罐有關。我的問題是有沒有辦法獲得開源的蜜罐日誌文件。如果可能的話,請提供一個鏈接或給出任何建議有沒有辦法獲取蜜罐日誌文件
我正在開發項目。這與蜜罐有關。我的問題是有沒有辦法獲得開源的蜜罐日誌文件。如果可能的話,請提供一個鏈接或給出任何建議有沒有辦法獲取蜜罐日誌文件
這會很容易做到。以下是一個PHP示例:
if($_POST[shouldBeEmpty] == "") {
// the field is empty, so deal with the form submission
}
else {
// you are dealing with a spammer, therefore add to the log file
}
當然,不要將您的字段命名爲「shouldBeEmpty」。將其命名爲「contactNumber」或「message」等正常的聲音。