Categories: Kali Linux

Rebel Framework : Penetration Testing Framework

Rebel framework is an advanced and easy to use penetration testing framework.

Start

git clone https://github.com/rebellionil/rebel-framework.git
cd rebel-framework
bash setup.sh
bash rebel.sh

Modules

Screenshots

Demos

Supported Distributions

DistributionVersion CheckSupportedDependencies
already installed
Status
Kali Linux4.4.0yesyesworking
Parrot OS4.14.0yesyesworking

Also Read – SysAnalyzer : Automated Malcode Analysis System

PORT YOUR OWN TOOLS TO REBEL !

scan.py

─[root@parrot]─[~]
└──╼ #python scan.py -h
-h –help print usage
usage ./scan.py

controller.sh sample

!/bin/bash

normal=’\e[0m’
arr[0]=’\e[1;94m’ ; blue=${arr[0]}
arr[1]=’\e[1;31m’ ; red=${arr[1]}
arr[2]=’\e[1;33m’ ; yellow=${arr[2]}
arr[3]=’\e[1;35m’ ; purp=${arr[3]}
arr[4]=’\e[1;32m’ ; green=${arr[4]}
arr[5]=’\e[97m’ ; white=${arr[5]}
grayterm=’\e[1;40m’
module=$(echo $1 | cut -d ‘/’ -f 2 )

if [[ $module != “scan” ]] ; then
echo -e “${red}[x] Wrong module name”
exit
fi

misc(){
if [[ $1 == “back” ]] || [[ $1 == “exit” ]] || [[ $1 == “quit” ]] ; then
exit
elif [[ $1 == ‘!’ ]] ; then
$2
elif [[ $1 == “clear” ]] || [[ $1 == “reset” ]] ; then
clear
elif [[ $1 == “help” ]] || [[ $1 == “?” ]] ; then
bash print_help_modules.sh help
elif [[ $1 == “banner” ]] ; then
rand=”$[ $RANDOM % 6 ]”
color=”${arr[$rand]}” # select random color
echo -e $color
python print_banner.py
elif [[ $1 == “” ]] ; then
:
else
echo -e “${purp}[-] Invalid parameter use show ‘help’ for more information”
fi
}
target=”site.com”

while IFS= read -e -p “$( echo -e $white ; echo -e ${grayterm}{REBEL}➤[${white}$1]~#${normal} ) ” cmd1 ; do
history -s “$cmd1”
if [[ ${1} =~ ‘re/’ ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == “show” ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “options” ]] ; then
{
echo -e ” Option\t\t\t\t|Value”
echo -e ” ======\t\t\t\t|=====”
echo -e ” target\t\t\t\t|$target”
} | column -t -s “|”
elif [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “modules” ]] ; then
bash print_help_modules.sh modules
elif [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “help” ]] ; then
bash print_help_modules.sh help
fi
elif [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == ‘set’ ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == ‘target’ ]] ; then
target=$( echo $cmd1 | cut -d ” ” -f 3- | sed “s/’//g”)
fi
elif [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == ‘run’ ]] ; then
python scan.py $target
else
misc $cmd1
fi
fi
done

if [[ $module != “scan” ]] ; then
echo -e “${red}[x] Wrong module name”
exit
fi

misc(){
if [[ $1 == “back” ]] || [[ $1 == “exit” ]] || [[ $1 == “quit” ]] ; then
exit
elif [[ $1 == ‘!’ ]] ; then
$2
elif [[ $1 == “clear” ]] || [[ $1 == “reset” ]] ; then
clear
elif [[ $1 == “help” ]] || [[ $1 == “?” ]] ; then
bash print_help_modules.sh help
elif [[ $1 == “banner” ]] ; then
rand=”$[ $RANDOM % 6 ]”
color=”${arr[$rand]}” # select random color
echo -e $color
python print_banner.py
elif [[ $1 == “” ]] ; then
:
else
echo -e “${purp}[-] Invalid parameter use show ‘help’ for more information”
fi
}
target=”site.com”

while IFS= read -e -p “$( echo -e $white ; echo -e ${grayterm}{REBEL}➤[${white}$1]~#${normal} ) ” cmd1 ; do
history -s “$cmd1”
if [[ ${1} =~ ‘re/’ ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == “show” ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “options” ]] ; then
{
echo -e ” Option\t\t\t\t|Value”
echo -e ” ======\t\t\t\t|=====”
echo -e ” target\t\t\t\t|$target”
} | column -t -s “|”
elif [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “modules” ]] ; then
bash print_help_modules.sh modules
elif [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == “help” ]] ; then
bash print_help_modules.sh help
fi
elif [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == ‘set’ ]] ; then
if [[ $( echo $cmd1 | cut -d ” ” -f 2 ) == ‘target’ ]] ; then
target=$( echo $cmd1 | cut -d ” ” -f 3- | sed “s/’//g”)
fi
elif [[ $( echo $cmd1 | cut -d ” ” -f 1 ) == ‘run’ ]] ; then
python scan.py $target
else
misc $cmd1
fi
fi
done

R K

Recent Posts

Configure a Static IP Address on Ubuntu 18.04: Netplan Guide

Setting a static IP address on your server is a smart move. It ensures your…

5 hours ago

Install Xrdp on Ubuntu 18.04: Remote Desktop Setup Guide

Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP). It lets you access…

5 hours ago

Add and Delete Users on Ubuntu 18.04: A Practical Guide

Managing user accounts is one of the most basic system administration tasks on any Linux…

5 hours ago

Install Wine on Ubuntu 18.04: Run Windows Apps on Linux

Wine (short for "Wine Is Not an Emulator") is a compatibility layer that lets you run…

5 hours ago

Install KVM on Ubuntu 18.04: Setup, Network, and Create VMs

KVM (Kernel-based Virtual Machine) is an open-source virtualization technology built into the Linux kernel. It lets…

5 hours ago

Upgrade to Ubuntu 20.04 LTS: Prepare, Update, and Confirm

Ubuntu 20.04 LTS (code name Focal Fossa) was released on April 23, 2020. It is a…

1 day ago