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.
December 9, 2012
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 numberor
:set nuTo 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
Python - Editor Indentation
It is possible in most editors to set how the TAB and other control characaters are handled.
In vi :set ts=4 will set up a 4 character tab. Use echo ":set ts=4" >> ~/.exrc automaticaly set this at startup.
If you prefer to use nano use the following does the same echo "set tabsize 4" >> ~/.nanorc
h**p://www.python.org/dev/peps/pep-0008/
In vi :set ts=4 will set up a 4 character tab. Use echo ":set ts=4" >> ~/.exrc automaticaly set this at startup.
If you prefer to use nano use the following does the same echo "set tabsize 4" >> ~/.nanorc
h**p://www.python.org/dev/peps/pep-0008/
Subscribe to:
Posts (Atom)