function getlinks() { if [ "${1:0:2}" == "-h" ]||[ "${1:0:2}" == "-?" ] then echo -e "\033[0;32mReinis ${FUNCNAME[0]} V1.0\033[0m" echo "Zeigt die Links einer Webseite (html/htmls)" return fi lynx -listonly -dump "$1" | awk '/^[ ]*[1-9][0-9]*\./{sub("^ [^.]*.[ ]*","",$0); print;}'| sort -u|while read a;do echo $a|grep ttp: 1>&2>/dev/null&&echo -e "\033[1;31m$a\033[0m";echo $a|grep -v ttp: 1>&2>/dev/null&&echo $a;done } function headers() { if [ "${1:0:2}" == "-h" ]||[ "${1:0:2}" == "-?" ] then echo -e "\033[0;32mReinis ${FUNCNAME[0]} V1.0\033[0m" echo "Zeigt Header, welcher Webserver" return fi curl -k -I https://"$1"/ }