← Back
Editing: firewall-legacy.js
System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER"],(function(t,e){"use strict";var c;return{setters:[function(t){c=t.o},null],execute:function(){var e="/plugin?action=a&name=bt_security&s=",o="/plugin?name=syssafe&action=a&s=",n="/plugin?name=networkscan&action=a&s=";t("d",(function(){return c.post("safe/ssh/GetSshInfo",{check:"object",customType:"model"})})),t("h",(function(t){return c.post("firewall/SetSshStatus",{data:t,check:"msg"})})),t("i",(function(){return c.post("/mod/ssh/com/get_ssh_intrusion",{check:"object",customType:"model"})})),t("Y",(function(){return c.post("ssh_security/get_config",{check:"object"})})),t("V",(function(t){var e=t?"set_password":"stop_password";return c.post("ssh_security/".concat(e),{check:"msg"})})),t("X",(function(t){return c.post("firewall/SetSshPort",{data:{port:t},check:"msg"})})),t("ba",(function(t){return c.post("".concat(e,"get_user_log"),{data:t,customType:"model",check:"array"})})),t("n",(function(){return c.post("".concat(e,"get_total_all"),{customType:"model",check:"object"})})),t("_",(function(t){return c.post("ssh_security/del_sys_user",{data:t,check:"msg"})})),t("$",(function(t,o){var n=t?"start_user_security":"stop_user_security";return c.post("".concat(e).concat(n),{data:o,customType:"model",check:"object"})})),t("a0",(function(t,o){var n=t?"start_user_log":"stop_user_log";return c.post("".concat(e).concat(n),{data:o,customType:"model",check:"object"})})),t("S",(function(t){return c.post("ssh_security/set_root_password",{data:t,check:"msg"})})),t("Z",(function(t){return c.post("".concat(e,"get_logs_list"),{data:t,customType:"model",check:"array"})})),t("b9",(function(t){return c.post("ssh_security/add_sys_user",{data:t,check:"object"})})),t("U",(function(t){return c.post("ssh_security/set_sshkey",{data:t,check:"object"})})),t("P",(function(){return c.post("ssh_security/get_login_send",{check:"object"})})),t("b8",(function(t){return c.post("ssh_security/get_logs",{data:t,check:"object"})})),t("b4",(function(t){return c.post("/mod/push/task/change_task_conf",{data:t,check:"msg",customType:"model"})})),t("O",(function(t){return c.post("ssh_security/set_anti_conf",{data:t,check:"object"})})),t("b3",(function(){return c.post("ssh_security/get_anti_conf",{check:"object"})})),t("Q",(function(){return c.post("ssh_security/get_sshd_anti_logs",{check:"object"})})),t("b6",(function(){return c.post("ssh_security/return_ip",{check:"object"})})),t("b5",(function(t){return c.post("ssh_security/add_return_ip",{data:t,check:"msg"})})),t("b7",(function(t){return c.post("ssh_security/del_return_ip",{data:t,check:"msg"})})),t("R",(function(){return c.post("ssh_security/get_key",{check:"msg"})})),t("W",(function(){return c.post("ssh_security/stop_key",{check:"msg"})})),t("T",(function(t){return c.post("ssh_security/set_root",{data:t,check:"msg"})})),t("m",(function(t){var o=t?"start_bt_security":"stop_bt_security";return c.post("".concat(e).concat(o),{customType:"model",check:"object"})})),t("aE",(function(){return c.post("".concat(e,"porcess_set_up_log"),{customType:"model",check:"array"})})),t("aF",(function(t){return c.post("".concat(e,"del_porcess_log"),{data:t,customType:"model",check:"object"})})),t("aG",(function(t){return c.post("".concat(e,"add_porcess_log"),{data:t,customType:"model",check:"msg"})})),t("aH",(function(t){return c.post("".concat(e,"get_log"),{data:t,customType:"model",check:"object"})})),t("aI",(function(){return c.post("".concat(o,"get_safe_status"),{customType:"model",check:"object"})})),t("o",(function(){return c.post("".concat(o,"set_open"),{customType:"model",check:"msg"})})),t("aJ",(function(t){return c.post("".concat(o,"set_safe_status"),{data:t,customType:"model",check:"msg"})})),t("bC",(function(t){return c.post("".concat(o,"get_safe_config"),{data:t,customType:"model",check:"object"})})),t("bD",(function(t){return c.post("".concat(o,"remove_safe_path"),{data:t,customType:"model",check:"object"})})),t("bE",(function(t){return c.post("".concat(o,"add_safe_path"),{data:t,customType:"model",check:"object"})})),t("aK",(function(){return c.post("".concat(o,"get_ssh_limit_info"),{customType:"model",check:"array"})})),t("aL",(function(t){return c.post("".concat(o,"add_ssh_limit"),{data:t,customType:"model",check:"object"})})),t("aM",(function(t){return c.post("".concat(o,"remove_ssh_limit"),{data:t,customType:"model",check:"object"})})),t("ac",(function(){return c.post("/project/content/get_content_monitor_overview",{customType:"model",check:"object"})})),t("ai",(function(t){return c.post("/project/content/get_risk_list",{data:t,customType:"model",check:"object"})})),t("ag",(function(t){return c.post("project/content/get_single_site_risk",{data:t,check:"object",customType:"model"})})),t("ah",(function(t){return c.post("/project/content/get_risk",{data:t,customType:"model",check:"object"})})),t("N",(function(t){return c.post("/project/content/get_risk_info",{data:t,customType:"model",check:"object"})})),t("ad",(function(){return c.post("/project/content/get_content_monitor_list",{customType:"model",check:"array"})})),t("ae",(function(t){return c.post("/project/content/del_content_monitor_info",{data:t,customType:"model",check:"msg"})})),t("af",(function(t){return c.post("/project/content/scanning",{data:{data:JSON.stringify(t)},customType:"model",check:"object"})})),t("br",(function(t){return c.post("/project/content/kill_scanning",{data:{data:JSON.stringify(t)},customType:"model",check:"msg"})})),t("bp",(function(){return c.post("/project/content/get_thesaurus",{customType:"model",check:"array"})})),t("bo",(function(){return c.post("/project/content/clear_thesaurus",{customType:"model",check:"msg"})})),t("bn",(function(t){return c.post("/project/content/del_thesaurus",{data:t,customType:"model",check:"msg"})})),t("bm",(function(){return c.post("/project/content/out_thesaurus",{customType:"model",check:"object"})})),t("bq",(function(t){return c.post("/project/content/add_thesaurus",{data:{data:JSON.stringify(t)},customType:"model",check:"msg"})})),t("bu",(function(t){return c.post("crontab/GetDataList",{data:t,check:"object"})})),t("bt",(function(t,e){var o=t?"set_content_monitor_info":"add_content_monitor_info";return c.post("/project/content/".concat(o),{data:{data:JSON.stringify(e)},customType:"model",check:"msg"})})),t("al",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_notice",{customType:"model",check:"object"})})),t("ak",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_status",{customType:"model",check:"object"})})),t("aB",(function(t){return c.post("/plugin?action=a&name=security_notice&s=get_send_logs",{data:t,customType:"model",check:"object"})})),t("aD",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_send_config",{customType:"model",check:"msg"})})),t("aC",(function(t){return c.post("/plugin?action=a&name=security_notice&s=set_send",{data:t,customType:"model",check:"msg"})})),t("az",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_index",{customType:"model",check:"object"})})),t("aA",(function(t){return c.post("/plugin?action=a&name=security_notice&s=set_php_status",{data:t,customType:"model",check:"msg"})})),t("aw",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_overall_info",{customType:"model",check:"object"})})),t("av",(function(t){return c.post("/plugin?action=a&name=security_notice&s=empty_info",{data:t,check:"msg",customType:"model"})})),t("ay",(function(t){return c.post("/plugin?action=a&name=security_notice&s=remove_ip_white",{data:t,customType:"model",loading:"正在删除,请稍候...",check:"msg"})})),t("ax",(function(t){return c.post("/plugin?action=a&name=security_notice&s=remove_url_white",{data:t,customType:"model",loading:"正在删除,请稍候...",check:"msg"})})),t("au",(function(t){return c.post("/plugin?action=a&name=security_notice&s=add_url_white",{data:t,customType:"model",check:"msg"})})),t("at",(function(t){return c.post("/plugin?action=a&name=security_notice&s=add_ip_white",{data:t,customType:"model",check:"msg"})})),t("ar",(function(t){return c.post("/plugin?action=a&name=security_notice&s=Re_Recycle_bin",{data:t,customType:"model",check:"msg"})})),t("as",(function(t){return c.post("/plugin?action=a&name=security_notice&s=Del_Recycle_bin",{data:t,customType:"model",check:"msg"})})),t("aq",(function(){return c.post("/plugin?action=a&name=security_notice&s=Get_Recycle_bin",{customType:"model",check:"array"})})),t("ap",(function(){return c.post("/plugin?action=a&name=security_notice&s=get_sites",{customType:"model",check:"object"})})),t("ao",(function(t,e){var o=t?"start_site":"stop_site";return c.post("/plugin?action=a&name=security_notice&s=".concat(o),{data:e,customType:"model",check:"msg"})})),t("bw",(function(t){return c.post("/plugin?action=a&name=security_notice&s=get_domain_logs",{data:t,customType:"model"})})),t("am",(function(t){return c.post("/plugin?action=a&name=security_notice&s=wubao_url_white",{data:t,customType:"model",check:"msg"})})),t("an",(function(t){return c.post("/plugin?action=a&name=security_notice&s=set_ignore",{data:t,customType:"model",check:"msg"})})),t("bJ",(function(t,e){var o=t?"edit_site_config":"add_site_config";return c.post("/plugin?action=a&name=security_notice&s=".concat(o),{data:e,customType:"model",check:"msg"})})),t("bv",(function(t){return c.post("/plugin?action=a&name=security_notice&s=attack",{data:t,customType:"model",check:"msg"})})),t("aj",(function(t){return c.post("/plugin?action=a&name=security_notice&s=start_service",{data:t,customType:"model",check:"msg"})})),t("e",(function(){return c.post("/firewall/com/get_firewall_info",{check:"object",customType:"model"})})),t("f",(function(){return c.post("/firewall/com/get_status",{check:"boolean",customType:"model"})})),t("C",(function(){return c.post("/firewall/com/update_bt_firewall",{check:"object",customType:"model"})})),t("g",(function(){return c.post("/firewall/com/get_www_logs_size",{check:"object",customType:"model"})})),t("c",(function(){return c.post("files/CloseLogs",{check:"string"})})),t("a",(function(t){return c.post("firewall/SetPing",{data:t,check:"msg"})})),t("s",(function(t){return c.post("/firewall/com/set_status",{data:t,check:"msg",customType:"model"})})),t("t",(function(t){return c.post("/firewall/com/port_rules_list",{data:t,check:"object",customType:"model"})})),t("u",(function(t){return c.post("safe/firewall/get_listening_processes",{data:{data:JSON.stringify(t)},check:"object",customType:"model"})})),t("w",(function(t,e){var o=e?"modify_domain_port_rule":"modify_port_rule";return c.post("/firewall/com/".concat(o),{data:t,check:"msg",customType:"model"})})),t("v",(function(t,e){var o=e?"set_domain_port_rule":"set_port_rule";return c.post("/firewall/com/".concat(o),{data:t,check:"msg",customType:"model"})})),t("y",(function(t){return"country_rule"===t.rule_name?c.post("safe/firewall/import_rules",{data:{data:JSON.stringify(t)},check:"msg",customType:"model"}):c.post("/firewall/com/import_rules",{data:t,check:"msg",customType:"model"})})),t("x",(function(t){return"country_rule"===t.rule_name?c.post("safe/firewall/export_rules",{data:{data:JSON.stringify(t)},check:"msg",customType:"model"}):c.post("/firewall/com/export_rules",{data:t,check:"msg",customType:"model"})})),t("z",(function(t){return c.post("/firewall/com/ip_rules_list",{data:t,check:"object",customType:"model"})})),t("A",(function(t){return c.post("/firewall/com/modify_ip_rule",{data:t,check:"object",customType:"model"})})),t("B",(function(t){return c.post("/firewall/com/set_ip_rule",{data:t,check:"object",customType:"model"})})),t("D",(function(t){return c.post("/firewall/com/port_forward_list",{data:t,check:"object",customType:"model"})})),t("E",(function(t){return c.post("/firewall/com/set_port_forward",{data:t,check:"object",customType:"model"})})),t("a$",(function(t){return c.post("/firewall/com/modify_forward_rule",{data:t,check:"object",customType:"model"})})),t("F",(function(t){return c.post("safe/firewall/get_country_list",{data:t,customType:"model",check:"object"})})),t("G",(function(t){return c.post("safe/firewall/remove_country",{data:t,customType:"model",check:"object"})})),t("b2",(function(){return c.post("safe/firewall/get_countrys",{customType:"model",check:"array"})})),t("b1",(function(t){return c.post("safe/firewall/create_countrys",{data:t,customType:"model",check:"msg"})})),t("b0",(function(t){return c.post("safe/firewall/modify_country",{data:t,customType:"model",check:"msg"})})),t("a_",(function(){return c.post("safe/firewall/get_anti_scan_status",{check:"object",customType:"model"})})),t("aX",(function(t){return c.post("/safe/firewall/set_anti_scan_status",{data:{data:JSON.stringify(t)},check:"msg",customType:"model"})})),t("aZ",(function(t){return c.post("ssh_security/del_ban_ip",{data:t,check:"msg"})})),t("aY",(function(t){return c.post("safe/firewall/del_ban_ip",{data:t,check:"msg",customType:"model"})})),t("q",(function(){return c.post("safe/firewall/get_anti_scan_logs",{check:"object",customType:"model"})})),t("bH",(function(t){return c.post("/mod/push/task/set_task_conf",{data:t,check:"msg",customType:"model"})})),t("a1",(function(){return c.post("/project/safe_detect/get_safe_count",{customType:"model",check:"object"})})),t("ab",(function(t){return c.post("/project/safe_detect/get_scan_res",{data:t,check:"object",customType:"model"})})),t("aa",(function(){return c.post("/project/safe_detect/file_detect",{check:"msg",customType:"model"})})),t("a9",(function(t){return c.post("/project/safe_detect/opt_dir",{data:t,check:"msg",customType:"model"})})),t("bh",(function(){return c.post("/project/safe_detect/get_scan_dir",{check:"object",customType:"model"})})),t("bj",(function(t){return c.post("/project/safe_detect/add_scan_dir",{data:t,check:"msg",customType:"model"})})),t("bi",(function(t){return c.post("/project/safe_detect/del_scan_dir",{data:t,check:"msg",customType:"model"})})),t("bl",(function(){return c.post("/project/safe_detect/get_cron_file_M",{check:"object",customType:"model"})})),t("bk",(function(t){return c.post("/project/safe_detect/set_cron_file_info",{data:t,check:"msg",customType:"model"})})),t("a2",(function(t){return c.post("/project/safe_detect/del_monitor_dir",{data:t,customType:"model",check:"msg"})})),t("a5",(function(t,e){var o=t?"stop_monitor_dir":"start_monitor_dir";return c.post("/project/safe_detect/".concat(o),{data:e,customType:"model",check:"msg"})})),t("a3",(function(t){return c.post("/project/safe_detect/edit_monitor_dir",{data:t,customType:"model",check:"msg"})})),t("a4",(function(t){var e=t?"stop_service":"start_service";return c.post("/project/safe_detect/".concat(e),{customType:"model",check:"msg"})})),t("a6",(function(){return c.post("/project/safe_detect/get_service_status",{customType:"model",check:"object"})})),t("a7",(function(){return c.post("/project/safe_detect/get_monitor_dir",{customType:"model",check:"array"})})),t("a8",(function(){return c.post("/project/safe_detect/get_webshell_total",{customType:"model",check:"number"})})),t("bb",(function(t){return c.post("/project/safe_detect/add_monitor_dir",{data:t,customType:"model",check:"msg"})})),t("bI",(function(){return c.post("/project/safe_detect/add_all_site",{customType:"model",check:"array"})})),t("bf",(function(){return c.post("/project/safe_detect/webshell_file",{customType:"model",check:"array"})})),t("bg",(function(t){return c.post("/project/safe_detect/set_handle_file",{data:t,customType:"model",check:"msg"})})),t("bc",(function(){return c.post("/project/safe_detect/get_white_path",{customType:"model",check:"object"})})),t("be",(function(t){return c.post("/project/safe_detect/add_white_path",{data:t,customType:"model",check:"msg"})})),t("bd",(function(t){return c.post("/project/safe_detect/del_white_path",{data:t,customType:"model",check:"msg"})})),t("p",(function(){return c.post("project/scanning/startScan",{check:"object",customType:"model"})})),t("aV",(function(){return c.post("site/get_cron_scanin_info",{check:"object"})})),t("aW",(function(t){return c.post("site/set_cron_scanin_info",{data:t,check:"msg"})})),t("bx",(function(){return c.post("".concat(o,"get_ssh_config"),{customType:"model",check:"object"})})),t("by",(function(t){return c.post("".concat(o,"save_ssh_config"),{data:t,customType:"model",check:"msg"})})),t("bz",(function(){return c.post("".concat(o,"get_process_white"),{customType:"model",check:"array"})})),t("bA",(function(t){return c.post("".concat(o,"add_process_white"),{data:t,customType:"model",check:"msg"})})),t("bB",(function(t){return c.post("".concat(o,"remove_process_white"),{data:t,customType:"model",check:"msg"})})),t("bs",(function(t){return c.post("/project/content/repair_cron",{data:t,customType:"model",check:"msg"})})),t("H",(function(t){return c.post("/safe/firewall/get_malicious_ip_list",{data:t,check:"object",customType:"model"})})),t("J",(function(){return c.post("/safe/firewall/remove_all_malicious_ip",{check:"object",customType:"model"})})),t("M",(function(t){return c.post("/safe/firewall/remove_malicious_ip",{data:t,check:"object",customType:"model"})})),t("K",(function(t){return c.post("/safe/firewall/switch_malicious_ip",{data:t,check:"object",customType:"model"})})),t("I",(function(){return c.post("/safe/firewall/get_malicious_ip_status",{check:"object",customType:"model"})})),t("L",(function(t){return c.post("/safe/firewall/set_malicious_ip_bantime",{data:{data:JSON.stringify({bantime:t})},check:"object",customType:"model"})})),t("aQ",(function(t){return c.post("".concat(n,"get_overview_and_scan_info"),{data:t,customType:"model",check:"object"})})),t("aO",(function(t){return c.post("".concat(n,"toggle_switch_status"),{data:t,customType:"model",check:"msg"})})),t("aP",(function(){return c.post("".concat(n,"export_ip_table"),{customType:"model",check:"msg"})})),t("bF",(function(t){return c.post("".concat(n,"get_ip_detail"),{data:t,customType:"model"})})),t("bG",(function(t){return c.post("".concat(n,"set_scan_sensing_rule"),{data:t,customType:"model",check:"msg"})})),t("aU",(function(){return c.post("".concat(n,"get_networkscan_log"),{customType:"model",check:"msg"})})),t("aS",(function(){return c.post("/btwaf/get_waf_drop_ip.json",{customType:"model"})})),t("aN",(function(t){return c.post("/btwaf/add_temporary_ip.json",{data:t,customType:"model",check:"msg"})})),t("aR",(function(t){return c.post("/btwaf/del_temporary_ip.json",{data:t,customType:"model",check:"msg"})})),t("aT",(function(t){return c.post("/networkscan/get_action_logs.json",{customType:"model",data:t})})),t("r",(function(){return c.post("/mod/ssh/com/remove_cron_job",{customType:"model",check:"msg"})})),t("k",(function(t){return c.post("/mod/ssh/com/run_ban_login_failed_ip",{data:t,check:"object",customType:"model"})})),t("l",(function(t){return c.post("/mod/ssh/com/add_cron_job",{data:t,customType:"model",check:"msg"})})),t("b",(function(){return c.post("/firewall/com/clean_cache",{customType:"model",check:"msg"})})),t("j",(function(){return c.post("/mod/ssh/com/clean_ssh_list",{customType:"model",check:"msg"})}))}}}));
Save File
Cancel