Skip to content

Instantly share code, notes, and snippets.

View r4ulcl's full-sized avatar

r4ulcl r4ulcl

View GitHub Profile
@r4ulcl
r4ulcl / pcapFilter.sh
Last active July 6, 2024 15:59
Ttshark filter script to get WPA-EAP Identities, EAP certs, HTTP passwords, Handshakes, DNS queries, NBTNS queries and LLMNR queries. Reading a file or a folder
#!/bin/bash
#author : Raul Calvo Laorden (me@r4ulcl.com)
#description : Script to get WPA-EAP Identities, EAP certs, HTTP passwords, Handshakes, DNS queries, NBTNS queries and LLMNR queries
#date : 2021-06-24
#usage : bash pcapFilter.sh -f <pcap/folder> [options]
#-----------------------------------------------------------------------------------------------------------
red=`tput setaf 1`
green=`tput setaf 2`
@r4ulcl
r4ulcl / scriptWP.sh
Created June 24, 2019 14:43
Find WordPress Version and Default files.
if [ "$#" -ne 1 ]; then
echo "Illegal number of parameters"
exit 1
fi
URL=$1
DefFolder="/wp-admin/ /wp-includes/ /wp-content/ /wp-update/ /feed/ /comments/feed/"
DefFile="/robots.txt /sitemap.xml /wp-includes/version.php /wp-login.php?action=register /wp-includes/cache.php /wp-config.php /wp-login.php /xmlrpc.php /wp-cron.php /version.php"
DefFileV="/readme.html /license.txt /feed/ /comments/feed/ /wp-includes/version.php /wp-links-opml.php /feed/rdf/ /feed/atom/"
@r4ulcl
r4ulcl / torrentScript.sh
Last active January 17, 2019 10:09
Script en bash utilizando transmission para obtener IPs descargando un fichero torrent
#!/bin/bash
#author : Raul Calvo Laorden (raulcalvolaorden@gmail.com)
#description : Script en bash utilizando transmission para obtener IPs descargando un fichero torrent
#date : 2018-04-30
#usage : bash torrentScript.sh [options]
#-----------------------------------------------------------------------------------------------------------
trap ctrl_c INT
@r4ulcl
r4ulcl / inicioAirmon.sh
Created April 25, 2018 21:07
Inicia captura automaticamente en la interfaz con mac X
#!/bin/bash
#!/bin/bash
### BEGIN INIT INFO
# Provides: Raul Calvo
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Inicia captura automaticamente en la interfaz con mac x
# Description:
@r4ulcl
r4ulcl / torrentDaemon.sh
Last active December 23, 2021 16:34
Script that downloads files with Transmission and saves all peers in a sqlite3 database.
#!/bin/bash
#author : Raul Calvo Laorden (raulcalvolaorden@gmail.com)
#description : Script that downloads files with Transmission and saves all peers in a sqlite3 database.
#date : 2018-03-26
#usage : bash torrentDaemon.sh [options]
#-----------------------------------------------------------------------------------------------------------
PCENTMAX=8 #8% max
@r4ulcl
r4ulcl / escanerRed.sh
Last active March 25, 2018 10:18
Script que escanea una red para descubrir hosts y servicios.
#!/bin/bash
### BEGIN INIT INFO
# Provides: Raul Calvo Laorden
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Script that scans the network to discover hosts and services on a computer network.
# Description: Script that scans the network to discover hosts and services on a computer network.