Skip to content

Instantly share code, notes, and snippets.

View Brakah777's full-sized avatar

DarkTr4ce Brakah777

View GitHub Profile
# WELCOME TO SQUID 3.1.19
# ----------------------------
#
# This is the documentation for the Squid configuration file.
# This documentation can also be found online at:
# http://www.squid-cache.org/Doc/config/
#
# You may wish to look at the Squid home page and wiki for the
# FAQ and other documentation:
# http://www.squid-cache.org/
@Brakah777
Brakah777 / dos.md
Created November 19, 2024 18:21 — forked from davidlares/dos.md
DoS attack with hping3

DoS Attack with Hping3

Run the command: hping3 --flood -S -V --rand-source http://stv.com

Where:

  1. --flood send packets as fast as possible
  2. -S (Syn packet): legit TCP packet connection
  3. -V verbose mode
  4. --rand-source randomize the IP source address, like it's requested from different systems (sort of DDoS)
@Brakah777
Brakah777 / killproc
Created November 10, 2024 15:28
The killproc script is a user-friendly tool for managing processes on a Unix-like operating system.
#!/bin/bash
# Function to show list of all PIDs with details and allow user to kill process
show_and_kill_process() {
# Display all running processes with detailed information, including suspended jobs
echo "Displaying all running processes with details (including stopped jobs):"
ps -ax # Shows all processes, including suspended jobs, and background processes
# Ask user for the process name to manage
read -p "Enter the process name to manage (or part of it): " process_name
# PortDroid (https://portdroid.net)
# Reverse IP Lookup Results: 500
Domain
-----------
155win.com
230808.1171031212.link
241phwin.vip
24meble.pl
30225461.com
@Brakah777
Brakah777 / index.html
Last active November 10, 2024 15:22
Terminator by Aéza provides free access to virtual machines with up to 4 cores, 4GB RAM, and 40GB SSD, offering both Windows and Debian operating systems.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terminator by Aéza</title>
<style>
html, body {
margin: 0;
height: 100%;
port: 7890
socks-port: 7891
redir-port: 7892
allow-lan: true
mode: Rule
log-level: info
external-controller: 0.0.0.0:9090
secret: "xxxxxx"
dns:
enable: true

Script Instructions: Copy File Contents to Clipboard

This script allows you to copy the contents of a specified file directly to your clipboard in Termux. It includes a file locator function in case the file is not found in the current directory.

Setup

  1. Run the following one-line command in Termux to create and save the script as copytext in the ~/bin directory:

    mkdir -p ~/bin && cd ~/bin && echo '#!/bin/bash\nread -p "Enter the filename to copy text from: " filename\nif [ ! -f "$filename" ]; then echo "File not found. Locating the file..."; located_file=$(locate "$filename" | head -n 1); if [ -z "$located_file" ]; then echo "File not found anywhere."; exit 1; else echo "File found at: $located_file"; filename="$located_file"; fi; fi\ntermux-clipboard-set < "$filename"\necho "Contents of '\''$filename'\'' copied to clipboard."' > copytext && chmod +x copytext
@Brakah777
Brakah777 / torrc
Created October 26, 2024 17:56 — forked from 0x07dc/torrc
Torrc Exit Node Country Codes List (Filter Exit Nodes)
# This file was generated by Tor; if you edit it, comments will not be preserved
# The old torrc file was renamed to torrc.orig.1, and Tor will ignore it
ClientOnionAuthDir D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\onion-auth
DataDirectory D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor
GeoIPFile D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\geoip
GeoIPv6File D:\Program Files\Tor Browser\Browser\TorBrowser\Data\Tor\geoip6
# SafeSocks 1 # Apparently only needed for Socks4 proxies -- Tor is using Socks5
TestSocks 1
@Brakah777
Brakah777 / allow-external-apps.md
Created October 25, 2024 12:35
Allow Termux to Handle Content from External Apps

Allow Termux to Handle Content from External Apps

@Brakah777
Brakah777 / Makefile.am
Last active November 13, 2024 22:00
Fixing Hydra Installation Issues on Termux by DarkTr4ce and ChatGPT-4
# Makefile for Hydra - (c) 2001-2023 by van Hauser / THC <[email protected]> # WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 -Wuninitialized -Wmissing-variable-declarations -Wmissing-declarations
WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align
CFLAGS ?= -g
OPTS=-I. -O3 $(CFLAGS) -fcommon -Wno-deprecated-declarations
CPPFLAGS += -D_GNU_SOURCE
# -Wall -g -pedantic
LIBS=-lm
DESTDIR ?=
BINDIR = /bin
MANDIR = /man/man1/