Skip to content

Instantly share code, notes, and snippets.

View gonzalovazquez's full-sized avatar
💭
Focusing on GraphQL

Gonzalo Vazquez gonzalovazquez

💭
Focusing on GraphQL
View GitHub Profile
@gonzalovazquez
gonzalovazquez / connect.js
Last active December 10, 2016 09:40
NodeJS connection to MongoDB
var databaseUrl = "mongolaburl"; // "username:[email protected]/mydb"
var collections = ["Persons"];
var db = require("mongojs").connect(databaseUrl, collections);
//Find a Person
db.Persons.find({sex: "male"}, function(err, users) {
if( err || !users) console.log("No male users found");
else users.forEach( function(maleUser) {
console.log(maleUser);
} );
@staltz
staltz / introrx.md
Last active November 19, 2024 13:42
The introduction to Reactive Programming you've been missing
@parmentf
parmentf / GitCommitEmoji.md
Last active November 17, 2024 19:13
Git Commit message Emoji
@tomysmile
tomysmile / mac-setup-redis.md
Last active October 31, 2024 21:46
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@EdOverflow
EdOverflow / github_bugbountyhunting.md
Last active November 8, 2024 20:13
My tips for finding security issues in GitHub projects.

GitHub for Bug Bounty Hunters

GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.

Mass Cloning

You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.

$ python githubcloner.py --org organization -o /tmp/output
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active November 19, 2024 13:30
Building a react native app in WSL2