Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: reading a text file on a remote host |
|---|---|
| Date: | Sat, 16 Feb 2008 16:56:49 +0100 |
On Sat, 16 Feb 2008 16:51:42 +0100 marco <gregomarco@gmail.com> wrote:
I want to use ssh with the following code: buf = ssh_cmd(socket:22, cmd:"cat /etc/samba/smb.conf", timeout:60);
This is incorrect. the first parameter is an open socket, not a port number. You'll need something like: sock = ssh_login_or_reuse_connection(); buf = ssh_cmd(socket:sock, ...) _______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | reading a text file on a remote host, marco |
|---|---|
| Next by Date: | Re: plugin 10919 check open ports, Kevin Mc Grath |
| Previous by Thread: | reading a text file on a remote host, marco |
| Indexes: | [Date] [Thread] [Top] [All Lists] |