Linux – information gathering (part 2)

2017-07-27 von admin

This is the secound part of Linux – information gathering.

Peripheral Devices

With the following commands, you get information about peripheral devices. The command „lsusb“ lists all USB devices.

The command „lspci“ lists all PCI devices.

The command „lpstat“ lists all printer devices.

Users Information

To find out who you are, you can use „id“. That command prints real and effective user and group IDs.

The „who“ command shows who is logged on.

Indicates who is logged on the system and what he is doing.

With „last“ you can get a list of the last logged-in users.

Take a look in the home directories, if you have access to them.

In this home folders can more user information be found.

Some interesting mail information can be found in the following folders:

Information about user rights can be found in the following configuration files.

Private Key Information

The private keys can be found in the following folders:

Previous parts

Linux – information gathering (part 1)

Linux – information gathering (part 2)

Linux – information gathering (part 3)

 

Thx @Programming Wolf

Kategorie: IT-Security Schlagwörter: