October 5, 2012

Virtual Routers and Switches for Testing

Something I discovered on the web, useful virtual environments:


Cisco Nexus 1000V

Vyatta Live Virtual CD

Vyatta Live CD

Live Web Test Labs

These are some useful live websites I discovered on a hacking forum:


 SPI Dynamics (live) -
 h**p://zero.webappsecurity.com/

 Cenzic (live)
hI**p://crackme.cenzic.com/

Watchfire (live) -
 h**p://demo.testfire.net/

Acunetix (live) -
 h**p://testphp.acunetix.com/
 h**p://testasp.acunetix.com
 h**p://testaspnet.acunetix.com

January 1, 2012

Appending to Python Path

I discovered this while browser. This is how you can add your directory path to Python:


Your path (i.e. the list of directories Python goes through to search for modules and files) is stored in the path attribute of the sys module. Since path is a list, you can use the append method to add new directories to the path.

For instance, to add the directory /home/me/mypy to the path, just do:

import sys
sys.path.append("/home/me/mypy")