{% extends 'introduction/base.html' %} {% block content %} {% block title %} SSRF {% endblock %}

Discussion page

Lets fix the code in lab 1 of SSRF

Choose the lines with insecure/defective code
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Some insecure codes in frontend side also ...
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

Now Lets fix the code :)

Problem Statement : We need to share file content ( not the file itself ) Previous method had ssrf valuribility issue. Fix the code so that it can share file content securely.

views.py
ssrf_lab.html

Congratulation you have secured the code.

{% endblock %}