Skip to content

Instantly share code, notes, and snippets.

View meets2tarun's full-sized avatar
💭
sucode

Tarun Kumar meets2tarun

💭
sucode
  • Indian Institute of Technology Patna
  • Gonda, Uttar Pradesh, India
View GitHub Profile
@pallavagarwal07
pallavagarwal07 / auth.sh
Last active November 5, 2020 16:08
IITK firewall authentication script that uses nothing except for curl. It is possible to specify an interface manually (for compatibility with some unix systems). In case the user is already logged in, it can even force a logout to get the authentication page.
#!/bin/sh -eu
# Copyright 2017 Pallav Agarwal
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
@EdOverflow
EdOverflow / github_bugbountyhunting.md
Last active April 20, 2024 01:36
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