Add to ~/.gitconfig wherever you use Git.
[alias]
co = checkout
st = status
br = branch
lg = log --oneline --topo-order --graph --pretty=graph
Export (download) output full results from Spider | |
================================================= | |
Open your browser and point it at the address ZAP is listening on, default is localhost:8080 | |
On that page click the link which says "Local API" | |
On the next page click the "spider link" | |
On the next page click the "fullResults" link |
Undo the last commit that was pushed to origin | |
I tend to use this in conjunction with creating a new branch, GOTO 30 | |
WARNING: git reset --hard WILL DELETE YOUR WORKING DIRECTORY CHANGES. | |
Be sure to stash any local changes you want to keep before running these commands | |
$ git reset --hard HEAD~1 | |
HEAD~1 means the commit before head. |
#!/usr/bin/env python3 | |
# rot(num), 1-26 | |
import sys | |
num = int(sys.argv[1]) | |
decode_string = sys.argv[2] | |
def rot_alpha(n): |
#!/usr/bin/env python | |
import sys | |
# @_clayball | |
# A quick helper script for encoding and decoding hex. | |
# Use positional arguments | |
try: | |
action = sys.argv[1] |
import socket | |
def read_caesar(r): | |
key = 'abcdefghijklmnopqrstuvwxyz' | |
result = '' | |
for l in r: | |
try: | |
i = (key.index(l) - 3) % 26 | |
result += key[i] | |
except ValueError: |
import socket | |
HOST, PORT = "localhost", 1337 | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
for i in range(1, 101): | |
sock.sendto(str(i) + "\n", (HOST, PORT)) | |
response = sock.recv(1024) | |
print '[*] Sent: ' + str(i) + ', Response: ' + str(response) + '\n' |
# .bash_color | |
# For those people who want to add a little color to their life in Linux | |
# We also update the Linux prompt, PS1. | |
# | |
# Text colors.. no background color. Feel free to experiment! | |
# | |
# For more information: | |
# | |
# Bash colors: | |
# http://tldp.org/LDP/abs/html/colorizing.html |