Java bug
爪哇程序猴
一个想成为大牛的开发。
展开
-
漏洞:上传图片的时候没有对文件后缀名进行过滤,对图片内容只效验了图片头,没有效验图片内容,服务器被获取最高权限
系统不允许上传jsp、exe等非常规文件操作步骤:上传jpg文件:1.jpg;然后上传,利用抓包工具进行抓包,获取请求,修改请求头filename为1.jsp,内容更改,绕过后台校验...原创 2019-12-17 15:34:13 · 305 阅读 · 0 评论 -
Batch update returned unexpected row count from
ERROR [http-8080-Processor22] (BatchingBatcher.java:60) - Exception executing batch:org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 ex...转载 2019-11-26 15:27:30 · 1957 阅读 · 0 评论 -
JAVA bug:no appropriate constructor in class
错误描述:hql语句:语句 String hql = "select new Customer(cust_id, cust_name) from Customer"; no appropriate constructor in class(没有可匹配的构造方法)错误原因: 用hibernate框架时,映射时通过构造方法映射的,...原创 2019-11-21 16:30:38 · 296 阅读 · 0 评论