Coder Social home page Coder Social logo

duo-labs / appsec-education Goto Github PK

View Code? Open in Web Editor NEW
67.0 9.0 14.0 85.64 MB

Presentations, training modules, and other education materials from Duo Security's Application Security team.

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.29% Python 2.24% Ruby 0.16% JavaScript 41.05% HTML 24.64% CSS 31.55% PowerShell 0.07%
appsec education training-materials

appsec-education's People

Contributors

ccornutt-duo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appsec-education's Issues

Mass Assignment app not working (code doesn't exist)

Hi, I tried to run first lab - Python AppSec Mass Assignment, but the Flask application in lab does not start. The issue is application code doesn't get copied to the server, and boot script reports:

~/web$ boot
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
App is booting... 
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/home/whitehat/boot.sh: line 10: cd: /home/whitehat/web: No such file or directory
Traceback (most recent call last):
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/util.py", line 436, in getcwd
    a = os.stat(os.environ['PWD'])
FileNotFoundError: [Errno 2] No such file or directory: '/home/whitehat/web'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/whitehat/venvs/env/bin/gunicorn", line 5, in <module>
    from gunicorn.app.wsgiapp import run
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 9, in <module>
    from gunicorn.app.base import Application
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/app/base.py", line 13, in <module>
    from gunicorn.config import Config, get_default_config_file
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/config.py", line 1003, in <module>
    class Chdir(Setting):
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/config.py", line 1008, in Chdir
    default = util.getcwd()
  File "/home/whitehat/venvs/env/lib/python3.5/site-packages/gunicorn/util.py", line 443, in getcwd
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Gunicorn failed to start

View /home/whitehat/error.log for details.

Indeed ~/web dir is empty:

~/web$ ls -la .
total 0

URL of the lab is: https://community.hunter2.com/lesson/duo-mass-assignment?module=duo-security-python-appsec

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.