Skip to content

Commit 9ecfd36

Browse files
committed
comments
1 parent 79a6f1c commit 9ecfd36

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/egghunter.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,32 @@ def self.parse(args)
3939
end
4040

4141
opt.on('--startreg <String>', "(Optional) The starting register") do |v|
42+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
4243
options[:startreg] = v
4344
end
4445

4546
opt.on('--forward', "(Optional) To search forward") do |v|
47+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
4648
options[:startreg] = true
4749
end
4850

4951
opt.on('--depreg <String>', "(Optional) The DEP register") do |v|
52+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
5053
options[:depreg] = v
5154
end
5255

5356
opt.on('--depdest <String>', "(Optional) The DEP destination") do |v|
57+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
5458
options[:depdest] = v
5559
end
5660

5761
opt.on('--depsize <Fixnum>', "(Optional) The DEP size") do |v|
62+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
5863
options[:depsize] = v
5964
end
6065

6166
opt.on('--depmethod <String>', "(Optional) The DEP method to use (virtualprotect/virtualalloc/copy/copy_size)") do |v|
67+
# Do not change this key. This should matching the one in Rex::Exploitation::Egghunter
6268
options[:depmethod] = v
6369
end
6470

0 commit comments

Comments
 (0)