LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2014, 08:56 AM   #1
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Rep: Reputation: Disabled
IP address of all hyperlinks on a website?


Can i know how to retrieve all the IP of the hyperlinks on a website using kali linux? Thanks
 
Old 03-07-2014, 11:15 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
lynx -dump http://www.domain.com | grep -A999 "^References$" | tail -n +3 | awk '{print $2 }'
The rest, I'll leave as an exercise for you to work out.
 
1 members found this post helpful.
Old 03-07-2014, 10:56 PM   #3
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks for the reply but the code is not executing..it keep showing error "bash: -dump: command not found". What should i do?Sorry im new to linux
 
Old 03-08-2014, 07:05 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by hari921019 View Post
Thanks for the reply but the code is not executing..it keep showing error "bash: -dump: command not found". What should i do?Sorry im new to linux
You're getting this in terminal?
Please describe the exact steps you took to execute this command.

As a side note, you may need to install lynx.
What OS?
 
Old 03-08-2014, 08:51 AM   #5
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
I opened the terminal and typed in the code u gave...im using "3.12-kali1-486"...what should i do?
 
Old 03-08-2014, 08:53 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Open a terminal and type
Code:
linx
what happens?

qq to exit lynx if it comes up.
 
Old 03-08-2014, 08:56 AM   #7
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
showing "bash: linx: command not found"..?
 
Old 03-08-2014, 08:57 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
crap. Sorry, I meant
Code:
lynx
 
Old 03-08-2014, 08:59 AM   #9
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
same stuff shows up "bash: lynx: command not found"
 
Old 03-08-2014, 09:19 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
As Habitual already said in #4, you need to install lynx.
jdk
 
Old 03-08-2014, 11:42 AM   #11
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
IT WORKED!! THANKS A LOT...but can i know how to view their IP address instead of their domain names?
 
Old 03-08-2014, 11:02 PM   #12
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hey guys, can u help me with one last thing?

How to view their ip address instead of their domain names?

By using "]lynx -dump http://www.domain.com | grep -A999 "^References$" | tail -n +3 | awk '{print $2 }"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How ping know IP address of a given website? bvg_1 Linux - Software 2 10-21-2011 03:33 PM
Hosting a website without a static IP address grizdog Linux - Networking 5 04-18-2010 12:06 PM
Firefox Can't Follow HTML Hyperlinks To Local Files - Recognize Relative Hyperlinks? Dave Chicago Linux - Newbie 6 03-18-2009 08:07 PM
Setting up an additional website that has the same ip address as an existing one kaplan71 Linux - Server 4 10-29-2008 06:02 AM
Using a domain name instead of ip address for my website??? oulevon General 9 08-10-2001 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration