Author |
Topic |
aspwiz
Junior Member
250 Posts |
Posted - 14 November 2003 : 11:49:56
|
Ok....
Now I'm a little pissed off....
I have 16000 emails sitting in my inbox... Someone has installed this and forgot to change the email from address.
Anyone using this who's mail server is:- EZNet01 [81.3.74.60], can you please disable the email sending ability of this script as frankly I can't get to my real emails until i finish downloading all these bloody things. (Who's laughing... come on, own up!!)
I'm gonna take a look at weeweeslap's txt file later, coz I gotta go out now! |
|
|
aspwiz
Junior Member
250 Posts |
Posted - 14 November 2003 : 12:08:23
|
Looking at that text file, I think I see the culprit for the mass mailings !!
No need to disable emails now..
Can everyone change these lines:-
elseif ua="" then
strBrowser = "SPOOFED"
strSystem = "No User Agent" to this:-elseif len(ua) < 3 then
strBrowser = "SPOOFED"
strSystem = "No User Agent"
This change is needed coz there is a user agent out there somewhere that appears blank, but in fact has a few unprintable characters.
Can everyone also make this change in order to help me identify these things easier in future.
Change this:set mail = server.createobject("cdonts.newmail")
mail.to="rob@webforumz.com"
mail.from="forumz@webforumz.com"
mail.subject = "New User Agent"
mail.body = ua
mail.send
set mail = nothing to this:set mail = server.createobject("cdonts.newmail")
mail.to="rob@webforumz.com"
mail.from="XXX:: YOUR EMAIL ADDRESS HERE ::XXX"
mail.subject = "New User Agent"
mail.body = "Agent=""" & ua & """" & vbcrlf & "IP: " & request.servervariables("remote_addr") 'IP is needed so I can see which search engines or organsations a bot belongs to
mail.send
set mail = nothing I'm still looking at why that text file is creating problems weeweeslap... trying to delete a little mail backlog right now. |
Edited by - aspwiz on 14 November 2003 12:10:23 |
|
|
aspwiz
Junior Member
250 Posts |
Posted - 14 November 2003 : 12:15:49
|
WeeWeeSlap...
Can you check the rest of the active users mod is installed correctly?
I cant see anything wrong with that file, but it appears your AU_USER_AGENT database field is blank for every user.
This explains these millions of blank user agent emails.
I'm still figuring this. |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 14 November 2003 : 13:42:22
|
quote: Originally posted by aspwiz
Ok....
Now I'm a little pissed off....
I have 16000 emails sitting in my inbox... Someone has installed this and forgot to change the email from address.
Anyone using this who's mail server is:- EZNet01 [81.3.74.60], can you please disable the email sending ability of this script as frankly I can't get to my real emails until i finish downloading all these bloody things. (Who's laughing... come on, own up!!)
I'm gonna take a look at weeweeslap's txt file later, coz I gotta go out now!
I would be that culprit LOL Sorry bout that, my site gets quite a bit of traffic and bots live there as well. I'll do the mentioned fixes above for ya!
and I checked the rest of active usera mod and everything is ok. WWS
|
coaster crazy |
Edited by - weeweeslap on 14 November 2003 13:49:16 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 14 November 2003 : 14:17:59
|
WWS, I've looked through your active_users.asp, and I have even tested it on my test-server, and it works as it should. It shows the correct user agent for all the browsers that I tested. So Im a bit stumped on what is causing that error.
Which database are you using? |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 14 November 2003 : 14:44:29
|
it does detect Opera browsers, I just jumped on mine and that work, wont say anything for IE and Netcrap http://www.weeweeslap.com/auopera.JPG
look on my line, weeweeslap in red. says Unknown and below says Opera. everything else is at Unknown |
coaster crazy |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 14 November 2003 : 16:59:12
|
Im not sure why it doesn't work on your website, while it does on mine.
Just to test something out. Add the line marked red below and see if it works.
function fUserAgent(ua) strSystem = "" ua = ua on error resume next |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
Edited by - masterao on 14 November 2003 17:51:07 |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 14 November 2003 : 17:10:55
|
there's no line marked in red but I assume it is "ua=au" I'll add it and test it right now. |
coaster crazy |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 14 November 2003 : 17:15:22
|
Jan, marry me? j.k. IT WORKS!!!!
I see the result and how it works, shows what browser and operating system they're using and it also shows a total of 28 bots online at the site right now, google, altavista,INKTOMI,Mediapartners-Google/2.1 (+http://www.googlebot.com/bot.html) etc etc etc etc etc etc etc etc etc LOL Thank you Jan and aspwiz for your help! I like this mod |
coaster crazy |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 14 November 2003 : 17:50:34
|
You are welcome . Sorry for missing making it red (I have done so now).
aspwiz, I think you should add this to the function on the first page. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
Edited by - masterao on 14 November 2003 17:54:29 |
|
|
aspwiz
Junior Member
250 Posts |
Posted - 15 November 2003 : 08:48:16
|
New script available. See the first post in this thread for the newest version. |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 15 November 2003 : 15:47:49
|
now all of them say: No User Agent SPOOFED
lol |
coaster crazy |
|
|
aspwiz
Junior Member
250 Posts |
Posted - 15 November 2003 : 15:59:33
|
I've tested it... it's fine....
Can anyone else confirm this?
Can you paste your txt file wee wee? |
|
|
Gargoyle
Junior Member
USA
280 Posts |
Posted - 15 November 2003 : 16:10:17
|
I just uploaded it to my test server and it works great!
But I want to know about this line 80 e-mail addy you speak of in the first post? Does this e-mail me or you with my reply address ? |
Here is a link to my Snitz powered Drag Racing site. |
|
|
Topic |
|