It's quite logical that you have to place the $sock->print() outside of the while loop
If you try this, I think you'll see that banners will not be returned for ports 21 or 22. This was the basis for my original question, e.g. why I'm seeing different behavior on a port by port basis based on where I place the $sock->print() statement. Thanks for the feedback though.
cheers, -semio
In reply to Re: Re: banner grabbing
by semio
in thread banner grabbing
by semio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |