• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

enum4linux Command Examples in Linux

by Deepika

enum4linux is a command-line tool for enumerating Windows and Samba information from remote systems. It is written in Perl and can be used to perform reconnaissance on Windows and Samba systems. The tool can be used to gather information such as user and group lists, shared resources, and other information that can be used to identify potential vulnerabilities.

enum4linux Command Examples

1. Try to enumerate using all methods:

# enum4linux -a remote_host

2. Enumerate using given login credentials:

# enum4linux -u user_name -p password remote_host

3. List usernames from a given host:

# enum4linux -U remote_host

4. List shares:

# enum4linux -S remote_host

5. Get OS information:

# enum4linux -o remote_host

Filed Under: Linux

Some more articles you might also be interested in …

  1. lsinitramfs: Listing the contents of the initrd file system.
  2. How to disable NetworkManager on CentOS / RHEL 7
  3. CentOS / RHEL 7 : How to install and configure telnet
  4. How to Disable “Predictable Network Interface Device Names” in CentOS/RHEL 7
  5. lpr Command Examples in Linux
  6. Difference Between Qemu and KVM
  7. apt-mark: command not found
  8. Mac Terminal vi[m] Editor Commands
  9. CentOS / RHEL : How to add a null route in Linux
  10. What is the purpose of “wheel” group in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright