Skip to content

Instantly share code, notes, and snippets.

View srixivas's full-sized avatar
🏗️
Fixing

Srinivas (5r1) Piskala srixivas

🏗️
Fixing
View GitHub Profile
@srixivas
srixivas / falco_issue683_helpers.txt
Last active August 1, 2019 01:00
Falco Issue #683 Helpers
# Files here help to reproduce issue 683 in Falco Project
* https://github.com/falcosecurity/falco/issues/683
@srixivas
srixivas / pbkdf.rb
Created October 3, 2018 20:10
pbkdf example for reference
# Reference: https://ruby-doc.org/stdlib-2.0.0/libdoc/openssl/rdoc/OpenSSL/PKCS5.html
require "openssl"
# Hashing
def hash(pass, salt, iter, len, hash)
value = OpenSSL::PKCS5.pbkdf2_hmac(pass, salt, iter, len, hash)
return value
end
@srixivas
srixivas / pwnFrame.py
Last active July 30, 2020 06:28
🏁 CTF Helpers ==> Pwn code frame for an easy start at remote server interaction/ pwning/ reverse engineering
# Helpers for Capture the flag to breeze through the ground work
# - Updating Ctf helper gists to have a fun ctf and reuse some basic ground work
# - For use in Binary exploitation/ Reverse engineering / Pwning / Remote server Interaction
# - "Usage: ./client.py [IP] [Port] [output_key_to_read_until]"
# - output_key_to_read_until ==> ">" or ":" or "?" or "$"
#
import sys
try:
from pwn import *
@srixivas
srixivas / RedTeamPythonDockerfile
Last active September 18, 2018 22:14
🔴RedTeam Helpers ==> Python Container
# A Dockerfile for use in pythonic container activity
# - Using kali docker for more provisions
# - Prereq:
# - Make sure the directory where the dockerfile exists contains
# - python script - <name>.py
# - Requirements file - requirements.txt
# - Run python in interactive mode to look at the output once it is built
# Eg: Build --> docker build -t <image_name> .
# Eg: Run --> docker run -it <image_name> <argument to the python file>
#