Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Script not entering VRFY after nc command

$
0
0
I am making a bash script right now and am running into an issue. As I am new to scripting, I do not know exactly what to do to get what I'm looking for in my script.

Essentially, my script will automatically input VRFY common names after nc [ip] [port]

Example:

Code:

nc 192.168.248.133 25

VRFY Allison
VRFY Adam
VRFY Bob

When I put that into a script, how would I make the command VRFY Allison be entered in directly after the command nc 192.168.248.133 25 ?

Thanks in advanced

Viewing all articles
Browse latest Browse all 16232

Latest Images

Trending Articles



Latest Images