Exploit databaseDownload repository ZIP
GH-1f6e853e1fe7dde4689acbc07658a4e7
adirasmadins/gitosx
Sources for CVE-2014-9390
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files14
adirasmadins/gitosxRevision 36c283e844cd
- UserScripts/
- assets/
- bin/
- disk-image/
- etc/
- tmp/
- .gitignore
- MIT-LICENSE
- Makefile
- README.md
- build_package_test_and_bundle.sh
- env.sh
- git-components.plist
- test_installer.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
env.sh
Shell · 472 bytes
CURRENT_GIT_VERSION=""
function current-git-version() {
if [ -z "$CURRENT_GIT_VERSION" ]; then
if [ "`uname`" == "Darwin" ]; then sed_regexp="-E"; else sed_regexp="-r"; fi
CURRENT_GIT_VERSION=$(curl -L http://git-scm.com/ 2>&1 | grep '<span class="version">' -A 1 | tail -n 1 | sed $sed_regexp 's/ *//')
fi
echo "$CURRENT_GIT_VERSION"
}
function do-make() {
make OSX_VERSION=${OSX_VERSION:-10.9} VERSION=${GIT_VERSION:-$(current-git-version)} "${@}"
}