more spaces at EOL
This commit is contained in:
@@ -12,7 +12,7 @@ class Encoder::NonAlpha < Msf::Encoder
|
||||
def initialize(info)
|
||||
super(info)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ class Encoder::NonUpper < Msf::Encoder
|
||||
def initialize(info)
|
||||
super(info)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -43,8 +43,8 @@ class Msf::Encoder::Xor < Msf::Encoder
|
||||
bad_keys[i][badchar] = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return bad_keys
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
@@ -41,7 +41,7 @@ class Msf::Encoder::XorAdditiveFeedback < Msf::Encoder::Xor
|
||||
# Initialize the state back to defaults since we're trying to find a
|
||||
# key.
|
||||
init_state(state)
|
||||
|
||||
|
||||
begin
|
||||
# Reset the encoder state's key to the current set of key bytes
|
||||
state.reset(key_bytes_to_integer(key_bytes))
|
||||
@@ -75,7 +75,7 @@ class Msf::Encoder::XorAdditiveFeedback < Msf::Encoder::Xor
|
||||
|
||||
# If we looped around, then give up.
|
||||
if (key_bytes[idx] == orig_key_bytes[idx])
|
||||
raise info, "The #{self.name} encoder failed to encode without bad characters.",
|
||||
raise info, "The #{self.name} encoder failed to encode without bad characters.",
|
||||
caller
|
||||
end
|
||||
end
|
||||
@@ -85,4 +85,4 @@ class Msf::Encoder::XorAdditiveFeedback < Msf::Encoder::Xor
|
||||
return state.orig_key
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user