LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2005, 01:53 AM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
issues with mirc script accessing our php script


hi all

i posted something about this before but couldn't get the response i was after
we are having a problem with a mirc script that is automatically logging into our site and submitting forms (these are one button form submits)

our forms are submitted using post
the mirc script is simulating a user in that it is actually sending post variables when logging in and also when submitting forms

one thing that i have thought of, but not sure whether it will have any effect is to use a session variable
if we use a session variable on the first page, and then check for it on the second page
will the mirc script also load that session variable when it loads our page
and will the session variable still exist when the mirc script "submits" the form

so the question is, can mirc scripts simulate session variables as well?

from what i can see (and i really don't undesrtand mirc script at all), it is using sockets to access our page, is there a way that we can prevent this particular script from accessing our site through sockets while allowing our own regular scripts to have access

it uses two ports 80, and 443

thanks
dave

Last edited by dtra; 07-01-2005 at 03:04 AM.
 
Old 07-02-2005, 04:06 PM   #2
mattLSO
Member
 
Registered: Jun 2005
Posts: 43

Rep: Reputation: 15
A crude method, check its user-agent and block that in your script, the second, better method
is to use turing codes when a user posts or more conveniently logs in, so that a script, without
a human viewing the image cant post to your site. Lots of sites are doing this now
such as hotmail have added it to their login.

Here is a good place to start

http://us4.php.net/manual/en/function.imagejpeg.php

There are some good snippets to get you on your way, if you use php that is.

Regards
 
Old 07-02-2005, 04:30 PM   #3
mattLSO
Member
 
Registered: Jun 2005
Posts: 43

Rep: Reputation: 15
.
 
  


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
Script for accessing public access points... L1nuxR0x Linux - Wireless Networking 2 04-23-2005 12:40 PM
Send query string via MIRC script cadj Programming 0 08-25-2004 06:25 AM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
converting shell script to php script ? ibro Linux - General 6 05-24-2004 05:19 AM
Accessing MySQL from a PHP script (locally) lowpro2k3 Linux - Software 2 11-23-2003 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

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