Git Product home page Git Product logo

path-traversal's Introduction

Path-Traversal

Path Traversal Tips

Always try path traversal sequences using both forward slashes and backslashes. Many input filters check for only one of these, when the filesystem may support both. 2. Try simple URL-encoded representations of traversal sequences using the following encodings. Be sure to encode every single slash and dot within your input:

  • Dot — %2e
  • Forward slash — %2f
  • Backslash — %5c
  1. Try using 16-bit Unicode encoding:
  • Dot — %u002e
  • Forward slash — %u2215
  • Backslash — %u2216
  1. Try double URL encoding:
  • Dot — %252e
  • Forward slash — %252f
  • Backslash — %255c
  1. Try overlong UTF-8 Unicode encoding:
  • Dot — %c0%2e, %e0%40%ae, %c0ae, and so on
  • Forward slash — %c0%af, %e0%80%af, %c0%2f, and so on
  • Backslash — %c0%5c, %c0%80%5c, and so on You can use the illegal Unicode payload type within Burp Intruder to generate a huge number of alternate representations of any given character and submit this at the relevant place within your target parameter. These representations strictly violate the rules for Unicode representation but nevertheless are accepted by many implementations of Unicode decoders, particularly on the Windows platform.
  1. If the application is attempting to sanitize user input by removing traversal sequences and does not apply this filter recursively, it may be possible to bypass the filter by placing one sequence within another.
  • For example:
  • ....//
  • ..../
  • ..../\
  • ....\

path-traversal's People

Contributors

kobs0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kahila rourke101

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.