File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
modules/exploits/linux/http Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -246,21 +246,6 @@ def clean_rce_payload(payload)
246
246
end
247
247
end
248
248
249
- # add the session subscriber to hook the session
250
- def setup
251
- super
252
- framework . events . add_session_subscriber ( self )
253
- end
254
-
255
- # try to remove the payload from the backup list to cover our tracks
256
- # The current attack entry can only be removed when the session is terminated
257
- # because after termination of the session, the backup list entry gets updated
258
- def on_session_close ( session , _reason = '' )
259
- vprint_status ( "Hooked session #{ session . sid } is shutting down and ready for cleaning." )
260
- framework . events . remove_session_subscriber ( self )
261
- clean_rce_payload ( @rce_payload )
262
- end
263
-
264
249
# try to remove the payload from the backup list to cover our tracks
265
250
def cleanup
266
251
super
You can’t perform that action at this time.
0 commit comments