Last active
March 31, 2022 13:53
-
-
Save ihebski/13c69f0badb50b8bbb76b92e6f7517f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// shared by @Retrospected: https://github.com/Retrospected/spring-rce-poc | |
@InitBinder | |
public void initBinder(WebDataBinder binder) { | |
String[] blackList = {"class.*","Class.*","*.class.*",".*Class.*"}; | |
binder.setDisallowedFields(blackList); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment