Results 1 to 8 of 8

Thread: http eventtrigger payloads

  1. #1
    Join Date
    Mar 2005
    Posts
    724

    Default http eventtrigger payloads

    ok this maysound stupid but I can't seem to get a payload to pass using the triggerevent.ihtml here is the command I am using for testing


    curl http://192.168.1.112:80/gir/triggerE...=18&km=KeyMod& pld1=payload1&pld2=payload2

    any thoughts,

    Yonu

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,541

    Default

    not sure if the forum did that but there is a space in the URL (which shouldn't be there) and km should be numerical
    Ron
    No support through PM

  3. #3
    Join Date
    Mar 2005
    Posts
    724

    Default

    ok the space was a typo when i retyped it in the post I tried changing km to a 0 but I still get nothing no matter what I put in the payloads.

    any other thoughts?
    yonu

  4. #4
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,541

    Default

    Do you get an event at all or just no payloads?
    Ron
    No support through PM

  5. #5
    Join Date
    Mar 2005
    Posts
    724

    Default

    yeah the even itself comes through but nothing else after eventstring

  6. #6
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,541

    Default

    I tried doing http://localhost/gir/triggerEvent.lh...asdf&pld2=qwer from a browser and that works... trying curl.
    Ron
    No support through PM

  7. #7
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,541

    Default

    interestingly when I use Curl ( on Windows mind you ) the ampersands are being interpreted by Windows as end-of-command ( maybe not unlike unix )

    Code:
    'es' is not recognized as an internal or external command,
    operable program or batch file.
    'pld1' is not recognized as an internal or external command,
    operable program or batch file.
    'pld2' is not recognized as an internal or external command,
    operable program or batch file.
    Changing the command to

    Code:
    C:\Tools\curl>curl "http://localhost/gir/triggerEvent.lhtml?ed=23&es=hello&pld1=asdf&pld2=qwer"
    does the trick.
    Ron
    No support through PM

  8. #8
    Join Date
    Mar 2005
    Posts
    724

    Default

    the quotes did it never thought about having to quote them

    Yonu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •