1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What IP does cURL send?

Discussion in 'PHP & Perl' started by artizhay, Feb 10, 2011.

  1. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    I'm experimenting with some cURL to provide a better alternative to non-XSS content lockers that are unreliable. So I'm sending data to a CPA form and what I would like to know is what IP cURL sends.

    Does it send the server IP or does it use the client's IP? Is there a setting to manipulate this? Any help is appreciated.
     
  2. kaidoristm

    kaidoristm Power Member

    Joined:
    Feb 13, 2009
    Messages:
    561
    Likes Received:
    726
    Occupation:
    Freelancer
    Location:
    Estonia
    Home Page:
    It sends servers ip if your haven't defined any proxy.
     
    • Thanks Thanks x 1
  3. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    Can you define a proxy as the client's IP?
     
  4. henkedk

    henkedk Junior Member

    Joined:
    May 10, 2009
    Messages:
    106
    Likes Received:
    43
    Occupation:
    IM
    Location:
    Denmark
    Nope not possible - but you could maybe use an img tag to call the url instead? That would use the client IP
     
    • Thanks Thanks x 1
  5. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    if you define proxy then there will be reflect proxy ip on cpa simple logic....

    generally cpa detect proxy's. so lit alert with..
     
    • Thanks Thanks x 1
  6. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    yeah.. that's can possible if client use it.. but generally cpa detect the proxy's.. and blocking account..

    though all the best!!

     
  7. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    Well I'm trying to send data to a CPA form from the server. I want the user to enter an e-mail on my own form, then I will simply connect to a random CPA offer and submit the data. Right now, my content lockers are rather unreliable by only relying on history.length to determine when to drop the locker. I figured this would be a viable alternative, but not if it sends the same IP every time...
     
  8. BlackSmack

    BlackSmack Junior Member

    Joined:
    Jul 13, 2008
    Messages:
    149
    Likes Received:
    47
    Occupation:
    Whale Tail Watcher
    Location:
    Uranus
    You would need to use javascript to do this