mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Call socket_bindtodevice in FTP bounce scan.
This commit is contained in:
parent
c5faae4b26
commit
53cb923ffd
1 changed files with 1 additions and 0 deletions
1
nmap.cc
1
nmap.cc
|
|
@ -2908,6 +2908,7 @@ int ftp_anon_connect(struct ftpinfo *ftp) {
|
|||
gh_perror("Couldn't create %s socket", __func__);
|
||||
return 0;
|
||||
}
|
||||
socket_bindtodevice(sd, o.device);
|
||||
|
||||
sock.sin_family = AF_INET;
|
||||
sock.sin_addr.s_addr = ftp->server.s_addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue