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
#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; |
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 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() |
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
from scapy.all import * | |
def emptyLine(): | |
print("****************************************") | |
Url = input("Enter domain name: ") | |
emptyLine() | |
dnsResponse = sr1(IP(dst="8.8.8.8") / UDP(dport=53) / DNS(rd=1, qd=DNSQR(qname=Url))) |
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 | |
import time | |
import os | |
def print_progressbar(percentage): | |
columns = int(os.popen('stty size', 'r').read().split()[1]) # length of current line | |
columns -= 7 # subtract formatting [] xxx% | |
num_hashes = int(columns / 100 * percentage) | |
sys.stdout.write("\r") |
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
from scapy.all import * | |
setInterface = input("Enter your interface: ") | |
countOfPackets = int(input("Enter amount of packets to sniff (default = 100): ") or "100") | |
setTimeout = int(input("Enter seconds before timeout (default = 5s): ") or "5") | |
print("") | |
conf.iface = setInterface | |
packets = sniff(count=countOfPackets, timeout=setTimeout) |
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
#!/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 |
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 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 |
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
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 && \ |
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
#!/usr/bin/python3 | |
import requests | |
import argparse | |
import re | |
from rich.console import Console | |
CONSOLE = Console() | |
parser = argparse.ArgumentParser() |
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
#!/usr/bin/python3 | |
import socket | |
import requests | |
import json | |
import argparse | |
from rich.console import Console | |
def get_arguments(): |
OlderNewer