Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled RuntimeException #95791

Open
jsql-robot opened this issue Nov 14, 2024 · 0 comments
Open

Unhandled RuntimeException #95791

jsql-robot opened this issue Nov 14, 2024 · 0 comments

Comments

@jsql-robot
Copy link

jSQL: v0.101
Java: v11.0.24-amd64-en on Java(TM) SE Runtime Environment
OS: Windows 10 (v10.0)
Desktop: windows
Strategy: undefined
Db engine: MySQL
Exception on ThreadBeginInjection
java.lang.RuntimeException: java.security.InvalidKeyException: Invalid AES key length: 19 bytes
	at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:524)
	at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
	at com.jsql.util.TamperingUtil.eval(TamperingUtil.java:54)
	at com.jsql.util.TamperingUtil.tamper(TamperingUtil.java:100)
	at com.jsql.model.InjectionModel.buildQuery(InjectionModel.java:577)
	at com.jsql.model.InjectionModel.initializeQueryString(InjectionModel.java:419)
	at com.jsql.model.InjectionModel.inject(InjectionModel.java:283)
	at com.jsql.model.AbstractModelObservable.injectWithoutIndex(AbstractModelObservable.java:54)
	at com.jsql.model.injection.strategy.blind.InjectionCharInsertion.callUrl(InjectionCharInsertion.java:196)
	at com.jsql.model.injection.strategy.blind.InjectionCharInsertion.<init>(InjectionCharInsertion.java:68)
	at com.jsql.model.suspendable.SuspendableGetCharInsertion.checkInsertionChar(SuspendableGetCharInsertion.java:239)
	at com.jsql.model.suspendable.SuspendableGetCharInsertion.initializeCallables(SuspendableGetCharInsertion.java:204)
	at com.jsql.model.suspendable.SuspendableGetCharInsertion.run(SuspendableGetCharInsertion.java:59)
	at com.jsql.model.injection.strategy.MediatorStrategy.testStrategies(MediatorStrategy.java:164)
	at com.jsql.model.injection.method.AbstractMethodInjection.checkLastParam(AbstractMethodInjection.java:106)
	at com.jsql.model.injection.method.AbstractMethodInjection.testParameters(AbstractMethodInjection.java:76)
	at com.jsql.model.injection.method.AbstractMethodInjection.testParameters(AbstractMethodInjection.java:41)
	at com.jsql.model.InjectionModel.beginInjection(InjectionModel.java:172)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.security.InvalidKeyException: Invalid AES key length: 19 bytes
	at java.base/com.sun.crypto.provider.AESCrypt.init(AESCrypt.java:90)
	at java.base/com.sun.crypto.provider.ElectronicCodeBook.init(ElectronicCodeBook.java:97)
	at java.base/com.sun.crypto.provider.CipherCore.init(CipherCore.java:591)
	at java.base/com.sun.crypto.provider.CipherCore.init(CipherCore.java:467)
	at java.base/com.sun.crypto.provider.AESCipher.engineInit(AESCipher.java:313)
	at java.base/javax.crypto.Cipher.implInit(Cipher.java:837)
	at java.base/javax.crypto.Cipher.chooseProvider(Cipher.java:899)
	at java.base/javax.crypto.Cipher.init(Cipher.java:1284)
	at java.base/javax.crypto.Cipher.init(Cipher.java:1221)
	at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2201$1157A$\^eval\_.encrypt(<eval>:40)
	at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2199$16A$\^eval\_.tampering(<eval>:29)
	at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:648)
	at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
	at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
	... 20 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant