Comments (3)
OK,我加,等有时间全写了
from jyso.
第一点,可兼容加个参数即可,问下特殊的链构造是那几个。
第二点,溯源也是溯源的我把,对使用者应该没啥影响,实在在意我改成常用的名。
第三点,这样就会非常的僵硬了,对应的短路径只能干一件事情且不好修改。
from jyso.
1、特殊链是LdapAttr。见:https://github.com/5l1v3r1/ysoserial-1/blob/4888f68782953c98de09f81f44f563d9c0cc1376/src/main/java/org/su18/ysuserial/payloads/CommonsBeanutils4.java#L12
构造出来是路径是\
,替换成/
应该就行
2、理论上是先溯源到你,不过用了特殊的单词也有被WAF当特征的隐患,当然这也只是小建议
3、对于路由转换,我补充下我的设想做法,代码我没看那么细,可能有说的不对的地方
- 路径加密解密
在 src\main\java\com\qi4l\jndi\LdapServer.java#processSearchResult
处加上解密代码
这个加上去是完全兼容的,不会影响以前的用法,相当于套了一层加密,不会看出调用了什么命令
- 路径映射
在src\main\java\com\qi4l\jndi\HTTPServer.java
中增加一个map变量
并且加一个http接口,给外部脚本调用,比如post http://1.1.1.1:3456/setPathAlias?a=xxxxxxxxxxxxxxxxxxxx&b=ok
这样就可以在LdapServer中尝试获取
这个加上去是完全动态的,映射关系随时可以修改,也可以添加多个,而且兼容不会影响以前的用法
from jyso.
Related Issues (20)
- 有不少gadget会报错 HOT 4
- base64编码问号会变成/,导致路由识别错误 HOT 21
- wiki问题 HOT 4
- 使用反序列化加载自定义类无法成功注入 HOT 18
- 能否添加UTF-8 Overlong Encoding绕waf的方法 HOT 2
- yso的LF-功能加载类文件失败 HOT 6
- FastJson链可以更新下吗 HOT 2
- UTF-8 Overlong Encoding 生成URLDNS链出错了 HOT 3
- fastjson 链templates逻辑存在问题 HOT 2
- 又来提bug了 HOT 5
- tag版本问题 HOT 1
- gadget缺失 HOT 6
- help问题 HOT 13
- 添加bsh2.0b1的链子 HOT 2
- 使用其他链的执行命令的时候出错 HOT 13
- 大佬使用idea 编译报错提示找不到包 HOT 4
- 大佬我在咨询一下 使用 CommonsBeanutils-1.6.1 编译出来执行直接报错 java -jar JYso-1.2.8-all.jar -y -g CommonsBeanutils1 -p "EX-TomcatEcho" HOT 3
- 低版本的CommonsBeanutils 解决办法自己修改代码。希望作者更新一下代码 HOT 47
- 无法启动 HOT 2
- latest 1.2.9 Error while generating or serializing payload HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jyso.