Banner Grabbing

Establish the variable

export ip=192.168.1.100

Netcat Banner Grab

nc -v $ip 25

Telnet Banner Grab

telnet $ip 25