Skip to content

Instantly share code, notes, and snippets.

Karasu Karasuni

Block or report user

Report or block Karasuni

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Karasuni
Karasuni / .htaccess print all variables
Created Aug 28, 2017
Add to .htaccess to add all .htaccess variables to the header
View .htaccess print all variables
Header set X-Htaccess-Headers "API_VERSION: %{API_VERSION}e; AUTH_TYPE: %{AUTH_TYPE}e; CONTENT_LENGTH: %{CONTENT_LENGTH}e; CONTENT_TYPE: %{CONTENT_TYPE}e; DOCUMENT_ROOT: %{DOCUMENT_ROOT}e; GATEWAY_INTERFACE: %{GATEWAY_INTERFACE}e; IS_SUBREQ: %{IS_SUBREQ}e; ORIG_PATH_INFO: %{ORIG_PATH_INFO}e; ORIG_PATH_TRANSLATED: %{ORIG_PATH_TRANSLATED}e; ORIG_SCRIPT_FILENAME: %{ORIG_SCRIPT_FILENAME}e; ORIG_SCRIPT_NAME: %{ORIG_SCRIPT_NAME}e; PATH: %{PATH}e; PATH_INFO: %{PATH_INFO}e; PHP_SELF: %{PHP_SELF}e; QUERY_STRING: %{QUERY_STRING}e; REDIRECT_QUERY_STRING: %{REDIRECT_QUERY_STRING}e; REDIRECT_REMOTE_USER: %{REDIRECT_REMOTE_USER}e; REDIRECT_STATUS: %{REDIRECT_STATUS}e; REDIRECT_URL: %{REDIRECT_URL}e; REMOTE_ADDR: %{REMOTE_ADDR}e; REMOTE_HOST: %{REMOTE_HOST}e; REMOTE_IDENT: %{REMOTE_IDENT}e; REMOTE_PORT: %{REMOTE_PORT}e; REMOTE_USER: %{REMOTE_USER}e; REQUEST_FILENAME: %{REQUEST_FILENAME}e; REQUEST_METHOD: %{REQUEST_METHOD}e; REQUEST_TIME: %{REQUEST_TIME}e; REQUEST_URI: %{REQUEST_URI}e; SCRIPT_FILENAME: %{SCRIPT_FILENAME}e; S
@Karasuni
Karasuni / (1) Installing LibEvent
Last active Aug 31, 2017
Installing tmux locally from source
View (1) Installing LibEvent
git clone https://github.com/libevent/libevent ~/software/libevent_source
cd ~/software/libevent_source
./autogen.sh &&
./configure --prefix=$HOME/software/libevent/ &&
make -j12 &&
make install -j12
@Karasuni
Karasuni / 1. INTRODUCTION.md
Last active Mar 9, 2018
CyberSecurityChallenge CSCBE2018 CCCPatHome Network Security
View 1. INTRODUCTION.md

Introduction

This writeup covers my solution attempt for CSCBE2018's three Network Security challenges BLOCKSHARK (30), BLOCKSHARKNADO (90) and BLOCKSHARKNADO VS BLOCKSHARCOPUS (150). In essence each of these challenge revolve around the same concept but require you to incrementally understand more of how the setup works.

Writeup by Raven on the CCCPatHome team.

Links:

You can’t perform that action at this time.