Navigation

    OpenBullet

    OpenBullet

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Awards
    1. Home
    2. tema21978
    T
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    tema21978

    @tema21978

    2
    Reputation
    46
    Posts
    29
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    tema21978 Follow

    Posts made by tema21978

    • Why else is executed where not needed?

      IF "<STATUS"> EqualTo "CUSTOM"
      #result PARSE "<SOURCE>" JSON "result" -> VAR "result"

      IF "<result>" EqualTo "1"

      #request REQUEST POST "http://localhost/two/

      #result2 PARSE "<SOURCE>" JSON "result" -> VAR "result2"

      IF "<result2>" EqualTo "true"

      PRINT "Yes"

      ELSE

      PRINT "No"

      ENDIF

      ENDIF

      At the first response from the server, result becomes the value 2, that is, it must not fulfill the first condition and should skip the entire block. Why is it executing an ELSE block?

      posted in Questions
      T
      tema21978
    • RE: How to save cookies with type httponly?

      @Fairy I get to the page http: // localhost / home /
      here I put cookies to the visitor Set-Cookie: ... with the prefix HttpOnly, then I want to make a second request to http: // localhost / products /
      but at the same time save the cookies that were received in the 1st request.
      But openbullet only stores cookies that were delivered without the httponly prefix

      posted in Questions
      T
      tema21978
    • How to save cookies with type httponly?

      When the url is opened, cookies are set, as well as with the httponly type. Is it possible to save the set cookies during redirects?

      posted in Questions
      T
      tema21978
    • assign cookies to a variable

      I am trying to do this, but this option does not work
      SET VAR "id" <COOKIES(id)>

      posted in Questions
      T
      tema21978
    • RE: Has anyone encountered such a problem that when using a proxy, requests are sent incorrectly.

      @Ruri Yes, I saw, is it possible to check request headers through OB somehow and if there is some kind of match, replace the proxy?

      posted in Questions
      T
      tema21978
    • Has anyone encountered such a problem that when using a proxy, requests are sent incorrectly.

      I am testing my website, I generated a token for authorizations. If you use the config without proxies, then the requests are successfully sent and a response comes from the server that everything is in order, but if you use proxies (for example, public). I send the exact same request with the same token, but the server response is sent that it is not valid. I have a guess. I store user data in cookies and sessions. Perhaps, with indulgent requests from that proxy, the token was preserved in the past. If so, how do I clear the cookies?

      posted in Questions
      T
      tema21978
    • RE: Why, after the CUSTOM condition, it jumps to the SUCCESS condition?

      Another interesting point. If I declare the variable "result" inside the CUSTOM clause, it will still try to fulfill the conditions inside the SUCCESS block

      posted in Questions
      T
      tema21978
    • RE: Why, after the CUSTOM condition, it jumps to the SUCCESS condition?

      Seems to understand. This is because of the variable at the beginning of the "result" code. Strange LoliScript logic of course. I wanted the variable to be global. I don't know if this is a bug or a feature. Hi Ruri)

      posted in Questions
      T
      tema21978
    • Why, after the CUSTOM condition, it jumps to the SUCCESS condition?

      During work, I get 2 STATUS values ​​- this is SUCCESS or CUSTOM. I am trying to do a check for each value and execute a specific script.
      I do as follows:
      SET VAR "result" "1"
      IF "<STATUS>" EqualTo "CUSTOM"
      PRINT "CUSTOM - OK"
      ENDIF
      IF "<STATUS>" EqualTo "SUCCESS"
      // Here requests are executed, etc., and I get a certain value of the result variable - 2
      IF "<result>" EqualTo "1"
      #test UTILITY File "test.txt" AppendLines "Good Success - 1"
      ENDIF
      IF "<result>" EqualTo "2"
      #test UTILITY File "test.txt" AppendLines "Good Success - 2"
      ENDIF
      ENDIF

      The problem is that after the CUSTOM condition is met, the script jumps to the SUCCESS condition to check the result variable and tries to execute. Why? how to avoid this?

      posted in Questions
      T
      tema21978
    • OB2 configs privacy

      I read the OB2 article. Ruri, wants to add privacy to configs and other features: Prohibition of the Conifg tab, blocking the ip address. This is cool, but what's the catch if the config can be obtained via the same OBAPI with the source code. Or does Ruri want to completely convert LoliScript to C # and use the compiled code?

      posted in General Discussion
      T
      tema21978