hello there, while I was trying to code a bash script in linux debian I came across the following error:
 
my code was:
==============================
#!/bin/bash
 
echo Downloading $1
 
wget -p ~/downloads/ $1
if [ "$?" ]
then
        echo "Download succesfull"
else
        echo "Download failed"
fi
==============================
 
while I found out it wasnt working, I got the following feedback:
==============================
sebastiaan@linuxbak:~/scripts$ ./download
Downloading
./download: line 5:   535 Segmentation fault      wget -p ~/downloads/ $1
Download succesfull
==============================
 
when I told a friend of mine he then told me to inform you guys of an possible hack/exploit, and so I did.
 
I'm running wget version "GNU Wget 1.8.1"
 
I hope I'll be informed about any results of any researches and/or other things.
 
Regards,
Sebastiaan

Reply via email to