One way to determine who is logged into a terminal server session on the server is the following:
> quser.exe
> qwinsta.exe
> query session
January 7, 2013
December 9, 2012
Determining the Vendor by MAC
When performing a recon on a network, whether wireless or LAN based, you may come across devices identified by its MAC address. To get a better footprint of the environment, it is definitely useful to determine the type of device riding within the enterprise. This can usually be done by an nmap sweep of the local environment. Once MAC addresses are gathered, the vendor of the unknown device can be concluded by visiting the following:
https://standards.ieee.org/develop/regauth/oui/oui.txt.
The first three octets are usually reserved by the vendor.
https://standards.ieee.org/develop/regauth/oui/oui.txt.
The first three octets are usually reserved by the vendor.
October 6, 2012
How To Show Line Numbers In vi / vim Text Editor
To display line numbers along the left side of a window, type any one of the following:
:set number
or
:set nu
To turn off line number again enter the same command:
:set nu!
If you need number every time you start vi/vim, append following line to your ~/.vimrc file:
set number
Subscribe to:
Posts (Atom)