Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [ "$#" -lt 1 ] || [ "$#" -gt 3 ]
then
echo "Usage: ./bypass.sh [OPTIONS] http://url/path/"
echo "OPTIONS:"
echo " -c Return curl command if response is 200"
echo " -r Allow redirection if response is 3XX"
exit
fi
@zPrototype
zPrototype / tmux.conf
Last active July 5, 2023 10:15
Lean tux conf
### Keybinds
###
# remap prefix from 'Ctrl-b' to 'M'
unbind C-b
set -g prefix C-s
bind C-s send-prefix
# remap splitting panes
unbind '%'
#include <iostream> // cin, cout, endl
#include <string> // string
using namespace std;
using uint = unsigned int;
// Verkettete Liste mit Elementen des Typs T.
template<typename T>
struct List
FROM python:3.9.9-slim-bullseye
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install git -y && \
git -C /opt/ clone https://gist.github.com/29add14089b54f72e9f5063bdda4d2ec.git && \
pip3 install python-twitter python-dateutil typing
WORKDIR /data
ENTRYPOINT ["python3", "/opt/29add14089b54f72e9f5063bdda4d2ec/twitter_scraper.py"]
@zPrototype
zPrototype / revShell.c
Last active August 24, 2022 17:11
Simple reverse shell in C
#include <sys/socket.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
int main(void)
{
int sock;
int port = 4444;
struct sockaddr_in revsockaddr;
@zPrototype
zPrototype / internetdb.py
Last active February 22, 2022 06:12
Pull info from shodans internetdb
#!/usr/bin/python3
import socket
import requests
import json
import argparse
from rich.console import Console
def get_arguments():
@zPrototype
zPrototype / crtsh.py
Last active November 4, 2021 09:12
Pull and parse subdomains from crt.sh
#!/usr/bin/python3
import requests
import argparse
import re
from rich.console import Console
CONSOLE = Console()
parser = argparse.ArgumentParser()
@zPrototype
zPrototype / Dockerfile
Last active October 1, 2021 10:24
A dockerfile to setup a simple ubuntu container for bugbounties
FROM ubuntu:20.04
ENV TZ Europe/Berlin
RUN DEBIAN_FRONTEND="noninteractive" && \
apt-get update && \
apt-get upgrade -y && \
apt-get autoclean -y && \
apt-get autoremove -y && \
apt-get install -y sudo apt-utils tzdata && \
dpkg-reconfigure --frontend noninteractive tzdata && \
sudo apt update && sudo apt upgrade -y && sudo apt autoclean -y && sudo apt autoremove -y
sudo apt install curl wget git nmap golang vim zsh python3-pip python3-dev ruby tmux cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev
pip3 install rich dataclasses-json
# Clone git stuff
# Maybe write a for loop or just convert this whole thing into python because why not
git -C /opt/ clone https://github.com/aboul3la/Sublist3r.git
git -C /opt/ clone https://github.com/dwisiswant0/apkleaks.git
@zPrototype
zPrototype / statusCodeGetter.py
Last active April 25, 2020 02:13
Python script to get status codes
import requests
import time
import argparse
from concurrent.futures import ThreadPoolExecutor
parser = argparse.ArgumentParser()
parser.add_argument("-f", "--file", action="store", help="Enter path to domainfile")
parser.add_argument("-t", "--threads", action="store", help="Enter the number of threads you want to use")
args = parser.parse_args()