GithubHelp home page GithubHelp logo

p0dalirius / mercurial-scm-extract Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 359 KB

A tool to extract and dump files of mercurial SCM exposed on a web server.

Home Page: https://podalirius.net/

Python 78.72% Dockerfile 14.60% Makefile 6.67%
exposed extract mercurial scm vulnerability web

mercurial-scm-extract's Introduction

A tool to extract and dump files of mercurial SCM exposed on a web server.
GitHub release (latest by date) YouTube Channel Subscribers

Features

  • Extracts files of mercurial SCM exposed on a web server.
  • Dump project files and .hg/ files locally.

Usage

$ ./mercurial-scm-extract.py -h
mercurial-scm-extract.py v1.1 - by @podalirius_

usage: mercurial-scm-extract.py [-h] -u URL -d DIR [-k] [-v]

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  Target URL.
  -d DIR, --dir DIR  Directory where to save dumped files.
  -k, --insecure     Allow insecure server connections when using SSL (default: False)
  -v, --verbose      Verbose mode. (default: False)

Example

Contributing

Pull requests are welcome. Feel free to open an issue if you want to add other features.

mercurial-scm-extract's People

Contributors

p0dalirius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mercurial-scm-extract's Issues

Add a default file : /.hg/store/requires

Hi,
During some tests with the tool, I noticed that the /.hg/store/requires file is not dumped by default. I added it manually in the script. I thought I'd let you know in case you want to add it.

missing_file

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.