I hereby claim:
- I am gram21 on github.
- I am gramarye (https://keybase.io/gramarye) on keybase.
- I have a public key ASDy0MWdIt7cGUouUXFMjpTXHbADgYf8F8snBTUdS13VZAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# util | |
alias c='clear' | |
alias r='source ~/.bashrc' | |
# ls aliases | |
alias l='ls' | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' |
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="gnzh" | |
# Texteditor and zshconfig aliases |
Socat-Version: | |
gdb socat -exec="set follow-fork-mode child" | |
r tcp-listen:4444,reuseaddr exec:./binary,PTY,raw,echo=0 | |
Ncat-Version | |
gdb ncat -exec="set follow-fork-mode child" | |
r -l 0.0.0.0 1234 -e ./binary |
r2repo="~/rand/radare2" | |
echo "Start updating and upgrading. This may take a while" | |
echo "****************************************************************" | |
echo "brew..." | |
brew update --verbose && brew upgrade && brew cleanup | |
echo "****************************************************************" | |
echo "pip..." | |
pip list --format=legacy --outdated | cut -d ' ' -f1 | xargs -n1 pip install -U | |
pip list --format=legacy --outdated | cut -d ' ' -f1 | xargs -n1 sudo -H pip install -U | |
echo "****************************************************************" |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import random | |
import user_functions | |
user = raw_input("Enter your name: ") | |
if not user_functions.exists(user): | |
# generate a code |
#!/usr/bin/env python | |
import random | |
from pwn import * | |
context.log_level = 'critical' | |
# nc 34.216.132.109 9094 | |
host = '34.216.132.109' |
########################################################## | |
########################################################## | |
####### ###### # ##### | |
# # # # # | |
# ### # ##### | |
# # # # # | |
##### # # ##### | |
########################################################## | |
########################################################## |
#!/usr/bin/env python | |
import re | |
h = open('secret.c') | |
lines = [ x[:-1] for x in h.readlines() ] # remove newline char | |
h.close() | |
flag = [] | |
for line in lines: | |
num =''.join(re.findall(r'\s+', line)).replace('\t','1').replace(' ','0') |
#!/usr/bin/env python | |
first_piece = '{ "typ": "JWT", "alg": "none" }' | |
our_xss = '<script>alert("xss")</script>' | |
second_piece = ''' | |
{ "username": "%s", | |
"flag": "IceCTF{hope you don\'t think this is a real flag}"}''' \ | |
% our_xss.replace('"','\\"') |