UBB.Dev
Posted By: joking-down Search for specific IP address - 12/23/2001 9:47 PM
[...]

It a first version... [Linked Image]
dose it run with V6.x ?? [Linked Image]



[edit]
code removed.

you can find the code here
Posted By: BassTeQ Re: Search for specific IP address - 12/23/2001 11:37 PM
Looks good but just a tip.
You've hardcoded in the path
/cgi-bin/ubb/ipSearch.cgi
in several positions. Not all people would be
using the same path. So maybe just use a variable and tell people to modify it accordingly.
Posted By: joking-down Re: Search for specific IP address - 12/23/2001 11:53 PM
change all
Code
[/code]to[code]
Posted By: Lord Dexter Re: Search for specific IP address - 12/24/2001 2:26 AM
Great work! Alot of people have been asking for this.
Posted By: Embercidal Re: Search for specific IP address - 12/27/2001 3:15 AM
so would this particular hack work with 6.04 ?
Posted By: Lord Dexter Re: Search for specific IP address - 12/27/2001 4:26 AM
No. Only works in v5.4 versions.
Posted By: ak Re: Search for specific IP address - 01/04/2002 11:15 AM
Help on this
http://www.guyana.org/cgi-bin/ubb/ipSearch.cgi? Yes it is set to 755
Not working

[ 01-04-2002 03:17 AM: Message edited by: ak ]
Posted By: joking-down Re: Search for specific IP address - 01/04/2002 1:55 PM
is #!/usr/bin/perl in the first line?
Posted By: ak Re: Search for specific IP address - 01/05/2002 4:13 AM
Yep my first line is
#!/usr/bin/perl
I uploaded in ASC11 mode and chmod to 755,
File is called ipSearch.cgi

so i am not sure what is wrong????
Posted By: joking-down Re: Search for specific IP address - 01/05/2002 4:38 AM
add after eval {};
[code][/code]

which entries are in the errorlog?


on my PCs this script is running without problems (Win32/Apache and Linux/Apache)...
Posted By: ak Re: Search for specific IP address - 01/05/2002 4:24 PM
It's okay, I give up on the hack.
Thanks
Posted By: Rich9 Re: Search for specific IP address - 01/11/2002 2:12 AM
Hmmm, Im running the 5.45c board...straight away I've hit an inter server error Got the permissions right, etc......
Posted By: Lord Dexter Re: Search for specific IP address - 01/11/2002 4:12 AM
Did any error message come up? Or just Internal server error?
Posted By: Rich9 Re: Search for specific IP address - 01/11/2002 9:14 PM
Just the average ISE......I changed the cgi-bin link, sure i didnt make any mistakes in it.
Posted By: joking-down Re: Search for specific IP address - 01/14/2002 7:57 PM
i use this code without problems (save the file as "ipSearch.cgi")...
Posted By: svr Re: Search for specific IP address - 01/14/2002 9:42 PM
Yep I am also getting a 500 error even though it perl -c compiles OK, and I have it 755'ed.

Jokingdown can you place this in a proper text file and upload the file onto a server so that we can download it ? thx
Posted By: Rich9 Re: Search for specific IP address - 01/14/2002 10:22 PM
The correct extension is UL, and the right permissions....
Posted By: joking-down Re: Search for specific IP address - 01/14/2002 10:46 PM
have you tested perl -w ipSearch.cgi?
a local copy of all files is required; $CGIPath must be the local path of the "UltBB.setup".
Posted By: CT Re: Search for specific IP address - 01/28/2002 7:39 PM
OMG!

This works perfectly, I shouldn't have tested it on my IP though, I got A LOT of results smile

I was looking for this option for so long! This will get rid of those abusers registering once again after banning. (well, not always, but it's a great help!)

Danke danke danke joking-down für Bundeskanselier!
Posted By: CT Re: Search for specific IP address - 01/28/2002 7:44 PM
Ok, I've got 1 request and 1 question about the ipSearch:

Request: could you please make it so that only admins can use this function? Because if someone else finds out about this ipSearch everyone can search...

Question: Is it very CPU demanding? I saw it searched some while, and I'm afraid my ISP will kick my *** if I abuse his CPU, lol
Posted By: CT Re: Search for specific IP address - 01/28/2002 7:48 PM
Hmm.. yet another request, hope I don't stretch it smile If so just ignore me.

It would be really great if you would get the username of the person posting with that IP in the results.

I don't think that this is a big add-on (of course I might be wrong) as you are probably browsing the .cgi files in the forumx/ directory, and in the same line as the IP number the username is available as well.

Cheers,

CT.
Posted By: joking-down Re: Search for specific IP address - 01/29/2002 2:54 AM
it's a good idea to limit the access to the ipSearch and print the UserName ...

i'm now to busy to write it.

i don't know the load of the script. i have local only a Win32/Apache and on the webspace i cant see the CPU load. you can reduce the load, i think, when you change this line
[code][/code]
Posted By: CT Re: Search for specific IP address - 02/03/2002 5:26 AM
Take your time J-D but please don't leave us ever as you seem to be the last developer actually improving version 5. wink
Posted By: joking-down Re: Search for specific IP address - 02/05/2002 9:29 PM
a new version is released. [Linked Image]
now only an admin can use this script.


click here to download the mod.
Posted By: CT Re: Search for specific IP address - 02/06/2002 2:29 AM
Marry me wink
© UBB.Developers