Tiago Pedrosa @IPB.PT
RAM 4GB+ CPU 2+ HD 100GB
RAM 4GB+ CPU 2+ HD 100GB
Labtainers provide controlled and consistent execution environments in which students perform labs entirely within the confines of their computer, regardless of the Linux distribution and packages installed on the student's computer or VM. The only requirement is that the Linux system supports Docker.[1]
#!/bin/sh | |
# Copyright 2015 Brent Longborough | |
# Part of gitinfo2 package Version 2 | |
# Release 2.0.7 2015-11-22 | |
# Please read gitinfo2.pdf for licencing and other details | |
# ----------------------------------------------------- | |
# Post-{commit,checkout,merge} hook for the gitinfo2 package | |
# | |
# Get the first tag found in the history from the current HEAD | |
FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null) |
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.
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
--- | |
- hosts: all | |
vars: | |
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com | |
ubuntu_common_deploy_user_name: deploy | |
ubuntu_common_deploy_public_keys: | |
- ~/.ssh/id_rsa.pub |
#!/usr/bin/python | |
''' Not my script, found on the Internet, and rediscovered on my hard drive | |
''' | |
import sys | |
def cidr_to_regex(cidr): | |
ip, prefix = cidr.split('/') | |
base = 0 | |
for val in map(int, ip.split('.')): |
I hereby claim:
To claim this, I am signing this object: