Sunday, May 31, 2020

Using WMIC to communicate with remote hosts

We can manager user accounts on a Windows computer using wmic commands. You can find commands for various operations below.WMIC can collect a list of the currently running processes similar to what you’d see in “Task Manager” using the following command:#wmic process listNote that some of the WMIC built-ins...

Saturday, May 30, 2020

Searching Through /var/log Folder

To check for all user logins and logsouts#last -f wtmpWtmp is a file on the Linux, Solaris, and BSD operating systems that keeps a history of all logins and logouts. On Linux systems, it is located at /var/log/wtmp. Various commands access wtmp to report login statistics, including the who and lastb...