Skip to content

Commit a15b61a

Browse files
committed
Fix rapid7#9160, exploit method from TcpServer
It already starts the server and waits for us. This is what was called when the module was still auxiliary.
1 parent 57fde9d commit a15b61a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/exploits/unix/http/tnftp_savefile.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ def initialize(info = {})
4343
))
4444
end
4545

46-
def exploit
47-
start_service
48-
sleep
49-
end
50-
5146
def on_request_uri(cli, request)
5247
unless request['User-Agent'] =~ /(tn|NetBSD-)ftp/
5348
print_status("#{request['User-Agent']} connected")

0 commit comments

Comments
 (0)