Github Intentionally Lets You Read Deleted & Private Commits

  Рет қаралды 10,343

John Hammond

John Hammond

Күн бұрын

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
🔥KZbin ALGORITHM ➡ Like, Comment, & Subscribe!

Пікірлер: 50
@PwnySlaystation01
@PwnySlaystation01 Күн бұрын
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 Күн бұрын
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 Күн бұрын
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
@takennmc
@takennmc Күн бұрын
you could also clone the repo and filter any commit that is normally public so it doesn't hit the api always
@kaslmineer7999
@kaslmineer7999 Күн бұрын
3:36: [discord notfication sound]
@luketurner314
@luketurner314 23 сағат бұрын
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 7 сағат бұрын
3 of them this video lmfao
@TheMAZZTer
@TheMAZZTer Күн бұрын
The next question is does this work for DMCAed repos?
@bradley144
@bradley144 Күн бұрын
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 12 сағат бұрын
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
@HEXiT_
@HEXiT_ Күн бұрын
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 :(
@ParabolicLabs
@ParabolicLabs Күн бұрын
I always recommend hosting your own git server with SSH keys for auth specifically for private repos.
@MyRandomness987
@MyRandomness987 Күн бұрын
3 total discord sounds heard lol. Love your videos!
@austinmurphy9074
@austinmurphy9074 22 сағат бұрын
you gotta turn off your discord notification sounds when you record 😆
@MD101-ssh
@MD101-ssh Күн бұрын
dude, that's crazy.
@xanzut
@xanzut Сағат бұрын
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 Күн бұрын
concerning, indeed.
@austinmurphy9074
@austinmurphy9074 22 сағат бұрын
so if someone forks a public repo then makes it private, are those commits accessible from the public upstream one? 🤔
@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.
@alexanderw4714
@alexanderw4714 Күн бұрын
Is this related to github only? What's about Gitlab?
@jitxhere
@jitxhere Күн бұрын
Wow this is atleast P1 if not P0 level thing
@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 Күн бұрын
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 Күн бұрын
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 Күн бұрын
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 16 сағат бұрын
Bro is two months late
@adriantarver2229
@adriantarver2229 Күн бұрын
More like C4! 💥💥💥
@megatron324
@megatron324 Күн бұрын
her name is Amber.
@Abhinav-Dash05
@Abhinav-Dash05 Күн бұрын
Now i know why openai is now not interested in issuing api keys to me. Why github whyyyyyyy😢
@Apoplexy18
@Apoplexy18 22 сағат бұрын
WTF
@ThisIsJustADrillBit
@ThisIsJustADrillBit Күн бұрын
Oopsie 😂 what could go wrong 😅
@KLEOPATTRAA999
@KLEOPATTRAA999 3 сағат бұрын
🏦🏦🏦🏦🏦🏦🏦🏦🏦👌😏🤗🙌🙌🙌🙌🙌🙌🙌 Thank you Thank you my friend and well wisher Hare Krsna Allah!!!
@pphreak_1001
@pphreak_1001 Күн бұрын
Interesting 👌
@codecaine
@codecaine Күн бұрын
REAL Ransomware Chat Logs
27:56
John Hammond
Рет қаралды 15 М.
Where Does Malware Go On Your Computer?
12:21
John Hammond
Рет қаралды 47 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Top 10 Powerfull Hacking Tools in Kali Linux to Hack Anything
9:50
Cyber House yt
Рет қаралды 3 М.
41% Increased Bugs With Copilot
29:54
ThePrimeTime
Рет қаралды 72 М.
People said this experiment was impossible, so I tried it
34:49
Veritasium
Рет қаралды 4,2 МЛН
How to INSTALL World Most Anonymous OS? (My 60- Day Experiment)
10:15
Cyber House yt
Рет қаралды 15 М.
Math News: The Bunkbed conjecture was just disproven!!!!!!!
14:59
Dr. Trefor Bazett
Рет қаралды 42 М.
They Say This Malware is INSANE
51:48
John Hammond
Рет қаралды 39 М.
How to Keep Unfair Fights Interesting
18:49
Squampopulous
Рет қаралды 172 М.
Absolute Batman: The Most Brutal Batman Ever
24:09
Comics Explained
Рет қаралды 130 М.