Advertisement
SH1NU11b1

owtf

Oct 5th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. ## OWTF - Offensive Web Testing Framework
  2.  
  3. Official Docker image for [OWASP OWTF](http://owtf.org).
  4.  
  5. ### Building the image:
  6.  
  7. * Install **Docker**.(specific instructions can be found [here](https://docs.docker.com/installation/)).
  8.  
  9. * Then run these commands, please notice that the first time these commands are run the script will download docker images from the registry,
  10. which might take a while depending on your internet connection.
  11.  
  12. ```
  13. git clone https://github.com/owtf/owtf-docker.git
  14.  
  15. ```
  16.  
  17. * Run `docker build -t owtf-master C:\Users\NODEIII\Dropbox\OWASP\owtf-docker-master`.
  18.  
  19. ### Usage
  20.  
  21. * You can launch your **OWTF** container by running
  22. `# docker run -itd --privileged -p 8008:8008 -p 8009:8009 -p 8010:8010 <image name> -e [-u]`
  23. `# docker run -itd --privileged --net=host <image name> [-u]`
  24. - `-d` launches the container as a *daemon*.
  25. - `-p` flags map the host port to the container port
  26. - `-e` allow access to web ui. Recommended when a virtual host is
  27. used
  28. - `-u` install optional dependencies
  29. - Get the image name by running `docker images`.
  30.  
  31. * To use the OWTF mitm proxy, set the proxy settings to `localhost:8008`.
  32.  
  33. * Point your browser to `<hostip>:8009`.
  34.  
  35. ### Persistent updated image
  36.  
  37. * You can save the updated image by following these steps:
  38. 1. run your docker image with the --update option
  39. `# docker run -it --privileged --net=host <image name> --update`
  40.  
  41. 2. commit the running image into a new one. You can find the
  42. container_id by running `# docker ps`
  43. `# docker commit <container_id> <extended image name>`
  44.  
  45. 3. run the extended image
  46. `# docker run -it --privileged --net=host <extended image name>`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement