Skip to content

Instantly share code, notes, and snippets.

View terceranexus6's full-sized avatar
💻
at the office

Paula terceranexus6

💻
at the office
View GitHub Profile
@terceranexus6
terceranexus6 / radare-easy-install.sh
Created January 15, 2019 13:01
install radare easily
#!/bin/bash
BLUE='\033[0;36m'
RED='\033[0;31m'
PURPLE='\033[0;35m'
NC='\033[0m' # No Color
echo -e "${BLUE}Let's install radare. Please execute the configuration script before. For more information please visit https://www.radare.org/r/down.html${NC}"
echo -e "${BLUE}Getting the tar file${NC}"
wget https://github.com/radare/radare2/archive/3.2.1.tar.gz
@terceranexus6
terceranexus6 / suricata-install.sh
Created January 15, 2019 09:46
Easy setup for suricata
#!/bin/bash
BLUE='\033[0;36m'
RED='\033[0;31m'
PURPLE='\033[0;35m'
NC='\033[0m' # No Color
echo -e "${BLUE}Let's install suricata. Please execute the configuration script before.${NC}"
echo -e "${BLUE}Installing dependencies...${NC}"
sudo apt-get install wget build-essential libpcre3-dev libpcre3-dbg automake autoconf libtool libpcap-dev libnet1-dev libyaml-dev zlib1g-dev libcap-ng-dev libjansson-dev
@terceranexus6
terceranexus6 / security-starter-kit.sh
Last active January 15, 2019 13:00
Configure debian for basic security
#!/bin/bash
BLUE='\033[0;36m'
RED='\033[0;31m'
PURPLE='\033[0;35m'
NC='\033[0m' # No Color
FILE="/tmp/out.$$"
GREP="/bin/grep"
@terceranexus6
terceranexus6 / tls.sh
Last active June 26, 2022 18:57
Weak SSL/TLS tester for bash
#!/bin/bash
BLUE='\033[0;36m'
RED='\033[0;31m'
NC='\033[0m' # No Color
#based in OWASP wiki
if [[ -z "$1" || -z "$2" ]]; then
echo "./tls.sh host directory"
@terceranexus6
terceranexus6 / cascade.asm
Created November 11, 2016 23:07 — forked from RC1140/cascade.asm
Source code for the cascade virus
PAGE 62,132
TITLE _HLV_
SUBTTL Layout (C) 1990 164A12565AA18213165556D3125C4B962712
.RADIX 16
.LALL
TRUE EQU 1
FALSE EQU 0
MONTH EQU 9D
@terceranexus6
terceranexus6 / hamlet
Created September 11, 2016 09:13
hamlet
#!/bin/bash
L1="'This brief, my lord."
L2="Nor I, my lord, in faith."
L21="We have sworn, my lord, already."
L3="I hear him coming: let's withdraw, my lord."
L4="Wilt please you go, my lord?"
L5="What, my lord?"
LINE="."
exit1="exit"
@terceranexus6
terceranexus6 / hwriter
Created October 26, 2015 10:22
haiku writer for your dash. Just because you sometimes are inspired, and happen to be in the terminal.
#!/bin/bash
#by @terceranexus6
#this is a haiku writer
read -p"write firt line: " LINEA1
read -p"write second line: " LINEA2
read -p"write third line: " LINEA3
read -p"name of the haiku (add .txt): " NOMBRE
touch $NOMBRE