This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install docker | |
``` | |
sudo apt-get update | |
sudo apt-get install ca-certificates curl | |
sudo install -m 0755 -d /etc/apt/keyrings | |
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
sudo chmod a+r /etc/apt/keyrings/docker.asc | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from http.server import SimpleHTTPRequestHandler | |
from socketserver import TCPServer | |
from urllib.parse import unquote, urlparse | |
from websocket import create_connection | |
# check it out : https://github.com/rayhan0x01/rayhan0x01.github.io/blob/gh-pages/_posts/2021-04-02-blind-sqli-over-websocket-automation.md | |
# How to use : python3 mitm_websocket.py ws://localhost:8156/ws then run `http://localhost:8081/?id=1" --batch --dbs` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y install git build-essential libssl-dev zlib1g-dev | |
sudo apt-get -y install yasm pkg-config libgmp-dev libpcap-dev libbz2-dev | |
git clone https://github.com/openwall/john -b bleeding-jumbo john | |
cd ~/john/src | |
./configure | |
make -s clean | |
make -sj4 |