Get page with authentication code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • coldwind2010

    Get page with authentication code

    Hi!
    I want to post a form to a page,and get the output of the page.
    But the post value includes a authentication code which is 13 figures
    and change every time.
    I use curl fuction to do so.
    I try to get the authentication code at first time,and then post the
    form with authentication code to the page.
    But it's not help.

    Do you have some good methods?
    Thank you!

  • Erwin Moller

    #2
    Re: Get page with authentication code

    coldwind2010 wrote:
    Hi!
    I want to post a form to a page,and get the output of the page.
    But the post value includes a authentication code which is 13 figures
    and change every time.
    I use curl fuction to do so.
    I try to get the authentication code at first time,and then post the
    form with authentication code to the page.
    But it's not help.
    >
    Do you have some good methods?
    Contact the owner of the site and ask for a general authenticationc ode?
    My guess is they DO change the code every day to avoid leeching their site.
    We cannot possibly help you with generating an always-working code.

    Regards,
    Erwin Moller
    Thank you!
    >

    Comment

    • Jerry Stuckle

      #3
      Re: Get page with authentication code

      coldwind2010 wrote:
      Hi!
      I want to post a form to a page,and get the output of the page.
      But the post value includes a authentication code which is 13 figures
      and change every time.
      I use curl fuction to do so.
      I try to get the authentication code at first time,and then post the
      form with authentication code to the page.
      But it's not help.
      >
      Do you have some good methods?
      Thank you!
      >
      Without knowing a lot more details, no.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • Sanders Kaufman

        #4
        Re: Get page with authentication code

        coldwind2010 wrote:
        Hi!
        I want to post a form to a page,and get the output of the page.
        But the post value includes a authentication code which is 13 figures
        and change every time.
        I use curl fuction to do so.
        I try to get the authentication code at first time,and then post the
        form with authentication code to the page.
        But it's not help.
        >
        Do you have some good methods?
        Thank you!
        It can be done, but it's a monumental task that duplicates processes
        already established in the industry.

        It's called Public Key Encryption.

        Step 1 - forget about your existing 13-character passcode - it can be
        hacked in about an hour.

        When/If you're ready to take that step, lots of folks here will be happy
        to help you.

        Comment

        • C.

          #5
          Re: Get page with authentication code

          On 5 Sep, 11:00, Sanders Kaufman <bu...@kaufman. netwrote:
          coldwind2010 wrote:
          Hi!
          I want to post a form to a page,and get the output of the page.
          But the post value includes a authentication code which is 13 figures
          and change every time.
          I use curl fuction to do so.
          I try to get the authentication code at first time,and then post the
          form with authentication code to the page.
          But it's not help.
          >
          Do you have some good methods?
          Thank you!
          >
          It can be done, but it's a monumental task that duplicates processes
          already established in the industry.
          >
          It's called Public Key Encryption.
          >
          1) that's not really the solution to the OP's problem - presumably he
          doesn't control the remote end to get the authentication system re-
          written. The only sensible reason for using a 13 digit single use
          password is to prevent leeching - it should be *very* straightforward
          to strip this from the responses - I don't understand why the OP
          thinks it's a problem.

          2) Client side certificates are *not* a monumental task - they're very
          easy to implement - not least because of the likes of cacert.org
          providing a free CA service.

          C.

          Comment

          • Sanders Kaufman

            #6
            Re: Get page with authentication code

            C. wrote:
            On 5 Sep, 11:00, Sanders Kaufman <bu...@kaufman. netwrote:
            >It can be done, but it's a monumental task that duplicates processes
            >already established in the industry.
            >>
            >It's called Public Key Encryption.
            >>
            >
            1) that's not really the solution to the OP's problem - presumably he
            doesn't control the remote end to get the authentication system re-
            written. The only sensible reason for using a 13 digit single use
            password is to prevent leeching - it should be *very* straightforward
            to strip this from the responses - I don't understand why the OP
            thinks it's a problem.

            Because it puts the "secret code" in the HTML for the client's browser -
            effectively publishing it to the world.

            The kind of security he's asking for is not possible. To solve his
            problem, he'll have to ditch his current method, and implement a PK
            scheme of some sort.

            2) Client side certificates are *not* a monumental task - they're very
            easy to implement - not least because of the likes of cacert.org
            providing a free CA service.
            No - that's not monumental.
            But rolling your own CA system would be.
            The hardest part would probably be negotiating a partnership agreement
            with Dow Jones.

            Comment

            • Jerry Stuckle

              #7
              Re: Get page with authentication code

              Sanders Kaufman wrote:
              C. wrote:
              >On 5 Sep, 11:00, Sanders Kaufman <bu...@kaufman. netwrote:
              >
              >>It can be done, but it's a monumental task that duplicates processes
              >>already established in the industry.
              >>>
              >>It's called Public Key Encryption.
              >>>
              >>
              >1) that's not really the solution to the OP's problem - presumably he
              >doesn't control the remote end to get the authentication system re-
              >written. The only sensible reason for using a 13 digit single use
              >password is to prevent leeching - it should be *very* straightforward
              >to strip this from the responses - I don't understand why the OP
              >thinks it's a problem.
              >
              >
              Because it puts the "secret code" in the HTML for the client's browser -
              effectively publishing it to the world.
              >
              The kind of security he's asking for is not possible. To solve his
              problem, he'll have to ditch his current method, and implement a PK
              scheme of some sort.
              >
              >
              >2) Client side certificates are *not* a monumental task - they're very
              >easy to implement - not least because of the likes of cacert.org
              >providing a free CA service.
              >
              No - that's not monumental.
              But rolling your own CA system would be.
              The hardest part would probably be negotiating a partnership agreement
              with Dow Jones.
              Maybe I misread it, but it sounds like the op wanted to use CURL to
              fetch a page which has the 13 digit code on it (which changes every
              time), not create a page with the code.

              --
              =============== ===
              Remove the "x" from my email address
              Jerry Stuckle
              JDS Computer Training Corp.
              jstucklex@attgl obal.net
              =============== ===

              Comment

              Working...