-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ | |
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
.idea/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,28 @@ | ||
# gxor | ||
gxor程序根据输入的二进制文件进行异或运算输出 | ||
|
||
**gxor** 程序根据输入的二进制文件进行异或运算输出 | ||
|
||
``` | ||
[gxor] Xor Binary file | ||
Usage : | ||
Usage : gxor -input-file payload.bin -output-file out.bin -xor-key 10 -appendFlag A | ||
``` | ||
|
||
|
||
gxor -input-file payload.bin -output-file out.bin -xor-key 10 | ||
## 使用帮助 | ||
|
||
``` | ||
Usage of ./gxor: | ||
-append-flag string | ||
flag for file head, 1 bytes (default "A") | ||
-input-file string | ||
input bin file | ||
-output-file string | ||
input bin file (default "output.bin") | ||
-xor-key int | ||
input xor key (default 8) | ||
``` | ||
|
||
- append-flag 主要是为了防止直接异或过的shellcode代码被查杀,因此可以在文件头添加一些字符串 | ||
|
||
|
This file contains 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