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.




Network Security Pen-Test
[Top] [All Lists]

Re: Samba hacking ?

Subject: Re: Samba hacking ?
Date: Tue, 5 Apr 2005 23:41:06 -0500
Note that to do an "anonymous" enumeration of shares, you will have to
specify an information level of 1, i.e.

rpcclient -c "netshareenum 1" -U % <ip_or_hostname>

By default, rpcclient attempts to enumerate shares at a higher privilege level.

This was on debian with smbclient 3.0.10-1

On Apr 4, 2005 10:10 AM, Jon Hart <warchild@spoofed.org> wrote:
On Fri, Apr 01, 2005 at 01:12:10PM +0200, Frederic Charpentier wrote:
Hi Bones,
Concerning samba enumeration, you can use samba-tng to get more than
share names.

(with $rpc = samba-tng's smbclient, maybe it works with normal samba now)

rpcclient (at least as provided with Debian's smbclient package) is
quite useful.

`rpcclient -c help -N $ip` will give you a list of all the commands.
Definitely check out the commands listed under the SRVSVC and SAMR
sections.

-jon


<Prev in Thread] Current Thread [Next in Thread>