Git Product home page Git Product logo

sigsegv2.misc_4's Introduction

exFAT extra long file path

Version

Date Author Contact Version Comment
23/10/2019 noraj (Alexandre ZANNI) noraj#0833 on discord 1.0 Document creation

Information

Information displayed for CTF players:

  • Name of the challenge / Nom du challenge: The long way
  • Category / Catégorie: Misc
  • Internet: not needed
  • Difficulty / Difficulté: easy / facile

Description

You need to go deeper...
But when you'll be deep the dark will surround you...

Flag format: sigsegv{flag}

author: [noraj](https://pwn.by/noraj/)

Hints

  • Hint1: It's a scripting challenge right?
  • Hint2: exFAT
  • Hint3: buffer

Integration

Just share the .img file.

Solving

Author solution

  1. Identify the file system type of the .img: exFAT
  2. Mount it
  3. See there is a folder in a folder in a folder...
  4. See that all folders are numbers: int (hex) -> str (chr) gives a valid ASCII value
  5. Retrieve the complete path and transform it to ASCII text

In order to accomplish step 5 you will need to script because the path is way too long, so ls or general library filesystem helpers can't handle it. You have to take a bufferized approach.

solve.sh is automating steps 1. to 5.

Flag

sigsegv{noooo0000000oooo0000000000oooooooo000000000000000ooooooOOOOOOOOOOOOOOOOo_liimit!}

SigSegV2

A misc challenge that was available during SigSegV2 CTF (2019).

20 teams on 36 flaged this challenge.

sigsegv2.misc_4's People

Watchers

 avatar  avatar  avatar

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.