Skip to content

Instantly share code, notes, and snippets.

@beckler
beckler / deploy.sh
Created February 21, 2019 16:29
Easy hugo deploy to github pages
#!/bin/bash
echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"
# build the project -> outputs to public folder
hugo --minify --buildFuture
# commit the public folder
git add public && git commit -m "Update content"
import 'package:flutter/material.dart';
class BottomNavBarPage extends StatefulWidget {
BottomNavBarPage({Key key}) : super(key: key);
@override
_BottomNavBarPageState createState() => new _BottomNavBarPageState();
}
class _BottomNavBarPageState extends State<BottomNavBarPage> {
@beckler
beckler / github_bugbountyhunting.md
Created October 8, 2017 02:21 — forked from EdOverflow/github_bugbountyhunting.md
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

Keybase proof

I hereby claim:

  • I am beckler on github.
  • I am beckler (https://keybase.io/beckler) on keybase.
  • I have a public key whose fingerprint is B52C 77ED 7E12 E007 B421 510E AF74 1E43 4967 6FEF

To claim this, I am signing this object: