mhaskar / mhaskar/Shellcode-In-Memory-Decoder

Variable length xor in python

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
97
派生
26
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/mhaskar/Shellcode-In-Memory-Decoder/blob/08e0b1f12b6b254fa3ed4ee14aa244a3487b2afd/xor-encoder.py#L15

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 xor-encoder.py 第 15 行开始,将当前的单字节密钥处理方式与 issue 中所示的可变长度 XOR 表达式进行比较。确认 raw_data 和密钥的表示方式,然后确认编码完成后的行为是循环使用密钥中的每个字节。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
security
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。