Skip to content

Instantly share code, notes, and snippets.

View KebabLord's full-sized avatar

Junicchi KebabLord

View GitHub Profile
@KebabLord
KebabLord / board_downloader.sh
Created July 29, 2020 11:44
download all media from an alt-board on image boards
#!/usr/bin/bash
# Board All Media Downloader by Jumbo
TARGET="https://8kun.top"
SUB_DOMAIN="media.8kun.top"
BOARD="/cyber/"
FORMATS="webm,mp4,jpg,png,gif"
curl ${TARGET}${BOARD}catalog.html |
grep -Eoi '<a [^>]+>' |
@KebabLord
KebabLord / turkdox.py
Last active October 1, 2020 19:57
Popüler türk sitelerinde kullanıcı sorgusu scipti.
#!/usr/bin/env python3
# Önizleme: https://u.teknik.io/nCIrg.png
import requests
siteler = {
"KizlarSoruyor":"https://www.kizlarsoruyor.com/uye/",
"Onedio.com":"https://onedio.com/profil/",
"EkşiSözlük":"https://eksisozluk.com/biri/",
"Puiv.com":"https://www.puiv.com/k/"
@KebabLord
KebabLord / My Gists.md
Last active August 22, 2025 10:59
My Scripts

smart-tv.sh - Control Vestel MB211 TV from terminal.
cs2_trigger.py - CS2 Trigger bot for linux
mac-random - Random MAC address every boot.
proxy.ps1 - Apache forward proxy server setup with auth for win.
24h_compare.pine - 24h comparative bitcoin chart graph pine script.
ytp-ad-skip.js - Youtube ads fast forwad skipper.
crybro.sh - Additional encryption layer for android fs.
kali-dmenu.sh - Categorized Kali tools launcher with dmenu
recent.sh - List recent files in folders. Useful for downloads and screenshots.
turkdox.py - Check Username avaibility of turkish sites.

@KebabLord
KebabLord / recent.sh
Last active November 24, 2020 20:16
list recent files from folders. Useful for recent downloaded files and newly taken screenshots
#!/bin/bash
# Usage: ./recent.sh <parameters> [FOLDER]
SS_FOLDER="$HOME/Pictures/Screenshots/"
DL_FOLDER="$HOME/Downloads/"
list_amount=1
sorter="tail"
while getopts "h?n:rsd" opt; do
@KebabLord
KebabLord / kali-dmenu.sh
Last active January 7, 2023 07:10
kali tool launcher dmenu. Created for my kali-i3wm build: https://github.com/kebablord/kali-i3wm
#!/bin/bash
dmenu_="dmenu -b -l 20 -fn terminus"
menu=$(jq -r 'keys_unsorted[]' menu.json | $dmenu_ )
[ -v "$menu" ] && exit
cmd=$(jq -r ".[\"${menu}\"] | keys_unsorted[]" menu.json | $dmenu_)
[ -v "$cmd" ] && exit
run=$(jq -r ".[\"${menu}\"][\"${cmd}\"]" menu.json)
@KebabLord
KebabLord / smart-tv.sh
Last active November 28, 2023 14:04
Simple shell script to control Vestel MB211 TV from terminal. Should work on all MBxxx models.
#!/bin/bash
#Get IP address of tv from searching port 56789
if [ -a /tmp/toshiba_ip ];then
tv_ip="$(cat /tmp/toshiba_ip)"
else
tv_ip="$(nmap 192.168.1.0/24 -sT -np56789 --open -oG - | awk '/Up$/{print $2}' | tee /tmp/toshiba_ip)"
fi
#Function to send specified command key code
@KebabLord
KebabLord / kripto.py
Last active February 1, 2021 21:40
tl cinsinden anlık kripto para birimleri ve yüzdelikleri i3block bloğu
#!/usr/bin/env python3
"""
[kripto]
label=
markup=pango
interval=60
instance=BTC
"""
@KebabLord
KebabLord / reddit_vid.py
Created February 22, 2021 10:47
Download reddit videos with sound without ffmpeg. Simply abuse reddit video downloader sites to get media url of video with sound.
""" Use reddit video downloader sites to get
URL of video with sound which they generated
"""
from re import findall
from requests import get
def reddit_vid(url):
""" Returns URL of video with sound. """
response = get("https://lew.la/reddit/")
@KebabLord
KebabLord / proxy_server.ps1
Last active January 5, 2023 02:57
Use Apache as a forward http proxy server as a squid alternative for Windows with a basic username & password authentication. Don't use squidNT since it's not properly maintained and is literally ran under an emulator which is slow. Don't pay for http proxy servers, apache is free and faster. This script downloads and completely configures apach…
# This script downloads Apache Web Server and configures it to work as a forward http proxy server with basic authentication.
# In order to run this script you need to enable powershell scripting by opening the cmd as administrator,
# and running this command: powershell Set-ExecutionPolicy RemoteSigned
# After that just right click to this file and click to "Run With Powershell"
# WebProxy runs on port 80, tested on windows 11.
# Check VCRedist current version
$OS= if ( ${env:ProgramFiles(x86)} ) {"\WOW6432Node"} else {"\"}
$vcredist = Get-ItemProperty -Path "HKLM:\SOFTWARE$OS\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" -ErrorAction SilentlyContinue -ErrorVariable eVcRedist
if ($eVcRedist -Or ($vcredist.Bld -le 24215) ) {
@KebabLord
KebabLord / mac-randomizer
Last active August 6, 2025 15:35
Run macchanger on boot init script. The original auto spawn doesn't work since it's nearly 10 years old. Should work on all debian based systems, since it's a SysV style init script. Tested on devuan+openrc . Can be easily strict-chained with NM. Requires iw package to obtain interface.
#! /bin/sh
#
# Randomize computer's MAC address on boot before the network-manager service.
# Using with Kebablord/macchanger-ng is adviced since
# original repo didn't receive any PR for nearly 10 years.
# Script also exits safely on any fail so you can safely chain it with
# network-manager updating Required-Start parameter from NM's init script.
# This gist is created for educational purposes only.
#
# No Copyright (c) 2023 Kebablord Corporation.