Skip to content

Commit

Permalink
Garbage instruction generation adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
EgeBalci committed Nov 19, 2020
1 parent 98d40a9 commit 48e7463
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func (encoder *Encoder) Encode(payload []byte) ([]byte, error) {
return nil, err
}
payload = append(garbage, payload...)
encoder.ObfuscationLimit -= len(garbage)
// Apply ADFL cipher to payload
cipheredPayload := CipherADFL(payload, encoder.Seed)
encodedPayload, err := encoder.AddADFLDecoder(cipheredPayload)
Expand Down

0 comments on commit 48e7463

Please sign in to comment.