Skip to content

Commit 7f190e2

Browse files
one last correction to old func
1 parent a68b24a commit 7f190e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/javagadget.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ func Commons6ModifiedBashCommandBytecode(commandStr string) (string, error) {
144144
return payloadBytes, nil
145145
}
146146

147-
// Generated using ysoserial with CommonsCollections11.
148-
func Commons11CommandBytecode(commandStr string) (string, error) {
147+
// Generated using ysoserial with CommonsCollections10
148+
func Commons10CommandBytecode(commandStr string) (string, error) {
149149
if len(commandStr) > 255 || len(commandStr) < 1 {
150150
return "", ErrorInvalidCommandLength("command must be between 1 and 255 characters")
151151
}

0 commit comments

Comments
 (0)