修复文件劫持、注入、阻断页面、镜像若干bug

This commit is contained in:
wangwei
2019-05-31 13:04:57 +08:00
parent 33590ee8f4
commit 1b2f115ee5
23 changed files with 239 additions and 176 deletions

View File

@@ -20,7 +20,7 @@ public class ProxyFileHijackCfg extends BaseCfg<ProxyFileHijackCfg>{
private String path;//储存路径
@ExcelField(title="content_name",sort=4)
private String contentName;//内容格式
private int quote;//判断与其他菜单是否关联使用中
private String quote;//判断与其他菜单是否关联使用中
public String getContentName() {
return contentName;
@@ -28,10 +28,10 @@ public class ProxyFileHijackCfg extends BaseCfg<ProxyFileHijackCfg>{
public void setContentName(String contentName) {
this.contentName = contentName;
}
public int getQuote() {
public String getQuote() {
return quote;
}
public void setQuote(int quote) {
public void setQuote(String quote) {
this.quote = quote;
}
public String getIndexTable() {

View File

@@ -13,7 +13,7 @@ public class ProxyFileInsertScriptCfg extends BaseCfg<ProxyFileInsertScriptCfg>{
private String format;//css/js
@ExcelField(title="file_insert_script",sort=2)
private String path;//储存路径
private int quote;//判断与其他菜单是否关联使用中
private String quote;//判断与其他菜单是否关联使用中
public String getIndexTable() {
return indexTable;
}
@@ -38,10 +38,10 @@ public class ProxyFileInsertScriptCfg extends BaseCfg<ProxyFileInsertScriptCfg>{
public void setPath(String path) {
this.path = path;
}
public int getQuote() {
public String getQuote() {
return quote;
}
public void setQuote(int quote) {
public void setQuote(String quote) {
this.quote = quote;
}
}
}

View File

@@ -16,7 +16,16 @@ public class ProxyFileResponsePageCfg extends BaseCfg<ProxyFileResponsePageCfg>
private String contentType;//内容类型如text/html取字典表contentType
private String md5;//文件md5值
private Long contentLength;//文件长度
private String quote;//引用状态
public String getQuote() {
return quote;
}
public void setQuote(String quote) {
this.quote = quote;
}
public String getIndexTable() {
return indexTable;
}