Skip to content

Conversation

@j-fliegenschmidt
Copy link
Contributor

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.

@j-fliegenschmidt j-fliegenschmidt requested a review from ic0ns June 25, 2017 21:52
Copy link
Contributor

@ic0ns ic0ns left a 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() {
Copy link
Contributor

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> {
Copy link
Contributor

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.
@j-fliegenschmidt j-fliegenschmidt self-assigned this Jun 26, 2017
@j-fliegenschmidt
Copy link
Contributor Author

j-fliegenschmidt commented Jun 26, 2017

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.

@ic0ns ic0ns merged commit 74541e1 into master Jun 30, 2017
@ic0ns ic0ns deleted the delegate-modification branch June 30, 2017 10:11
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

Successfully merging this pull request may close these issues.

3 participants