Skip to content

Instantly share code, notes, and snippets.

@KebabLord
KebabLord / reddit_vid.py
Created Feb 22, 2021
Download reddit videos with sound without ffmpeg. Simply abuse reddit video downloader sites to get media url of video with sound.
View reddit_vid.py
""" 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 / kripto.py
Last active Feb 1, 2021
tl cinsinden anlık kripto para birimleri ve yüzdelikleri i3block bloğu
View kripto.py
#!/usr/bin/env python3
"""
[kripto]
label=
markup=pango
interval=60
instance=BTC
"""
@KebabLord
KebabLord / smart-tv.sh
Created Dec 18, 2020
Simple shell script to control Vestel MB211 TV from terminal, created using a reverse proxy
View smart-tv.sh
#!/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 / kali-dmenu.sh
Last active Nov 12, 2020
kali tool launcher dmenu
View kali-dmenu.sh
#!/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 / recent.sh
Last active Nov 24, 2020
list recent files from folders. Useful for recent downloaded files and newly taken screenshots
View recent.sh
#!/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
View My Gists.md

smart-tv.sh - Control Vestel MB211 TV from terminal.
kripto.py - i3 block for crypto currency in Turkish Liras.
recent.sh - List recent files in folders. Useful for downloads and screenshots.
turkdox.py - Check Username avaibility of turkish sites.
kali-dmenu.sh - Categorized Kali tools launcher with dmenu
databreach_checker.py - Checks new accessive databreaches
github_toilet.py - Follow everyone on github
dickscord_purge.sh - Purge your dickscord messages
board_downloader.sh - Download all medias from an imageboard

@KebabLord
KebabLord / turkdox.py
Last active Oct 1, 2020
Popüler türk sitelerinde kullanıcı sorgusu scipti.
View turkdox.py
#!/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 / board_downloader.sh
Created Jul 29, 2020
download all media from an alt-board on image boards
View board_downloader.sh
#!/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 / dickscord_purge.sh
Created Jul 29, 2020
purge your dickscord messages sending key strokes to discord.com on firefox
View dickscord_purge.sh
#!/usr/bin/bash
delay=0.2
printf "current channel's name: #" ; read channel
id=`xdotool search --name "#$channel"`
printf "message amount to delete: " ; read n
sleep 1.5
for i in `eval "echo {1..$n}"`
do
xdotool key --window $id Up
@KebabLord
KebabLord / databreach_checker.py
Last active Sep 2, 2020
checks for raidforums official database thread for new accessive databreaches
View databreach_checker.py
#!/usr/bin/python3
# a guide a friend created: https://u.teknik.io/cwplF.png
useragent="Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0" ## change this with yours
url="https://raidforums.com/Thread-Be-Notified-When-Databases-Get-Added?page=last"
from os import listdir,chdir,path
chdir("./cookies")
cooks = listdir()