echo "This tool searches content from realchacker.net using lynx and realhacker.net/sitemap.xml, all respect intended. Your search may not include all content, this depends on when the sitemap was last updated. Lynx must be i$
echo "Retrieving Data......"
lynx -dump "http://www.realhacker.net/sitemap.xml" | grep -o "http:.*" >.srch.txt
echo "Got It"
echo "What would you like me to search for you?"
grep "$srch" .srch.txt
echo "Please enter the URL from above that you want me to use."
echo "Thank you, what would you like done with this URL? I can do one of the following two options: l = Open in lynx, d = If the URL contains a file your interested in, I can download this for you using wget. Please enter the$
if [ "$actn"="l" ];
echo "Opening URL in lynx, I am not responsible for what you do with this information. I suggest you get explicit permision from the owner of any hardware and or software you may be tampering with, enjoy!"
if [ "$actn"="d" ];
echo "Downloading file using wget, I am not responsible for what you do with this file. I suggest you get explicit permision from the owner of any hardware and or software you may be tampering with, enjoy!"
lynx -dump "$url" | grep -o "http://packetstormsecurity.org/files/.*" >.dwn.txt | cat .dwn.txt | lynx -dump "$catdwn" | grep -o "http://packetstormsecurity.org/files/download/.*" >.dwnf.txt | wget "$catdwnf"
script breaks after second pipe in bottom if/then statement. also first if/then runs no matter if second if/then is selected with d option or not...those $'s arent really there in echo's nano broke off that text