Website Interface

Z

Zyad.Tamimi

Hi all,

Hopefully somebody can help me with this relatively simple task =)

I have a list of names and what I am attempting to do is connect to a
website and search for all the names in the websites directory. Is
there a simple module in CPAN that can help me do this?

if you need further clarification let me know.

Thanks in advance!

Zyad
 
U

usenet

I have a list of names and what I am attempting to do is connect to a
website and search for all the names in the websites directory. Is
there a simple module in CPAN that can help me do this?

Maybe so... People try to do this to my webserver all the time ;-)

Of course, any halfway-configured webserver won't let it happen (and
there's nothing you can do about it, prehaps short of some type of
exploit).

Actually, CPAN has very few programs - it has lots of modules which are
used to build programs. If you think you can go to CPAN and download a
functional program to do something then you are mistaken about how CPAN
really works.

If you can do what you want to do from a browser, you can (probably)
use WWW::Mechanize to do it in Perl. If the webserver is so poorly
configured that it will reveal its directory and file structure (say,
by omitting the name of the index document) then you can easily slurp
that info. But otherwise, forget it.
 
Z

Zyad.Tamimi

thanks for the timely feedback, I'll try it out and let you know how it
turns out. thanks again.

Regards,
Zyad
 
Z

Zyad.Tamimi

It appears the search form was written in javascript. According to
their CPAN entry Mechanize does not support javascript. Any other
ideas of how i could utilize this search field through my script?

Thanks,
Zyad
 
J

J. Gleixner

It appears the search form was written in javascript. According to
their CPAN entry Mechanize does not support javascript. Any other
ideas of how i could utilize this search field through my script?

Look at the Javascript, figure out the variables and their values, and
code it. It's calling something (CGI, JSP, etc.) with some variables,
you just need to figure out what they are and send your request to the
site, just like the Javascript does.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,200
Messages
2,571,046
Members
47,646
Latest member
xayaci5906

Latest Threads

Top