Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Captive Portal Setup Script for Raspberry Pi 3
# Using TL-WN722N v1.10 (wlan1)
# Run with: sudo bash setup_captive_portal.sh
set -e # Exit on error
# Colors for output
RED='\033[0;31m'
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
#
# Optimized for Raspberry Pi 3 on Raspbian - Fully Interactive
#
# Description: This script is a Wi-Fi jammer that first asks which interface to use,
# scans for networks, then asks which network to attack.
#
# WARNING: This script is for educational purposes only.
# Jamming Wi-Fi networks is illegal in most countries.
LECTIL 16MG 30CP, PPH: 24.71 DH, PPV: 37.40 DH
DOLIPRANE VIT C 500 16CP EFFE, PPH: 11.10 DH, PPV: 16.80 DH
ARIMIDEX 1MG 30CP, PPH: 553.00 DH, PPV: 790.00 DH
AQUAMER HYPERTONOC 100ML, PPH: 69.30 DH, PPV: 99.00 DH
GENU VIDA 90MG/3ML, PPH: 1400.00 DH, PPV: 1700.00 DH
PRADAXA 110MG 30GEL, PPH: 371.70 DH, PPV: 531.00 DH
TIORFAN 30MG 30 STS ENF (E), PPH: 54.38 DH, PPV: 82.30 DH
SIFROL 0.52MG LP 30CP, PPH: 111.00 DH, PPV: 168.00 DH
ALLERGINE CP B/15 (P), PPH: 26.10 DH, PPV: 39.50 DH
GLYNORM 0.5MG 90CP, PPH: 93.49 DH, PPV: 141.50 DH
@softdream1981
softdream1981 / splunk-Universal-Forwarders.txt
Created October 28, 2024 11:10 — forked from devops-school/splunk-Universal-Forwarders.txt
Splunk Tutorial: Install & Configure Universal Forwarders
Download File URL - https://download.splunk.com/products/splunk/releases/9.0.1/linux/splunk-9.0.1-82c987350fde-Linux-x86_64.tgz
Splunk Linux Tar file - wget -O splunk-9.0.1-82c987350fde-Linux-x86_64.tgz "https://download.splunk.com/products/splunk/releases/9.0.1/linux/splunk-9.0.1-82c987350fde-Linux-x86_64.tgz"
Splunk Linux rpm file - wget -O splunk-9.0.1-82c987350fde-linux-2.6-x86_64.rpm "https://download.splunk.com/products/splunk/releases/9.0.1/linux/splunk-9.0.1-82c987350fde-linux-2.6-x86_64.rpm"
Splunk Linux Debian file - wget -O splunk-9.0.1-82c987350fde-linux-2.6-amd64.deb "https://download.splunk.com/products/splunk/releases/9.0.1/linux/splunk-9.0.1-82c987350fde-linux-2.6-amd64.deb"
Splunk Linux Windows file - wget -O splunk-9.0.1-82c987350fde-x64-release.msi "https://download.splunk.com/products/splunk/releases/9.0.1/windows/splunk-9.0.1-82c987350fde-x64-release.msi"
=============================================
Splunk Enterprise
=============================================
wget -O splunk-8.2.6-a6fe1ee8894b-x64-release.msi "https://download.splunk.com/products/splunk/releases/8.2.6/windows/splunk-8.2.6-a6fe1ee8894b-x64-release.msi"
wget -O splunk-8.2.6-a6fe1ee8894b-windows-32.zip "https://download.splunk.com/products/splunk/releases/8.2.6/windows/splunk-8.2.6-a6fe1ee8894b-windows-32.zip"
wget -O splunk-8.2.6-a6fe1ee8894b-linux-2.6-amd64.deb "https://download.splunk.com/products/splunk/releases/8.2.6/linux/splunk-8.2.6-a6fe1ee8894b-linux-2.6-amd64.deb"
@softdream1981
softdream1981 / Blackfield vs NetExec .md
Created January 15, 2024 18:15 — forked from mpgn/Blackfield vs NetExec .md
Blackfield vs NetExec for fun and profit @mpgn_x64
@softdream1981
softdream1981 / tshark cheat sheet
Created January 4, 2024 16:43 — forked from githubfoam/tshark cheat sheet
tshark cheat sheet
============================================================================
#Wireshark installation directory: windows
C:\Program Files (x86)\Wireshark>tshark.exe
============================================================================
tshark -D #list of available interfaces
============================================================================
capture
============================================================================
tshark -i 2 #start capturing traffic on interface n°2
tshark -i 2 -a duration:10 #capture for 10 seconds, then stop
import os
import fnmatch
import threading
def search_files(directory, search_term):
search_term = search_term.lower()
for root, dirs, files in os.walk(directory):
for file in fnmatch.filter(files, '*.txt') + fnmatch.filter(files, '*.doc') + fnmatch.filter(files, '*.docx') + fnmatch.filter(files, '*.pdf'):
file_path = os.path.join(root, file)
try:
@softdream1981
softdream1981 / face-unique.py
Created December 2, 2022 14:10
face-unique
import cv2
import face_recognition
# Open the video file
video = cv2.VideoCapture("video.mp4")
# Create an empty list to store the extracted faces
faces = []
# Loop over the frames of the video
sudo curl https://archive.kali.org/archive-key.asc -o /etc/apt/trusted.gpg.d/kali-archive-key.asc
sudo sh -c "echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo reboot
sudo apt-get autoremove --purge
sudo apt-get install kali-linux-headless
sudo apt clean