Skip to content

the same -workflow_output <file> given as -workflow_input <file> is giving error #234

@sajualways

Description

@sajualways

java -jar TLS-Client.jar -connect IP:443 -version TLS12 -cipher TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA -workflow_trace_type FULL -workflow_output test.xml
05:35:58 [main] INFO : ClientDelegate - Processing client delegate host=IP:443 sniHostname=null
05:35:59 [main] INFO : Reflections - Reflections took 284 ms to scan 8 urls, producing 264 keys and 2184 values
05:36:00 [main] INFO : ClientTcpTransportHandler - Connection established from ports 43554 -> 443
05:36:00 [main] INFO : CommonSendAction - Sending messages (client): (MESSAGE) Send:CLIENT_HELLO (RECORD) Not configured (TCP) Not configured
05:36:00 [main] INFO : CommonReceiveAction - Received Messages (client): LayerType: MESSAGE As Planned: true Containers: SERVER_HELLO, CERTIFICATE, ECDHE_SERVER_KEY_EXCHANGE, SERVER_HELLO_DONE UnreadBytes: 0
LayerType: RECORD As Planned: true Containers: Record{contentType=03 03, protocolVersion=unspecified, length=55}, Record{contentType=03 03, protocolVersion=unspecified, length=1174}, Record{contentType=03 03, protocolVersion=unspecified, length=333}, Record{contentType=03 03, protocolVersion=unspecified, length=4} UnreadBytes: 0
LayerType: TCP As Planned: true Containers: TCP{1586 Bytes} UnreadBytes: 0

05:36:00 [main] INFO : CommonSendAction - Sending messages (client): (MESSAGE) Send:ECDH_CLIENT_KEY_EXCHANGE,CHANGE_CIPHER_SPEC,FINISHED (RECORD) Not configured (TCP) Not configured
05:36:00 [main] INFO : CommonReceiveAction - Received Messages (client): LayerType: MESSAGE As Planned: true Containers: CHANGE_CIPHER_SPEC, FINISHED UnreadBytes: 0
LayerType: RECORD As Planned: true Containers: Record{contentType=03 03, protocolVersion=unspecified, length=1}, Record{contentType=03 03, protocolVersion=unspecified, length=64} UnreadBytes: 0
LayerType: TCP As Planned: true Containers: TCP{75 Bytes} UnreadBytes: 0

05:36:00 [main] INFO : CommonSendAction - Sending messages (client): (MESSAGE) Send:APPLICATION (RECORD) Not configured (TCP) Not configured
05:36:00 [main] INFO : DefaultWorkflowExecutor - Workflow executed as planned.

java -jar TLS-Client.jar -connect IP:443 -workflow_input test.xml

05:37:29 [main] INFO : ClientDelegate - Processing client delegate host=10.102.59.59:443 sniHostname=null
05:37:29 [main] INFO : Reflections - Reflections took 295 ms to scan 8 urls, producing 264 keys and 2184 values
Aug 04, 2025 5:37:30 AM org.glassfish.jaxb.core.v2.ClassFactory tryGetDeclaredConstructor
INFO: No default constructor found on class de.rub.nds.asn1.model.Asn1UnknownSequence
java.lang.NoSuchMethodException: de.rub.nds.asn1.model.Asn1UnknownSequence.()
at java.base/java.lang.Class.getConstructor0(Class.java:3761)
at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2930)
at org.glassfish.jaxb.core.v2.ClassFactory.tryGetDeclaredConstructor(ClassFactory.java:109)
at org.glassfish.jaxb.core.v2.ClassFactory.create0(ClassFactory.java:78)
at org.glassfish.jaxb.runtime.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:255)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(UnmarshallingContext.java:655)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:156)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:530)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:509)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:49)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:217)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:149)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:376)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:347)
at de.rub.nds.tlsattacker.core.workflow.WorkflowTraceSerializer.secureRead(WorkflowTraceSerializer.java:257)
at de.rub.nds.tlsattacker.client.main.TlsClient.main(TlsClient.java:54)

Exception in thread "main" java.lang.NoSuchMethodError: de.rub.nds.asn1.model.Asn1UnknownSequence.()
at org.glassfish.jaxb.core.v2.ClassFactory.tryGetDeclaredConstructor(ClassFactory.java:117)
at org.glassfish.jaxb.core.v2.ClassFactory.create0(ClassFactory.java:78)
at org.glassfish.jaxb.runtime.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:255)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(UnmarshallingContext.java:655)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:156)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:530)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:509)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:49)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:217)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:149)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:376)
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:347)
at de.rub.nds.tlsattacker.core.workflow.WorkflowTraceSerializer.secureRead(WorkflowTraceSerializer.java:257)
at de.rub.nds.tlsattacker.client.main.TlsClient.main(TlsClient.java:54)
Caused by: java.lang.NoSuchMethodException: de.rub.nds.asn1.model.Asn1UnknownSequence.()
at java.base/java.lang.Class.getConstructor0(Class.java:3761)
at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2930)
at org.glassfish.jaxb.core.v2.ClassFactory.tryGetDeclaredConstructor(ClassFactory.java:109)
... 13 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions