Author Topic: EX8.ME Url Shortener  (Read 1665 times)

mghq

  • Full Member
  • ***
  • Posts: 193
  • Sorry but i will no longer be visiting THH see sig
    • View Profile
Re: EX8.ME Url Shortener
« Reply #20 on: July 21, 2010, 07:42:23 PM »
know how to ban ips then? or set a limiter to the ip... using cookies SQL anything you wish... SQL is best because the user cant have the script clear the SQL entry :P

Edit: Google ads Cash Cow...
Yea i plan on improving the system and i banned the offending ip's but this was just a quick fix till i work on it more but i am working on three projects so i take time on each

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Re: EX8.ME Url Shortener
« Reply #21 on: July 21, 2010, 07:53:16 PM »
actually such a thing takes maybe 1 hour to do... rather simple grab ip when user makes the url (or when they request it) post it set the expiry time (time+6 seconds or what ever you chose and depending how you do it it might be best if you use the time thingy SMF uses more accurate), when the user requests again take the ip check the time and IP against the ones in your DB (using IP as reference) if its before the expiry then kill process stating what you want.

Note: to save precious time and space and crap set up a cron job or something that allows you to trim the expired IPs ever so often.

Advance: if continuously requesting too fast after 5 times Auto 1 hour ban (really not hard either simple $C+1 (C being count and starts at 1 upon first and only good for that duration))
Or could set up a new table strictly for IPs with a time length and ban anyone who has done X number of links with in a time frame.


i think all can be done with in 1-2 hours...


If you register use gamerz300 as Referrer :P





EpicCyndaquil

  • The not so scary
  • Administrator
  • Hero Member
  • *****
  • Posts: 1006
    • View Profile
    • Epic Cyndaquil
Re: EX8.ME Url Shortener
« Reply #22 on: July 21, 2010, 07:54:56 PM »
actually such a thing takes maybe 1 hour to do... rather simple grab ip when user makes the url (or when they request it) post it set the expiry time (time+6 seconds or what ever you chose and depending how you do it it might be best if you use the time thingy SMF uses more accurate), when the user requests again take the ip check the time and IP against the ones in your DB (using IP as reference) if its before the expiry then kill process stating what you want.

Note: to save precious time and space and crap set up a cron job or something that allows you to trim the expired IPs ever so often.

Advance: if continuously requesting too fast after 5 times Auto 1 hour ban (really not hard either simple $C+1 (C being count and starts at 1 upon first and only good for that duration))
Or could set up a new table strictly for IPs with a time length and ban anyone who has done X number of links with in a time frame.


i think all can be done with in 1-2 hours...
That's perhaps one of the smartest things I've ever heard you say!  :)

mghq

  • Full Member
  • ***
  • Posts: 193
  • Sorry but i will no longer be visiting THH see sig
    • View Profile
Re: EX8.ME Url Shortener
« Reply #23 on: July 21, 2010, 08:41:35 PM »
actually such a thing takes maybe 1 hour to do... rather simple grab ip when user makes the url (or when they request it) post it set the expiry time (time+6 seconds or what ever you chose and depending how you do it it might be best if you use the time thingy SMF uses more accurate), when the user requests again take the ip check the time and IP against the ones in your DB (using IP as reference) if its before the expiry then kill process stating what you want.

Note: to save precious time and space and crap set up a cron job or something that allows you to trim the expired IPs ever so often.

Advance: if continuously requesting too fast after 5 times Auto 1 hour ban (really not hard either simple $C+1 (C being count and starts at 1 upon first and only good for that duration))
Or could set up a new table strictly for IPs with a time length and ban anyone who has done X number of links with in a time frame.


i think all can be done with in 1-2 hours...
That's perhaps one of the smartest things I've ever heard you say!  :)
I motion that, that was a great mouthful and more than likely be somewhat of the way i work it

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: EX8.ME Url Shortener
« Reply #24 on: July 22, 2010, 12:48:20 PM »
How could that possibly be abused... Its one of the most important features of a URL shortener.
Trust me, in one hour i had over 70,000 urls processed from one ip address which was making 5 per second.
At one point I tried making an encrypted and redundant data storage system using URL shorteners. I swear I didn't do that though.

Mop

  • Hero Member
  • *****
  • Posts: 661
  • I POST CP
    • View Profile
Re: EX8.ME Url Shortener
« Reply #25 on: July 22, 2010, 02:57:46 PM »
How could that possibly be abused... Its one of the most important features of a URL shortener.
Trust me, in one hour i had over 70,000 urls processed from one ip address which was making 5 per second.
At one point I tried making an encrypted and redundant data storage system using URL shorteners. I swear I didn't do that though.


Hahahah thats awesome

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: EX8.ME Url Shortener
« Reply #26 on: July 22, 2010, 03:01:19 PM »
Win. Very Win.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: EX8.ME Url Shortener
« Reply #27 on: July 28, 2010, 08:46:55 PM »
You know, this domain would probably be better as a shock-site (a la goatse.cx) of ex-es eating people.

Mop

  • Hero Member
  • *****
  • Posts: 661
  • I POST CP
    • View Profile
Re: EX8.ME Url Shortener
« Reply #28 on: July 28, 2010, 10:08:05 PM »
Sounds like general cannibalism to me

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Re: EX8.ME Url Shortener
« Reply #29 on: July 28, 2010, 10:27:16 PM »
now that you think of it it sounds like "EX-ate(8 ) ME" lol... which is cannibalism...


If you register use gamerz300 as Referrer :P





Brad

  • Lurker
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1512
    • View Profile
    • Brads Blawg
Re: EX8.ME Url Shortener
« Reply #30 on: July 29, 2010, 02:32:37 AM »
The fact that you have to login just killed this site.
Regards, Brad

Masturbation. Taking matters into your own hands.

I er, finally have a website

EpicCyndaquil

  • The not so scary
  • Administrator
  • Hero Member
  • *****
  • Posts: 1006
    • View Profile
    • Epic Cyndaquil
Re: EX8.ME Url Shortener
« Reply #31 on: July 29, 2010, 01:10:57 PM »
now that you think of it it sounds like "EX-ate(8 ) ME" lol... which is cannibalism...
It does, that's pretty funny.  :D

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Re: EX8.ME Url Shortener
« Reply #32 on: July 29, 2010, 01:36:02 PM »
hmmm alternatively it could also be a sexual meaning :P

For those who know good, those who dont you will find out one day lol just not by me.


If you register use gamerz300 as Referrer :P





zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: EX8.ME Url Shortener
« Reply #33 on: July 29, 2010, 02:05:18 PM »