Compare commits

..

No commits in common. "c097932b95883afe85428f85966734f9da0edc7f" and "652bfa9570c5e4c0fd7012f0ea99525a76c2a855" have entirely different histories.

4 changed files with 0 additions and 26 deletions

0
fuckman.sh Executable file → Normal file
View File

View File

@ -1,4 +0,0 @@
# EXAMPLE
curl|8.0|https://repo.warceuproject.org/pkgs/curl-8.0.tar.gz
nano|6.5|https://repo.warceuproject.org/pkgs/nano-6.5.tar.gz
busybox|1.36|https://repo.warceuproject.org/pkgs/busybox-1.36.tar.gz

View File

View File

@ -1,22 +0,0 @@
#!/bin/sh
download_fuckman() {
URL="$1"
OUTPUT="$2"
HOST=$(echo "URL" | awk -F/ '{print $3}')
PATH=$(echo "URL" | cut -d '/' -f4-)
echo "[*]Downloading From $URL...."
exec 3<> /dev/tcp$HOST/80
echo -e "GET /$PATH HTTP/1.1\r\nHost: $HOST\r\Connection: close\r\n\r\n" >&3
{
HEADER=1
while IFS= read -r line; do
["$HEADER"] && [ -z "$line"] && HEADER=
[ -z "$HEADER" ] && echo "$line" >> "$OUTPUT"
done
} <&3
exec 3>&-
echo "[+] Downloaded $OUTPUT"
}