Skip to content

Commit

Permalink
Quick fix for downloading pindb
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Dec 10, 2016
1 parent d5ae788 commit 4e16e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 4e16e4b

Please sign in to comment.