- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
#!/bin/sh | |
# To the extent possible under law, Viktor Szakats | |
# has waived all copyright and related or neighboring rights to this | |
# script. | |
# CC0 - https://creativecommons.org/publicdomain/zero/1.0/ | |
# SPDX-License-Identifier: CC0-1.0 | |
# shellcheck disable=SC3040,SC2039 | |
set -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o pipefail |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
/* MIT License | |
* | |
* Copyright (c) 2017 Roland Singer [[email protected]] | |
* | |
* 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: |
#!/bin/sh | |
# From patchwork.freedesktop.org/.../ | |
# and en.community.dell.com/.../19985320 | |
# /lib/systemd/system-sleep/fixbacklight | |
# Suspend Resume fails to restore PWM_GRANUALITY | |
# Based on script by [email protected] | |
INTEL_REG=/usr/bin/intel_reg | |
ADDR="0x000c2000" | |
SAVE_FILE=/var/lib/systemd/save_intel_reg_pwm_granuality |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
pipeline { | |
agent { | |
// "node" is a new agent type that works the same as "label" but allows | |
// additional parameters, such as "customWorkspace" below. | |
node { | |
label "some-label" | |
// This is equivalent to the "ws(...)" step - sets the workspace on the | |
// agent to a hard-coded path. If it's not an absolute path, it'll be | |
// relative to the agent's workspace root. | |
customWorkspace "/use/this/path/instead" |
package main | |
import ( | |
"crypto/ed25519" | |
"crypto/rand" | |
"crypto/tls" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"fmt" | |
"math/big" |
{ | |
"mycookbook": { | |
"attribute1": "${attribute1}", | |
"attribute2": "${attribute2}" | |
}, | |
"run_list": [ | |
"recipe[${recipe}]" | |
] | |
} |
/* | |
Package fan is a little concurrent io experiment. | |
Example Use Case | |
---------------- | |
You have a function that takes a single io.Reader as an argument. You would like | |
to pass that reader to several processing functions. You could just make the | |
function accept an io.ReadSeeker, invoke each function serially in a for loop, | |
seeking after each call. But that's not cool. |
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