What is happening here? I am not very accustomed to open source yet. Edit: un-checking "show inline notes" helps. Edit 2: So if I understand correctly, OP tried to hack into a website... by submitting code to github. I was confused at first because that would have been (very) wrong way to "hack", but as it turns out, that is indeed true. And rest is about the code he/she used. It seems to be auto generated in some wy…
If you’re trying to hack/deface a website, don’t submit a pull request
31–40 of 114 posts
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#32Re: If you’re trying to hack/deface a website, don’t submit a pull request
#33This attempt is blatant and obvious, but what about a more serious attempt where you first establish some credibility with a couple of "good" PR that fix major problems and then add a tiny little backdoor that loads code from somewhere else. Distribute the relevant code over a couple of commits and you might just slip it in. With Githubs ease of merging and automatted testing by Travis, it's easy to forget that chang…
Spending months building trust while creating a giant trail of information that can be used to find you and then really pissing off the open-source community seems like a bad plan for someone that is attempting to quietly gain root. Might work if one project is attempting to discredit another project (think closed source vendor trying to steal clients who use opensourced github projects).
I'm not saying someone wont do it, I suspect it has been done a few times, but it is a dumb way to break into computers and far more work/risk than downloading metasploit and using a public exploit.
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#34Re: If you’re trying to hack/deface a website, don’t submit a pull request
#35Re: If you’re trying to hack/deface a website, don’t submit a pull request
#36But if I ever need a jury of my peers to audit my coding style to see how good it is, now I know what to do - a pretend-attempted-defacement is bound to be more effective than finding some place on the net to ask 'Is this proper idiomatic javascript?'.
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#37Earlier quoted context omitted.
Allow? They just released a feature that lets you drag and drop images into comments — it automatically uploads to s3 and inserts the URL in your comment. For some reason, they encourage it.
I assumed that was because of changes in Skitch. Everyone I know used to take screenshots with Skitch, upload them and Skitch would copy the URL into your clipboard and you could post into Github. But since Evernote bought them they closed things down and they're basically useless now, so I figured that was why Github was motivated to add this feature.
If there was ever an opportunity for a disruptive simple startup idea it would be to replicate what skitch did before evernote bought it and broke the original use case.
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#38Please GitHub, implement the evil bit [1] on pull requests so we can filter out defacing attempts when merging. [1] http://en.wikipedia.org/wiki/Evil_bit
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#39This attempt is blatant and obvious, but what about a more serious attempt where you first establish some credibility with a couple of "good" PR that fix major problems and then add a tiny little backdoor that loads code from somewhere else. Distribute the relevant code over a couple of commits and you might just slip it in. With Githubs ease of merging and automatted testing by Travis, it's easy to forget that chang…
Why not just find an exploit in the code. Spending months building trust while creating a giant trail of information that can be used to find you and then really pissing off the open-source community seems like a bad plan for someone that is attempting to quietly gain root. Might work if one project is attempting to discredit another project (think closed source vendor trying to steal clients who use opensourced gith…
You don't need to provide much information to get a github account, so the risk is not very much elevated.
Re: If you’re trying to hack/deface a website, don’t submit a pull request
#40can someone explain? (I am not familiar with github and the whole thing is cryptic to me)