-
Notifications
You must be signed in to change notification settings - Fork 5
Delegate modification #18
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
Conversation
ic0ns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to add the BigIntegerInteractiveModification to the Serializable classes in the VariableModification class.
Please make sure that the Class is Serializable with JAXB and that it can be integrated into TLS-Attacker WorkflowTraces
| return new BigIntegerInteractiveModification(modification); | ||
| } | ||
|
|
||
| public static synchronized List<VariableModification<BigInteger>> modificationsFromFile() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is not correctly formated (probably whitespaces). Please run mvn formatter:format
| */ | ||
| @XmlRootElement | ||
| @XmlType(propOrder = { "interactive", "modificationFilter", "postModification" }) | ||
| public class BigIntegerInteractiveModification extends VariableModification<BigInteger> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The property "interactive" does not exist
Also, new workflow to specify an interactive modification. Again, this is probably something that should be discussed; my idea of a sensible compromise might differ from yours.
|
If I understand correctly, my latest push should have automagically appeared here, not sure why it didn't... Do I need to open a new pull request? Edit: Okay, apparently I just wasn't patient enough. |
…e and not every time get Value is called
Sample implementation for BigInteger. Delegate-style, since the interactive modification would be useless in a GUI project if one could not inject a custom interaction. This obv opens the door to abuse this as the go-to modification, so there might be some room/need for discussion here.