From 4e16e4b17a4bfb388d1eac50fcb7bcc4ec3bbbcd Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Sat, 10 Dec 2016 21:59:53 +0100 Subject: [PATCH] Quick fix for downloading pindb --- airgeddon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airgeddon.sh b/airgeddon.sh index 2e9619502..61ba55333 100644 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -9247,7 +9247,7 @@ function check_pins_database_file() { #Download the pins database file function download_pins_database_file() { - remote_pindb_file=$(timeout -s SIGTERM 15 curl -L ${urlscript_pins_dbfile} 2> /dev/null | head -n 1) + remote_pindb_file=$(timeout -s SIGTERM 15 curl -L ${urlscript_pins_dbfile} 2> /dev/null) if [ "${remote_pindb_file}" != "${curl_404_error}" ]; then echo "${remote_pindb_file}" > "${scriptfolder}${known_pins_dbfile}"