Can't modified form-urlencoded response using FiddlerScript

2 posts, 0 answers
  1. Wordpress
    Wordpress avatar
    2 posts
    Member since:
    Jun 2017

    Posted 30 Jun 2017 Link to this post

    Hello everyone! I need help. I have this request:

    POST https://site/request HTTP/1.1
    Host: site
    Accept-Language: en-us
    X-OQUE-4LM: AQAGMvxvDIIUBF+WCuq5NR+yUKs2RLd2ujdnK3euSZhfYmfEAfz2j4+uSblhagtKNuPv
    User-Agent: VerifiedApp/5.11.0
    Accept: */*
    Content-Type: application/x-www-form-urlencoded
    SECURITY-USERID: site.com
    DATA-FORMAT: NV
    RESPONSE-DATA-FORMAT: NV
    VERSION: 1.0.0
    Connection: keep-alive
    Proxy-Connection: keep-alive
    Content-Length: 2071
    Accept-Encoding: gzip
     
    appGuid=fa8d329215c192d350790b80010063e1&libraryVersion=Dyson/3.5.7 (iOS 9.3.1)&additionalData=%7B%22app_version%22%3A%225.11.0%22%2C%22comp_version%22%3A%223.5.7%22%2C%22locale_lang%22%3A%22en%22%2C%22is_emulator%22%3Afalse%2C%22timestamp%22%3A1498862545599%2C%22ip_addrs%22%3A%22192.168.1.235%22%2C%22linker_id%22%3A%2236867603-6174-40b8-8d60-f00cdd090b57%22%2C%22vendor_identifier%22%3A%2285E52684-7B9B-40C8-8149-3AF751613F33%22%2C%22conf_url%22%3A%22https%3A%5C%2F%5C%2Fwww.siteobjects.com%5C%2Fwebstatic%5C%2Frisk%5C%2Fdyson_config_ios_v4.json%22%2C%22proxy_setting%22%3A%22host%3D192.168.1.242%2Cport%3D8888%2Ctype%3DkCFProxyTypeHTTPS%22%2C%22notif_token%22%3A%22%22%2C%22os_type%22%3A%22iOS%22%2C%22os_version%22%3A%229.3.1%22%2C%22location_auth_status%22%3A%22unknown%22%2C%22pin_lock_last_timestamp%22%3A1498861777904%2C%22pm%22%3A%222d935eb9%22%2C%22sms_enabled%22%3Afalse%2C%22conf_version%22%3A%224.0%22%2C%22payload_type%22%3A%22full%22%2C%22source_app%22%3A11%2C%22app_guid%22%3A%22fa8d329215c192d350790b80010063e1%22%2C%22ds%22%3Atrue%2C%22ip_addresses%22%3A%5B%22%3A%3A1%22%2C%22127.0.0.1%22%2C%22fe80%3A%3A1%22%2C%22fe80%3A%3A41d%3A305e%3A330%3Aecd8%22%2C%22192.168.1.235%22%2C%22fe80%3A%3A3c3b%3A43ff%3Afebe%3A9635%22%5D%2C%22dc_id%22%3A%22e421ce595d27c33a4912dc014213ecbd%22%2C%22tz%22%3A-14400000%2C%22device_model%22%3A%22iPad%20Mini%28WiFi%29%22%2C%22cloud_identifier%22%3A%22f08e9cc8-0f01-42b9-abe7-41d90a64136a%22%2C%22risk_comp_session_id%22%3A%229db8ae3b-d2d2-44ec-bea7-7b4d075825d4%22%2C%22device_name%22%3A%22Jammie%20Markos%22%2C%22local_identifier%22%3A%22a63bbdf6-eae5-4602-857b-4c89eae609b3%22%2C%22is_rooted%22%3Atrue%2C%22total_storage_space%22%3A%2213641986048%22%2C%22source_app_version%22%3A%225.11.0%22%2C%22pairing_id%22%3A%22c8595132fd344f9e9fb24b4a1374f7fa%22%2C%22ssid%22%3A%22default89%22%2C%22app_id%22%3A%22com.xcom.iphone%22%2C%22tz_name%22%3A%22America%5C%2FNew_York%22%2C%22conn_type%22%3A%22unknown%22%2C%22bssid%22%3A%225c%3Ad9%3A98%3Ae7%3Ac7%3A34%22%2C%22email_configured%22%3Atrue%2C%22locale_country%22%3A%22US%22%7D

    i

    I need to change this parameters, like:

    is_rooted%22%3Atrue into is_rooted%22%3Afalse

    I'l try use this:

    if (oSession.PathAndQuery("sitel.com:443")){
                  oSession["ui-backcolor"] = "lime";
                  oSession.utilDecodeResponse();
                  oSession.utilReplaceInResponse('is_rooted%22%3Atrue','is_rooted%22%3Afalse');
              }

     

    But it's not work.

    Regards, Ruslan.

  2. Wordpress
    Wordpress avatar
    2 posts
    Member since:
    Jun 2017

    Posted 01 Jul 2017 Link to this post

    I'll try this to fix https and modify request:
    But it's not work again...
        if (oSession.HostnameIs("sitel.com")) {   
                    oSession["ui-backcolor"] = "lime";
                  oSession.utilDecodeResponse();
                  oSession.utilReplaceInResponse('is_rooted%22%3Atrue','is_rooted%22%3Afalse');
    }
Back to Top