LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-19-2013, 08:41 PM   #1
Stannley
Member
 
Registered: Jul 2010
Posts: 35

Rep: Reputation: 0
How to Get URL Called By An Application


Hi Guys,

Is it possible to find out the URL being called by an application in Linux?

We are using Red Hat 6.3, the application is Oracle EBS and the URL is somewhere at Oracle.

Thanks

Simon
 
Old 09-19-2013, 09:08 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If you know which app it is (the location of the executing binary), you can try running the "strings" command on that executable. You can set the "minimum string length" parameter to something fairly large, since URL's are pretty long. The default for "strings" is something like 4 or 5 printable characters in a row. You can go significantly longer than that to cut out some of the extraneous strings that would be printed.

You could also use a packet sniffer to catch the outgoing connection from your local computer.

Or you could just call Oracle and ask them what the URL is.
 
Old 09-19-2013, 09:15 PM   #3
Stannley
Member
 
Registered: Jul 2010
Posts: 35

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by haertig View Post
If you know which app it is (the location of the executing binary), you can try running the "strings" command on that executable. You can set the "minimum string length" parameter to something fairly large, since URL's are pretty long. The default for "strings" is something like 4 or 5 printable characters in a row. You can go significantly longer than that to cut out some of the extraneous strings that would be printed.

You could also use a packet sniffer to catch the outgoing connection from your local computer.

Or you could just call Oracle and ask them what the URL is.
Yeah I could ask Oracle, but I was thinking this would be useful to know for any application.

I thought the answer might have been something like a packet sniffer, but I was kinda hoping someone would just say - check this logfile

I dont know what the binary is, but the strings method sounds intriguing. I have never used the strings command before - will have to check it out.
 
  


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
[SOLVED] sudo prompt when redirecting stdout/stderr, called from KDE application shortcut ta0kira Slackware 3 01-15-2012 12:42 PM
[SOLVED] Destructor called on objects in deque without it being called explicitly Snark1994 Programming 4 07-13-2011 08:05 AM
Redirect a tomcat application URL and port using apache. sudheshpn Linux - Software 5 06-17-2011 03:51 PM
how to bring different tomcat based application in same Apache vhost in same URL tkmsr Linux - Server 2 02-25-2011 08:08 PM
How to determine which executables are called when running an application frznchckn Linux - General 4 02-06-2009 03:36 PM

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

All times are GMT -5. The time now is 09:19 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