Skip to content

Instantly share code, notes, and snippets.

@MShahine
MShahine / profile-hack.sh
Created August 7, 2020 12:33
Move This To Your Profile or .bashrc and reload the file and then Use this shortcuts And Happy Hunting
#----- AWS -------
s3ls(){
aws s3 ls s3://$1
}
s3cp(){
aws s3 cp $2 s3://$1
}
@MShahine
MShahine / ffufr.sh
Created August 7, 2020 12:28
ffuf Onle Liner
ffufr()
{
ffuf -c -w $1 -u http://$2/FUZZ -recursion
}
# Usage: ffufr /path/to/wordlist.txt target-domain.com
@MShahine
MShahine / recon-tip.txt
Created August 7, 2020 12:15
Recon Tip for : -Subdomain enumeration -Finding endpoints -Finding parameters
# Subdomain Enumeration
subfinder -d domain.com --silent | httprobe | tee -a subdomains.txt
amass enum --passive -d domain.com | httprobe | tee -a subdomains.txt
assetfinder -subs-only domain.com | httprobe | tee -a subdomains.txt
# Find Endpoints
cat subdomians.txt | waybackurls >> wayback.txt
cat subdomains.txt | hakrawler -depth 3 -plain >> spider.txt
@MShahine
MShahine / go-hack-tools.py
Last active November 23, 2020 13:04
In This File I Added Some Useful Tools Writing By The BEST Of Open-source Hackers. But First Check The GoSetup!
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# getthem.py
#
from os import system
lista = ['tomnomnom/gf', 'tomnomnom/meg', 'tomnomnom/assetfinder', 'tomnomnom/httprobe', 'tomnomnom/unfurl', 'tomnomnom/fff', 'tomnomnom/waybackurls', 'hiddengearz/jsubfinder', 'tomnomnom/anew', 'tomnomnom/qsreplace','dwisiswant0/unew', 'ffuf/ffuf' ,'OJ/gobuster', 'lc/gau', 'hakluke/hakrawler', 'hakluke/hakrevdns', 'hakluke/hakcheckurl', 'hakluke/haksecuritytxt', 'hakluke/haktldextract']
@MShahine
MShahine / Youtubd-dl.sh
Created August 5, 2020 10:36
This File Contain The Youtube-DL That Allows To Download Youtube Videos And The Feature Of It Is Get The Best Format And Download The File.
function ytd {
FORM=$(youtube-dl -F "$1" | grep "(best)")
DIM=$(echo $FORM | sed 's/^[0-9][0-9][0-9]*\s*//g' | sed 's/^[a-z0-9][a-z0-9]*\s*//g' | cut -d ' ' -f 1)
NUM=$(echo $FORM | cut -d ' ' -f 1)
printf "Dimensions are: $DIM\n"
youtube-dl -f $NUM "$1"
printf "$FORM" &> /tmp/log
}
@MShahine
MShahine / Web-App-Pentest.sh
Last active July 6, 2023 17:59
List Of Tools For Hackers And Pentesters . I Turn It To Bash Script So You Need [ git ] To Download All Of them . And Then Go To Eatch Folder And See What Can You Do To MAke It Work.
#!/bin/bash
# Web Application Pentest
clear
echo "[!] Don't Run It As Root Never [!]"
sleep 2
mkdir ~/Tools/Web-Application-Pentest
cd ~/Tools/Web-Application-Pentest
# --------------------------------- #
mkdir ~/Tools/Web-Application-Pentest/Domain-Finding-Enum
mkdir ~/Tools/Web-Application-Pentest/General-Recon
@MShahine
MShahine / after_install_ubuntu_18.04.sh
Last active May 9, 2020 01:28
Eatch Time I Install Ubuntu I Have To Do This
#!/bin/bash
clear
echo '[+] After Install Script. This Will Install The Following: '
echo '\n-> build-essential - chromium-browser - nmap - hydra - medusa - sqlmap - kazam - audacious - masscan'
echo '\n-> vlc - vim - SpaceVim - Spotify - telegramlient - sublime-text3 - git - wget - curl - python3.8 - golang'
echo '\n-< jq - twitch - PowerShell - JAVA8'
sudo apt -y install build-essential chromium-browser nmap sqlmap git wget curl kazam sqlmap hydra medusa audacious whatweb websploit jq python3.8 python3.8-dev telegram-desktop vim vlc masscan gnome-twitch python-pip python3-pip openjdk-8-jre-headless
echo '\n[!] Installing Sublime Text ... '
@MShahine
MShahine / LAMP.sh
Created May 8, 2020 16:42
Installation Of LAMP Server In Ubuntu
#!/bin/bash
# This Tool Is Aim Helping You Setup LAMP Server In Your System
# https://itstoss.blogspot.com/
# By MShahine1
clear
echo '[+] This Tool Is Maded For Automatization The LAMP INSTALATION'
sleep 2
clear
echo '[I] UPDATING SYSTEM ...'
sleep 2
@MShahine
MShahine / msf-auto-install.sh
Last active April 3, 2024 00:57
This Script Will Install Metasplloit-framework automatically .
sudo su
clear
echo '[!] Original Work Is By DARKOPERATOR '
echo '[+] Welcome To The MSF Installer Modified By MShahine [@MShahine1]'
echo '\n[+] Update And Upgrade The System For Installing MSF ... '
sudo apt-get update && sudo apt-get upgrade
echo '\n[+] install all the dependent packages that are needed by Metasploit Framework: '
sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev libyaml-dev curl zlib1g-dev gawk bison libffi-dev libgdbm-dev libncurses5-dev libtool sqlite3 libgmp-dev gnupg2 dirmngr nmap -y
#----------------------------------------------#
@MShahine
MShahine / PowerShell-setup.sh
Last active May 9, 2020 01:24
Install PowerShell 7 In Ubuntu 18.04
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of products
sudo apt-get update
# Enable the "universe" repositories