Re: "expect" isn't a basic utility, it's an add-on.
Our protagonist was already familiar with perl, which has made this kind of thing fairly easy pretty much since the year dot. Not all that secure, perhaps, but easy. (I don't think security was a buzzword the ISP in question was aware of.)