Giter VIP home page Giter VIP logo

ayfabtu's People

Stargazers

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

Watchers

 avatar  avatar

ayfabtu's Issues

diff fails with IndexError

Getting this error:

$ ./git-grab  --url http://dvwa.test/pta/ --outdir /tmp/pta/ diff django_web_app/django_web_app/settings.py 0 1
Traceback (most recent call last):
  File "./git-grab", line 336, in <module>
    first=entry["ids"][vers2][0:2]
IndexError: list index out of range

Directory indexing isn't enabled on the server if that matters.

There are differences:

$ git log -p django_web_app/django_web_app/settings.py

commit bc616d230f921999b8e968011a98cf7087dfe104 (HEAD -> master, code-refactor)
Author: Steven R <[email protected]>
Date:   Sat Aug 15 03:08:52 2020 +0530

    Flag is removed now :)

diff --git a/django_web_app/django_web_app/settings.py b/django_web_app/django_web_app/settings.py
index 826395d..e571331 100644
--- a/django_web_app/django_web_app/settings.py
+++ b/django_web_app/django_web_app/settings.py
@@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 # See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
 
 # SECURITY WARNING: keep the secret key used in production secret!
-SECRET_KEY = 'xxx'
+SECRET_KEY = '[ REDACTED ]'^M

Discover gives no response on the file either:

$ ./git-grab  --url http://dvwa.test/pta/ --outdir /tmp/pta/ discover django_web_app/django_web_app/settings.py 

I can send you the repo if you need it.

feature request - branches list for git-grab

Add a command to show the branches.

Been told we used to be able to pull it out of the master file with the broken name, now that is gone we can't. There are some references in .git/logs/HEAD but that may not be all of them.

odd filename logged

Don't know if this is deliberate or not, but you create this oddly named file with the discover call:

./dvwa.test/pta/pta/.git/refs/heads:
total 12
drwxrwxr-x 2 robin robin 4096 Oct 20 21:53  .
drwxrwxr-x 3 robin robin 4096 Oct 20 21:53  ..
-rw-rw-r-- 1 robin robin   41 Oct 20 21:53 'master'$'\n'

Is it supposed to be named like that?

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.