Github Intentionally Lets You Read Deleted & Private Commits

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • jh.live/snyk || Try Snyk for free and find vulnerabilities in your code and applications! ➡ jh.live/snyk
    Learn Cybersecurity - Name Your Price Training with John Hammond: nameyourpricet...
    Learn Coding: jh.live/codecr...
    Don't listen to other "influencer" VPN crap -- host YOUR OWN: jh.live/openvpn
    WATCH MORE:
    Dark Web & Cybercrime Investigations: • Tracking Cybercrime on...
    Malware & Hacker Tradecraft: • Malware Analysis & Thr...
    📧JOIN MY NEWSLETTER ➡ jh.live/email
    🙏SUPPORT THE CHANNEL ➡ jh.live/patreon
    🤝 SPONSOR THE CHANNEL ➡ jh.live/sponsor
    🌎FOLLOW ME EVERYWHERE ➡ jh.live/twitter ↔ jh.live/linkedin ↔ jh.live/discord ↔ jh.live/instagram ↔ jh.live/tiktok
    💥 SEND ME MALWARE ➡ jh.live/malware
    🔥RUclips ALGORITHM ➡ Like, Comment, & Subscribe!

Комментарии • 50

  • @PwnySlaystation01
    @PwnySlaystation01 День назад +25

    I wonder what the implications to the DMCA this has. Example: I fork a major public repo and commit copyrighted code/writing to my forked copy... Say I commit the first Harry Potter novel.. My repo gets hit with a DMCA takedown request, so it gets deleted (because legally, it has to be). Now I can just post the hash and anyone can visit it? I ASSUME github can manually delete the commit "for real" in a case like this, but I'm curious. It'd have to be removed from the parent repo right? And other forks?

    • @amunak_
      @amunak_ День назад

      When a repo gets hit with a DMCA it disappears all its forks too iirc.

    • @FranLegon
      @FranLegon День назад +5

      That's a nice exploit you're suggesting

    • @wizix9877
      @wizix9877 День назад

      was thinking the same thing but with distributing files, or kill switch in case of c2

  • @asksearchknock
    @asksearchknock День назад +29

    Github security is totally forked 😂

    • @fruitloop831
      @fruitloop831 День назад

      😂 I know right, good content, shite info IMO

    • @tpevers1048
      @tpevers1048 День назад

      Na ahh they are fixing it stop telling this to everyone😢

    • @fruitloop831
      @fruitloop831 День назад

      @@tpevers1048 fixing? this has been easy to do for years the only reason they "fixing" it is cos of the attention it is getting. You really think it's going to be fixed you're kidding ya self

  • @kaslmineer7999
    @kaslmineer7999 День назад +14

    3:36: [discord notfication sound]

    • @luketurner314
      @luketurner314 День назад

      I legit thought it was my discord, but since I couldn't find any evidence there I replayed that bit of the video to confirm. lol

    • @CrittingOut
      @CrittingOut 10 часов назад

      3 of them this video lmfao

  • @takennmc
    @takennmc День назад +1

    you could also clone the repo and filter any commit that is normally public so it doesn't hit the api always

  • @TheMAZZTer
    @TheMAZZTer День назад +6

    The next question is does this work for DMCAed repos?

    • @bradley144
      @bradley144 День назад +1

      If you know the commit hash, then yes.

  • @logiciananimal
    @logiciananimal День назад

    GitHub could be much more proactive with the rate limiting in various ways, thus lowering the risk of discovery. This is also a "can I find a way to steal *that* car" vs. "can I find a way to steal *a* car" situation, which is context dependent.

    • @guiorgy
      @guiorgy 15 часов назад

      It's a cat and mouse game. If there's a rate limit on each ip, just get a couple of systems, maybe rent them, and increase the scanning speed that way

  • @ParabolicLabs
    @ParabolicLabs День назад +5

    I always recommend hosting your own git server with SSH keys for auth specifically for private repos.

  • @MyRandomness987
    @MyRandomness987 День назад +1

    3 total discord sounds heard lol. Love your videos!

  • @MD101-ssh
    @MD101-ssh День назад +1

    dude, that's crazy.

  • @austinmurphy9074
    @austinmurphy9074 День назад +1

    you gotta turn off your discord notification sounds when you record 😆

  • @HEXiT_
    @HEXiT_ День назад +3

    this is common. you delete something and it doesnt get deleted. just your access to it is removed.
    meta and google both do the same too :(

    • @badura.develop
      @badura.develop Час назад

      It's called soft delete, try to learn a thing or 2 about it, and you'll learn why most of companies are doing it.

  • @xanzut
    @xanzut 3 часа назад

    So if you somehow found a sensitive information from some company in github, you can fork the repo, and still can access the information even the original repo is deleted 😂their IT security would cry for this

  • @mingxi1055
    @mingxi1055 День назад +5

    concerning, indeed.

  • @austinmurphy9074
    @austinmurphy9074 День назад

    so if someone forks a public repo then makes it private, are those commits accessible from the public upstream one? 🤔

  • @alexanderw4714
    @alexanderw4714 День назад +1

    Is this related to github only? What's about Gitlab?

  • @icebice
    @icebice День назад

    SHA1 isn't actually long so brute forcing a repo with X amounts of proxies/VPN is still viable and there are a lot of VPN and proxies available on the internet 😅
    Yeah it'll be slow but it will in the end successfully gain access to viable data.

  • @Randy-nb6fw
    @Randy-nb6fw День назад

    would it be possible to use google dorking to find these or would they not really be picked up??

    • @Randy-nb6fw
      @Randy-nb6fw День назад

      just tried but could only find people talking about related issues, POC code and people talking about it lol.
      maybe somebody else might have better luck

  • @planixxx
    @planixxx День назад

    Why not count from 0 to 65535 in hexadecimal it will be between 0x0000 FFFF which will include the whole range. am i missing something here ?

    • @Darius1013
      @Darius1013 День назад

      This is exactly what Itertools.Product() does, but instead:
      0x0000
      0x0001
      ...
      0xfff
      you will get (if used with JH sequence):
      0xaaaa
      0xaaab
      ...
      0xaaa1
      0xaaa2
      ..
      0xfff0
      ..
      0xffff
      if you want 0000 to ffff, initial chars = '0123456789abcdef'.. Ok, performance wise maybe hex+1 is faster, but it's so minimal difference.. Slowest operation here is request, and if you want flexibility (like you know initial hash for sure not have 0 in it) Itertools is way better

    • @Darius1013
      @Darius1013 День назад

      Dam, you made me look.. on 4 chars there is no difference, results in both cases comes in like 0.005s.. But if we increase it to 6 chars, hex+1 is ~20% faster, but again we are talking like 2.5s vs 2s for generation (these results using online compiler, so on real pc they probably are even lower)

  • @SmilerRyanYT
    @SmilerRyanYT День назад +2

    So just to make sure i'm understanding this correctly, if someone forks a public repo for themselves, makes it private, edits some stuff and deletes it, the original repo can still see that as long as you know the git commit hash?

    • @zacadoole1
      @zacadoole1 День назад +1

      I don’t think you can technically make a private fork of a public repo, they won’t let you

    • @SmilerRyanYT
      @SmilerRyanYT День назад

      @@zacadoole1 Seems like you're right. you can only fork them publicly and can't edit them to be private once they're made so that's good to know.

  • @fruitloop831
    @fruitloop831 День назад +2

    Yer this is old news, but should be mentioned/referenced on the page

  • @TomCopeProductions
    @TomCopeProductions День назад

    If you are going to shill other people's work please link it in the description, it's the least you can do

  • @Linda-n7v
    @Linda-n7v День назад

    😮 ✋️ I have so much to learn. 😊 ty

  • @thripnixe
    @thripnixe 18 часов назад

    Bro is two months late

  • @adriantarver2229
    @adriantarver2229 День назад

    More like C4! 💥💥💥

  • @megatron324
    @megatron324 День назад

    her name is Amber.

  • @jitxhere
    @jitxhere День назад +1

    Wow this is atleast P1 if not P0 level thing

  • @Abhinav-Dash05
    @Abhinav-Dash05 День назад

    Now i know why openai is now not interested in issuing api keys to me. Why github whyyyyyyy😢

  • @Apoplexy18
    @Apoplexy18 День назад

    WTF

  • @ThisIsJustADrillBit
    @ThisIsJustADrillBit День назад +2

    Oopsie 😂 what could go wrong 😅

  • @KLEOPATTRAA999
    @KLEOPATTRAA999 5 часов назад

    🏦🏦🏦🏦🏦🏦🏦🏦🏦👌😏🤗🙌🙌🙌🙌🙌🙌🙌 Thank you Thank you my friend and well wisher Hare Krsna Allah!!!

  • @pphreak_1001
    @pphreak_1001 День назад

    Interesting 👌

  • @codecaine
    @codecaine День назад