Variable length xor in python
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Start at xor-encoder.py line 15 and compare the current single-byte key handling with the variable-length XOR expression shown in the issue. Verify how raw_data and the key are represented, then confirm that encoding cycles through every key byte as the completed behavior.
Written by the indexing model from the issue text.
Description
key = '\x01'
print( ''.join([chr(ord(v)^ord(key[i%len(key)])) for i,v in enumerate(raw_data)]) )
This would be a variable length XOR key
- Dominant language
- C
- Stars
- 97
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mhaskar/Shellcode-In-Memory-Decoder
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in mhaskar/Shellcode-In-Memory-Decoder
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·