Giter Site home page Giter Site logo

hide-me-py's Introduction

Hide a file .py

I've been playing some OverTheWire wargames lately, and in one lvl you have to find a hidden file in a bunch of subdirectories, this script trys to do something similar.

Disclaimer (Before running it)

IT WILL CREATE 100 FILES WITH THE SAME SIZE OF THE INPUT ONE !!! Just tryed it on mac.

How it works

Run:

python ./-.py cat.jpg

And it will generate a folder structure like the following (everything is random duh):

/output-79422d0db46e82e328ea
    /2fc01817aa0e5c095660
    /544133cd8f2fd1df1eed
        01401a3f88c495249151.gz
        1143ad9b383a1616a2cd.gz
        256fb5d5a8ab107b53bd.gz  <---- YOUR FILE
        2715debcd83439899d11.gz
        527f83c62aff8ce60182.gz
        6721ff331fe5e01c10b1.gz
        7953a3de5cc046584e17.gz
        9c0b2e3c3d6c5fe2ad03.gz
        dccd69cfc569ccc0e1ea.gz
        f20b637e79f8b2e4718b.gz
    /756fdf60e577c74b7048
    /9f0c6dbfea847168453b
    /a3c5345bf849f0aae6a1
    /a59bff232e2b0a0dbe57
    /ccc90145f797479fb4b6
    /ce764c30349d75f4101d
    /dc7ebcdff5684aaf3e75
    /e124664d555cb875493e

When the script ends it tells you where your file is:

Your file is now under output-79422d0db46e82e328ea/544133cd8f2fd1df1eed/256fb5d5a8ab107b53bd.gz

hide-me-py's People

Contributors

ciurana2016 avatar

Watchers

James Cloos 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.