Allow searchforward to be an string
parent
3297d198f3
commit
859a8978e7
|
@ -70,7 +70,7 @@ class Egghunter
|
|||
flippage = "\n\tor dx,0xfff"
|
||||
edxdirection = "\n\tinc edx"
|
||||
|
||||
if searchforward == false
|
||||
if searchforward.to_s.downcase == 'false'
|
||||
# go backwards
|
||||
flippage = "\n\txor dl,dl"
|
||||
edxdirection = "\n\tdec edx"
|
||||
|
|
Loading…
Reference in New Issue