-
Notifications
You must be signed in to change notification settings - Fork 5
Refactoring + Insert Modification for Strings, Integer, BigInteger, Long + Some more Modifications for Long #182
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
Merged
Merged
Changes from 83 commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
a1cb9cc
Simplify all return statements in the equal() methods of the
C0D3D3V 7f3fb2f
Replace constant string concatenations that are used as arguments to …
C0D3D3V 4ee5dd0
Fix getModifiedCopy() of ByteArrayShuffleModification. Before the Mod…
C0D3D3V 24750a5
Fix getModifiedCopy() of StringModifications, so that the methods act…
C0D3D3V 31bfb2f
Make createRandomModification() more readable by using Enums for the …
C0D3D3V 753cf1b
Create StingInsertValueModification class. Very similar to the ByteAr…
C0D3D3V 457a67b
Fix Typo getinsertValue to getInsertValue
C0D3D3V 0763c71
Merge remote-tracking branch 'origin/main' into daniel-main
C0D3D3V 79c0218
Merge branch 'main' into daniel-main
ic0ns fc9d71b
fix bytesToLong
C0D3D3V 8599859
Change the hashCode() function of all Modifications, so they have a b…
C0D3D3V 9789ee7
Move the Moodifications from SSH-Fuzzer to ModifiableVaraible.
C0D3D3V 413d6d4
fix tests
C0D3D3V ca69bbf
Change the Insert Prepend and Append Modifications of Integer, BigInt…
C0D3D3V 3337cba
run formatter
C0D3D3V 0e71c4c
Add simple insertion test for long and BigInteger
C0D3D3V 8c67bff
Actually remove magic values from hashCode() method of all modificati…
C0D3D3V 5f31e08
Add copy constructors to all modifiable variables
C0D3D3V 9598313
Fix equals() of ModifiableLengthField (I broke it in last commit)
C0D3D3V 580b528
Undo changes to use String.format() instead of string concatenation
C0D3D3V b153a9e
Change CopyConstructors. Throw NullPointerException instead of allowi…
C0D3D3V 4b606ee
Add Project_Defaults.xml to repo. So everyone developing on this repo…
C0D3D3V 509333d
Add FromFileModifications, so one can distinguish it from normal expl…
C0D3D3V da88f9b
Fix CreateCopy() of ByteExplicitValue
C0D3D3V be36e78
Add missing XmlElement for explicit from file modifications
C0D3D3V c073a2b
Add PathModification. Fix copy methods
C0D3D3V 3bb9d9f
Add ModifiablePath utilities and missing XmlElement Annotations
C0D3D3V 753aa9d
run formatter
C0D3D3V 6566fb9
Add PathInsertDirectorySeparatorModification
C0D3D3V 95bb1ec
Fix some comments
C0D3D3V 4ded76c
Add PathExplicitValueModification and
C0D3D3V f9b1a01
Be kind to negative and null count in PathInsertDirectoryTraversalMod…
C0D3D3V 7309434
Add some toString() methods. Change backslashEscapeString() to return…
C0D3D3V 149ceb2
Replace StringBuffer with StringBuilder in backslashEscapeString. To …
C0D3D3V 882c926
fix logger of ModifiableByteArrayTest
C0D3D3V 09a055a
Make ByteArrayDeleteModification more useful by allowing more random …
C0D3D3V e688cae
Fix tests because I changed the behavior of ByteArrayDeleteModification
C0D3D3V 0ba036f
Fix ByteArrayShuffleModification to also shuffle byte arrays with len…
C0D3D3V 2adcc69
Also print modifications in toString() methods. Not very nicely imple…
C0D3D3V 272f6b6
Just some renaming of parameters
C0D3D3V d613cdd
Change behavior of ByteArrayXorModification. Allow arbitrary start po…
C0D3D3V ad139d1
Change behaviour of reduceToOriginalValue()
C0D3D3V 564be80
Add Swap Endian Modifications for long and integer
C0D3D3V 6a0d506
Allow multiple modifications on one modifiable variable
C0D3D3V 3a3a2ad
Fi some overflows
C0D3D3V dc19dd4
Add softlySetValue methods for all modifiable variables.
C0D3D3V e4237b5
Add softlySetValue with alwaysSet option
C0D3D3V 8684f65
Rename createRandomModification to setRandomModification, and make it…
C0D3D3V ff01b27
Rename longToUint64Bytes to longToEightBytes since it can also be use…
C0D3D3V c0fb825
run linter
C0D3D3V 2ca2f90
Fix fourBytesToInt
C0D3D3V 01f2f20
Fix fourBytesToInt but for real -.-
C0D3D3V c472f23
Update Readme
C0D3D3V b515c13
Fix ArrayConverter.concatenate() if one of the arrays is null.
C0D3D3V 38d4607
Fix ByteArrayInsertValueModification, that I messed up last commit
C0D3D3V 5bc90d5
Fix Path Insertion and Deletion. Also add tests for these two modific…
C0D3D3V 18a605b
Fix ModifiableByteArray serialization
C0D3D3V 51887db
run formatter
C0D3D3V 7ad8434
Fixing serialization of ByteArrays, Strings and Path for real by ma…
C0D3D3V cfd221e
Remove commented out code that I forgot to delete last commit
C0D3D3V 00b1abf
Merge remote-tracking branch 'origin/main' into daniel-main
C0D3D3V 7b3e544
Add removed functions to ArrayConverter, so that projects that relay …
C0D3D3V febc53d
Remove setRandomModification() and createRandomModification from all …
C0D3D3V 2ff6a93
change visibility of innerToString to protected
C0D3D3V 7da0fba
Add setModifications() methods. As suggested by @ic0ns
C0D3D3V a1b45fb
run formatter
C0D3D3V f0374cd
Rename getModification to getFirstModification.
C0D3D3V 1ac4208
revert to use Objects.hashCode(...) in hashCode methods instead.
C0D3D3V b52a6e1
run formatter
C0D3D3V 3f8d6c3
Remove getModifiedCopy()
C0D3D3V 01ecd03
Remove now unused limit constants, because I removed getModifiedCopy
C0D3D3V 840f698
Remove BigIntegerInteractiveModification
C0D3D3V 922914a
Revert names of ArrayConverter methods back to the old one. And adapt…
C0D3D3V 51401fd
Remove inspection profile, because of https://github.com/tls-attacker…
C0D3D3V d75be13
remove reduceToOriginalValue, see https://github.com/tls-attacker/Mod…
C0D3D3V deb69e2
Remove modification filter feature see: https://github.com/tls-attack…
C0D3D3V 3c3b6a0
Use Pattern Variables where possible
C0D3D3V 7fa7448
Remove softlySet Methods. See https://github.com/tls-attacker/Modifia…
C0D3D3V 02b7eaa
Use @XmlAnyElement(lax = true) instead of strong typing. See https://…
C0D3D3V 897eabe
Remove all createRandomModification() methods from all factories.
C0D3D3V f3957ea
Remove explicit value from file tests I forgot to delete
C0D3D3V 012c0cf
Fix debug method in VariableModification for cases where resulting va…
C0D3D3V e9ba2b5
Move String valueString definition into the case.
C0D3D3V ea4fac4
Merge branch 'main' into daniel-main
ic0ns 449ca21
Remove setModification(), because you can use setModifications(...). …
C0D3D3V 3567f7b
Replace all setModification() calls with setModifications()
C0D3D3V File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.