This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Files here help to reproduce issue 683 in Falco Project | |
| * https://github.com/falcosecurity/falco/issues/683 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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> | |
| # |