Still troubles with Webinject

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Still troubles with Webinject

Post by dlukinski »

Still having great troubles with WebInject while "Standard" Website/URL checks do no work :-\

This one is a typical ASP.NET page (one of redirects) we have to work with. However XI cannot do that?

Unable to get anything out of this page (curl down below) - <title> Sign in to your account </title> does not work for positive verification.

What could GET generally return for positive verification?

---------------------------------------

Code: Select all

# curl -v https://login.microsoftonline.com/login.srf?wa=wsignin1.0&rpsnv=4&ct=1462477331&rver=6.6.6556.0&wp=MBI_SSL&wreply=https%3a%2f%2foutlook.office.com%2fowa%2f&id=260563&CBCXT=out&msafed=0
[1] 41850
[2] 41851
[3] 41852
* About to connect() to login.microsoftonline.com port 443 (#0)
*   Trying 94.245.88.223... [4] 41853
[5] 41854
[6] 41855
[7] 41856
[8] 41857
[2]   Done                    rpsnv=4
[3]   Done                    ct=1462477331
[4]   Done                    rver=6.6.6556.0
[5]   Done                    wp=MBI_SSL
[7]-  Done                    id=260563
[root@fikc-nagxidev01 webinject]# connected
* Connected to login.microsoftonline.com (94.245.88.223) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
*       subject: CN=login.microsoftonline.com
*       start date: Apr 02 01:24:07 2016 GMT
*       expire date: Apr 02 01:24:07 2018 GMT
*       common name: login.microsoftonline.com
*       issuer: CN=Microsoft IT SSL SHA2,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US
> GET /login.srf?wa=wsignin1.0 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: login.microsoftonline.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/8.5
< x-ms-request-id: c7b30e40-4624-4215-b255-3426a9b053f1
< client-request-id: 6236bbad-7dd7-48c7-9f57-d4b37305ee2b
< X-Frame-Options: DENY
< x-ms-gateway-service-instanceid: ESTSFE_IN_42
< X-Content-Type-Options: nosniff
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
< Set-Cookie: flight-uxoptin=true; path=/; secure; HttpOnly
< Set-Cookie: buid=AAABAAEAiL9Kn2Z27UubvWFPbm0gLUSPIw9WkMh7BFyds1hFysuxzTGaYAz0e6uZCUfhMXDX0I6hcwgmxzlc5ZzAZ_lWfM0Yt8-ISpMOrEnS5UF_CYp6Utml4Ohsv9uJ3yCgmjWfIAA; expires=Tue, 01-Nov-2016 19:46:27 GMT; path=/; secure; HttpOnly
< Set-Cookie: esctx=AAABAAAAiL9Kn2Z27UubvWFPbm0gLbSWENvtc2_cqB8z05l1se6X0Lf0sKAni29SOtcOSHRsDg_xMtYsu8FMBxr6Dwm7TKHAb7zc2XUkuqqLMirJaI1XKZHeVGXsB9FYZ9Yct1zZM9xm0B20a376rVbSZ5dCqW6x2CJQwIMn0XjsVMS5R_QY6YOXKzbKz0DJIs9BIxJPIAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly
< Set-Cookie: x-ms-gateway-slice=productiona; path=/; secure; HttpOnly
< Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
< X-Powered-By: ASP.NET
< Date: Thu, 05 May 2016 19:46:27 GMT
< Content-Length: 34135
<


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr">
    <head>





<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta name="PageID" content="i5030.2.0" />
<meta name="SiteID" content="" />
<meta name="ReqLC" content="1033" />
<meta name="LocLC" content="en-US" />
<meta name="mswebdialog-newwindowurl" content="*" />

    <link rel="SHORTCUT ICON" href="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/favicon_a.ico" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
<link href="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/cdnbundles/login.min.css" rel="stylesheet" />



<style>
    .no_display {
        display: none;
    }
</style>

    <!--[if lte IE 10]>
      <link href="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/cdnbundles/login_ie.min.css" rel="stylesheet" />

    <![endif]-->

<!--[if lte IE 7]>
  <style type='text/css'>
    .ie_legacy { display: none; }
    body { background-color: #0072C6; }
  </style>
<![endif]-->


<script type="text/javascript">
    if ((navigator.userAgent.match(/iPad/) || navigator.userAgent.match(/iPhone/))
        && (window.innerWidth)) {
        try {
            viewport = document.querySelector("meta[name=viewport]");
            viewport.setAttribute('content', 'width=' + window.innerWidth + ', initial-scale=1.0, maximum-scale=1.0');
            window.onresize = function(event) {
                viewport.setAttribute('content', 'width=' + window.innerWidth + ', initial-scale=1.0, maximum-scale=1.0');
            };
            window.onorientationchange = function (event) {
                document.activeElement.blur();
            };
        } catch (err) {
        }
    }

    var isTouch =  !!("ontouchstart" in window) || window.navigator.msMaxTouchPoints > 0;
    if (!isTouch && true) {
        var cssId = 'hovereffect';
        if (!document.getElementById(cssId)) {
            var head = document.getElementsByTagName('head')[0];
            var link = document.createElement('link');
            link.id = cssId;
            link.rel = 'stylesheet';
            link.type = 'text/css';
            link.href =
            "https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/cdnbundles/login_hover.min.css";
            link.media = 'all';
            head.appendChild(link);
        }
    }
 </script>
<script type="text/javascript">
    if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
        var msViewportStyle = document.createElement("style");
        msViewportStyle.appendChild(
              document.createTextNode(
                  "@-ms-viewport{width:auto!important}"
              )
          );
        msViewportStyle.appendChild(
              document.createTextNode(
                  "@-ms-viewport{height:auto!important}"
              )
          );
        document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
    }
</script>



<script src="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/cdnbundles/jquery.1.11.min.js"></script>
<script src="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/cdnbundles/aad.login.min.js"></script>

<style>
    body
    {
        display: none;
    }
</style>

        <title>
Sign in to your account        </title>
    </head>
    <body>


    <script>
        if (self == top) {
            var body = $('body');
            body.css('display', 'block');
        } else {
            top.location = self.location;
        }
    </script>



<div id="background_branding_container" class="ie_legacy" style="background: #FFFFFF">
    <img id="background_background_image" alt="Illustration">
    <div id="auto_low_bandwidth_background_notification" class="smalltext">It looks like you're on a slow connection. We've disabled some images to speed things up.</div>
    <div id="background_company_name_text" class="background_title_text">
    </div>
</div>
<div id="background_page_overlay" class="overlay ie_legacy">
</div>

        <div id="login_no_script_panel" class="login_panel">


<noscript>
    <style>body { display: block; }</style>
    <div class="login_inner_container no_js">
        <div class="inner_container cred">
            <div class="login_workload_logo_container">
            </div>
            <div id="login_no_js_error_container" class="login_full_error_container">
                <div id="login_no_js_error_text" class="cta_text 1">

                    <H1>We can't sign you in</H1><p>Your browser is currently set to block JavaScript. You need to allow JavaScript to use this service.</p><p>To learn how to allow JavaScript or to find out whether your browser supports JavaScript, check the online help in your web browser.</p>
                </div>
            </div>
        </div>
    </div>


<div id="footer_links_container" class="login_footer_container">
    <div class="footer_inner_container">
        <table id="footer_table" class="footer_block">
                <tr>
                    <td>
                        <div>
                            <div class="corporate_footer">
                                    <div>
                                        <span class="footer_link text-caption" id="footer_copyright_link">
                                            © 2016 Microsoft
                                        </span>
                                    </div>
                                    <div>
                                        <span class="footer_link">
                                            <a class="text-caption" id="footer_link_terms" href="https://login.microsoftonline.com/termsofuse">Terms of use</a>
                                        </span>
                                        <span class="footer_link">
                                            <a class="text-caption" id="footer_link_privacy" href="https://login.microsoftonline.com/privacy">Privacy & Cookies</a>
                                        </span>
                                    </div>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="footer_glyph">
                            <img src="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/microsoft_logo.png" alt="Microsoft account symbol" />
                        </div>
                    </td>
                </tr>
        </table>
    </div>
</div>
<div id="login_prefetch_container" class="no_display">
</div>

</noscript>

        </div>
        <div id="login_panel" class="login_panel">
            <div class="legal_container"></div>
            <table class="login_panel_layout" style="height: 100%;">
                <tr class="login_panel_layout_row" style="height: 100%;">
                    <td id="login_panel_center">


    <script type="text/javascript">
        $(document).ready(function () {
        if ($.support.cookies) {
            $('.login_inner_container').removeClass('no_display');
            $('.no_cookie').addClass('no_display');
        } else {
            $('.login_inner_container').addClass('no_display');
            $('.no_cookie').removeClass('no_display');
        }
        });
    </script>
    <div class="login_inner_container no_cookie no_display">
        <div class="inner_container cred">
            <div class="login_workload_logo_container">
            </div>
            <div id="login_no_cookie_error_container" class="login_full_error_container">
                <div id="login_no_cookie_error_text" class="cta_text 1">

                    <H1>We can't sign you in</H1><p>Your browser is currently set to block cookies. You need to allow cookies to use this service.</p><p>Cookies are small text files stored on your computer that tell us when you're signed in. To learn how to allow cookies, check the online help in your web browser.</p>
                </div>
            </div>
        </div>
    </div>
                        <script type="text/javascript">
                            $(document).ready(function () {


Constants.DEFAULT_LOGO = 'https://secure.aadcdn.microsoftonline-p.com/dbd5a2dd-6ybrougjmflxqw910ieyohr7wb4x4-yvoixrlaidmz4/appbranding/askzfdsqe20i-bcjwporaywega7vbt4acqnn1hiliiw/0/bannerlogo?ts=635974776182591704';


Constants.DEFAULT_LOGO_ALT = 'Office 365';
Constants.DEFAULT_ILLUSTRATION = 'https://secure.aadcdn.microsoftonline-p.com/dbd5a2dd-6ybrougjmflxqw910ieyohr7wb4x4-yvoixrlaidmz4/appbranding/askzfdsqe20i-bcjwporaywega7vbt4acqnn1hiliiw/0/heroillustration?ts=635974776187911809';
Constants.DEFAULT_BACKGROUND_COLOR = '#EB3C00';
Constants.BOILERPLATE_HEADER = '';
Constants.DEFAULT_BOILERPLATE_HEADER = '';
Constants.DEFAULT_BOILERPLATE_TEXT = '';





    User.UpdateLogo(Constants.DEFAULT_LOGO, Constants.DEFAULT_LOGO_ALT);
    User.UpdateBackground(Constants.DEFAULT_ILLUSTRATION, Constants.DEFAULT_BACKGROUND_COLOR);

    if (Constants.DEFAULT_BOILERPLATE_TEXT.length > 0) {
        TenantBranding.AddBoilerPlateText(Constants.DEFAULT_BOILERPLATE_TEXT, Constants.DEFAULT_BOILERPLATE_HEADER);
    }


                                jQuery('img#logo_img').attr('src', '');
                                Context.use_instrumentation = true;


                                $('#footer_link_terms').click(function(event) {
                                    event.preventDefault();
                                    MSLogin.Support.LegalActionLink('/termsofuse');
                                });

                                $('#footer_link_privacy').click(function(event) {
                                    event.preventDefault();
                                    MSLogin.Support.LegalActionLink('/privacy');
                                });

                                $('#footer_link_privacy_windows').click(function(event) {
                                    var flyoutButton = $('#footer_link_privacy_windows')[0]; // anchor
                                    var flyout = $('#flyoutPrivacyStatement')[0]; // flyout div
                                    var pageTop = $('.body-container')[0].getBoundingClientRect().top + (window.pageYOffset || document.documentElement.scrollTop || 0);
                                    flyout.style.marginTop = pageTop + "px"; // adjust margin top so flyout doesn't cover header
                                    flyout.winControl.show(flyoutButton, "top", "left");
                                });

                                if(!Constants.IS_ADAL_REQUEST) {
                                    $('#create_msa_account_link, #account_not_found_title_text > p > a').click(function(event){
                                        event.preventDefault();
                                        var msaLink = event.target.getAttribute("href");
                                        window.open(msaLink, '_blank');
                                        window.focus();
                                    });
                                } else {
                                    $('#account_not_found_title_text p').toggleClass('no_display');
                                }
                            });

                        </script>
                        <div class="login_inner_container">
                            <div id="true_inner" class="inner_container cred">
                                    <div class="login_workload_logo_container"></div>
                                <div class="spacer"></div>





<div id="login_error_container" class="login_error_container"></div>
<div class="login_cta_container normaltext">
            <div id="login_cta_text" class="cta_message_text 1">Work or school, or personal Microsoft account</div>

    <div id="cta_client_message_text" class="no_display template-tooltip tooltipType_error">
        <!-- Email Discovery Main -->
        <div class="cta_message_text 30136">Type the email address or phone number of the account you want to sign in with.</div>
        <!-- Email Discovery Lookup Timeout -->
        <div class="cta_message_text 30140">We're having trouble locating your account. Which type of account do you want to use?</div>
        <!-- Email Discovery Account not found -->
        <div id="upn_needs_disambiguation_text" class="cta_message_text 30139">
        </div>
        <!-- Tenant branding call to action -->
        <div id="tenant_branding_cta_text" class="cta_message_text 30008">Sign in to {0}</div>
        <!-- Which accound do you want to use -->
        <div class="cta_message_text 30173">Which type of account do you want to sign in with?</div>
    </div>
    <div id="cta_client_error_text" class="error_msg errortext no_display template-tooltip tooltipType_error">
        <!-- Invalid ID or password -->

        <div class="client_error_msg 30067"><H1>We don't recognize this user ID or password</H1><p>Be sure to type the password for your work or school account.</p></div>
        <!-- Malformed id -->

        <div class="client_error_msg 30064"><H1>This doesn't look like a valid user ID</H1><p>Try using your email address or phone number.</p></div>
        <!-- Username not found -->

        <div class="client_error_msg 30065"><H1>{0} isn't in our system </H1><p>Make sure you typed your address or phone number correctly, or <A HREF="https://signup.live.com/signup.aspx?id=12&uiflavor=web&lw=1&fl=easi2&mkt=en-US">get a new Microsoft account</A>.</p></div>
        <!-- Malformed id (DOMAIN\alias format) -->

        <div class="client_error_msg 30066"><H1>This doesn't look like a valid user ID</H1><p>Try using your email address or phone number.</p></div>
        <!-- Invalid domain name (not guests) -->

        <div class="client_error_msg 30068"><H1>{0} isn't in our system</H1><p>Make sure you typed your email address correctly. It usually looks like [email protected] or [email protected]</p></div>
        <!-- Missing password -->
        <div class="client_error_msg 30111">Please enter your password.</div>
        <!-- UserID is missing -->
        <div class="client_error_msg 30127">To sign in, start by entering a user ID.</div>
        <!-- Error message if email address is not properly formatted -->
        <div class="client_error_msg 30145">Check the email address you entered. You may have mistyped it.</div>
        <!-- Email Discovery could not find email address -->

        <div id="account_not_found_title_text" class="client_error_msg 30146"><H1>We couldn't find an account with that email address.</H1><p>Enter a different email address or <A HREF="https://signup.live.com/signup.aspx?id=12&uiflavor=web&lw=1&fl=easi2&mkt=en-US">get a new Microsoft account</A>.</p></div>
        <!-- Signout failed -->
        <div id="client_error_msg 30200" class="client_error_msg 30200">You may still be signed in to some applications. Close your browser to finish signing out.</div>
    </div>
</div>
<ul class="login_cred_container">
    <!-- From ViewTemplateBase/Tiles.cshtml -->
        <li id="login_user_chooser" class="login_user_chooser">
        </li>
    <!--  -->





    <!-- From ViewTemplateBase/Tiles.cshtml -->
    <div class="nav-settings-menu hidden dropdownPanel" id="signedin-dropdown">
        <ul class="nav-settings-menu-list">
            <li id="signoutContainer"><a href="#" id="signedin-signout">Sign out</a></li>
            <li id="signoutForgetContainer"><a href="#" id="signedin-signoutandforget">Sign out and forget</a></li>
        </ul>
    </div>
    <div class="nav-settings-menu hidden dropdownPanel" id="signedout-dropdown">
        <ul class="nav-settings-menu-list">
            <li id="forgetContainer"><a href="#" id="signedout-forget">Forget</a></li>
        </ul>
    </div>
    <!--  -->
    <li class="login_cred_field_container">


<form id="credentials" method="post" action="/common/login">
        <div id="cred_userid_container" class="login_textfield textfield">
            <span class="input_field textfield">
                <label for="cred_userid_inputtext" class="no_display">User account</label>
                <div class="input_border">
                    <input tabindex="1" id="cred_userid_inputtext"
                           class="login_textfield textfield required email field normaltext"
                           placeholder="Email or phone" type="email" name="login"
                           spellcheck="false" alt="Email or phone" aria-label="User account"
                           value="" autocomplete="off" />
                </div>
            </span>
        </div>
    <div id="looking_container" class="no_display">
        <span id="looking_cta_text" class="bigtext">Looking for an account</span>
        <span class="input_field normaltext login_textfield"><a id="looking_cancel_link" tabindex="3" href="#">Cancel</a> </span>
    </div>
            <div id="redirect_cta_text" class="bigtext">Redirecting</div>
            <div id="redirect_dots_animation" class="progress">
                <div class="pip">
                </div>
                <div class="pip">
                </div>
                <div class="pip">
                </div>
                <div class="pip">
                </div>
                <div class="pip">
                </div>
            </div>

        <div id="cred_password_container" class="login_textfield textfield">
            <span class="input_field textfield">
                <label for="cred_password_inputtext" class="no_display">Password</label>
                <div class="input_border">
                    <input tabindex="2" id="cred_password_inputtext"
                           class="login_textfield textfield required field normaltext"
                           placeholder="Password" spellcheck="false" aria-label="Password"
                           alt="Password" type="password" name="passwd" value="" />
                </div>
            </span>
        </div>
        <div id="redirect_message_container" class="login_textfield">
            <span class="input_field normaltext">
                <div>
                    <span id="redirect_message_text">We're taking you to your organization's sign-in page.</span><span
                        id="redirect_company_name_text"></span> <a
                        id="redirect_cancel_link" tabindex="3" href="">Cancel</a>
                </div>
            </span>
        </div>



<div id="cred_hidden_inputs_container" style="display: none">
  <input type="hidden" name="ctx" value="rQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1" />
  <input type="hidden" name="flowToken" value="AAABAAEAiL9Kn2Z27UubvWFPbm0gLQnj5lYYeuZz3PuMvupuBCHAcPWqwGoEXuCKNyYVVMrzrB7jEl_OaXwWffWoZUHonGUyJqKlDTpesesBbXiGGGbos6N9BeyqzFN91k7tp-tlWnspGsTnkzkuJP5reoLNtyAA" />
</div>
</form>

    </li>

        <li class="login_splitter_control">



<div id="splitter-tiles-view">
    <div>
        <script>
            Constants.SplitterControlData = [
                {
                    "name": "Work or school account",
                    "login": "Created by your IT department",
                    "image": "https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/work_account.png",
                    "link": 'MSLogin.SplitterControl.LoginAAD',
                    "authUrl": '',
                    "id": 'aad_account_tile',
                    "domainHint": ''
                }, {
                    "name": "Personal account",
                    "login": "Created by you",
                    "image": "https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/personal_account.png",
                    "link": 'MSLogin.SplitterControl.LoginMSA',
                    "authUrl": 'https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1&id=',
                    "id": 'mso_account_tile',
                    "domainHint": 'msa'
                }];
        </script>
    </div>
    <div id="splitter-tiles-container"></div>
</div>
        </li>
    <li class="login_cred_options_container" id="login_cred_options_container">


<div id="cred_kmsi_container" class="subtext normaltext">
    <span class="input_field ">
        <input tabindex="10" id="cred_keep_me_signed_in_checkbox" type="checkbox" value="0" class="win-checkbox" name="persist">
        <label id="keep_me_signed_in_label_text" for="cred_keep_me_signed_in_checkbox" class="persist_text">Keep me signed in</label>
    </span>
</div>



    <span id="cred_sign_in_button" tabindex="11"
          class="button normaltext cred_sign_in_button refresh_domain_state control-button button-two button_primary" role="button">Sign in</span>



    <span id="cred_cancel_button"
          class="button normaltext cred_cancel_button control-button button-one no_display"
          tabindex="11"
          role="button">
        Back
    </span>



        <div id="recover_container" class="subtext smalltext">
            <span>
                <a tabindex="12" href="#" onclick="MSLogin.Support.IForgotMyPassword()">Can’t access your account?</a>
            </span>
            <div class="i-forgot-my-password-content no_display stdMarginTop">
                <div>What kind of account do you have?</div>
                <div class="stdMarginTop">
                    <div class="stdMarginTop">
                        <a id="cred_msa_forgot_password_link" href="https://account.live.com/password/reset">Personal account</a>
                    </div>
                    <div class="stdMarginTop">
                        <a id="cred_forgot_password_link" href="https://passwordreset.microsoftonline.com/?ru=https%3a%2f%2flogin.microsoftonline.com%2fcommon%2freprocess%3fctx%3drQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1&mkt=en-US">Work or school account</a>
                    </div>
                </div>
            </div>
        </div>



    <div id="alternative-identity-providers">


    </div>



<div id="guest_hint_text" class="guest_direction_hint smalltext no_display">Don’t have an account assigned by your work or school?</div>
<div class="guest_redirect_container no_display">
    <span class="guest_redirect smalltext">
        <span>
            <a id="guest_redirect_link" tabindex="20" href="https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1&id=">Sign in with a Microsoft account</a>
        </span>
    </span>
</div>


            <li id="disambig-container" class="smalltext marginTop30px" style="display: none;">
                <div id="disambig-help-container">

                    Tired of seeing this? <a href="#" id="iDisambigRenameLink">Rename your personal Microsoft account.</a>
                </div>
            </li>

    </li>
</ul>


<div id="samlrequest_container" class="no_display">
    <form id="samlform" method="post" action="/common/login">
        <input type="hidden" id="samlrelaystate" name="RelayState" />
        <input type="hidden" id="samlrequest" name="SAMLRequest" />
    </form>
</div>







                            </div>
                            <div class="push">
                            </div>
                        </div>


<div id="footer_links_container" class="login_footer_container">
    <div class="footer_inner_container">
        <table id="footer_table" class="footer_block">
                <tr>
                    <td>
                        <div>
                            <div class="corporate_footer">
                                    <div>
                                        <span class="footer_link text-caption" id="footer_copyright_link">
                                            © 2016 Microsoft
                                        </span>
                                    </div>
                                    <div>
                                        <span class="footer_link">
                                            <a class="text-caption" id="footer_link_terms" href="https://login.microsoftonline.com/termsofuse">Terms of use</a>
                                        </span>
                                        <span class="footer_link">
                                            <a class="text-caption" id="footer_link_privacy" href="https://login.microsoftonline.com/privacy">Privacy & Cookies</a>
                                        </span>
                                    </div>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="footer_glyph">
                            <img src="https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/microsoft_logo.png" alt="Microsoft account symbol" />
                        </div>
                    </td>
                </tr>
        </table>
    </div>
</div>
<div id="login_prefetch_container" class="no_display">
</div>
                    </td>
                </tr>
            </table>
        </div>



<script type="text/javascript">
    var Constants = Constants || {};
    Constants.PREFILL_MEMBER_NAME = '';
    Constants.MEMBER_NAME = "";
    Constants.DEFAULT_FOOTER_LINKS = {
        'legal': {
            'label': 'Legal',
            'url': ''
        },
        'helpcentral': {
            'label': 'Help',
            'url': ''
        },
        'feedback': {
            'label': 'Feedback',
            'url': ''
        },
        'privacyandcookies': {
            'label': 'Privacy \u0026 Cookies',
            'url': 'https://login.microsoftonline.com/privacy'
        },
        'helpfor2fa': {
            'label': 'Help',
            'url': 'http://g.microsoftonline.com/0AX00en-US/670'
        }
    };

    Constants.DEFAULT_ENABLED_FOOTER_LINKS = [];
    Constants.REDIRECT_MESSAGES = {
        'AAD': "We\u0027re taking you to your organization\u0027s sign-in page.",
        'MSA': "We‘re taking you to the Microsoft account sign-in page."
    };

    Constants.FEDERATION_QUERY_PARAMETERS = '?username=&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1'.substr(1);
    Constants.CONTEXT = 'rQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1';
    Constants.BASE_URL = '/common/reprocess?';
    Constants.LATENCY_THRESHOLD = 2000;

    Constants.CDN_IMAGE_PATH = 'https://secure.aadcdn.microsoftonline-p.com/ests/2.1.2922.0/content/images/';
    Constants.PREFETCH_URL = "https://portal.microsoftonline.com/Prefetch/Prefetch.aspx";
    Constants.IS_USE_OTHER_ACCOUNT_VISIBLE = true;
    Constants.OTHER_ACCOUNT_TEXT = "Use another account";
    Constants.MAX_USER_TILES = 5;
    try {
        Constants.FEATURE_SLOT_MASK = 39847;
        Constants.FEATURE_SLOT_THRESHOLD = 2147482559;
    } catch (err) {
        if (typeof Util !== "undefined") {
            Util.debug_console('params slots ' + err);
        }
    }
    Constants.MSA_LABEL = "(Microsoft account)";
    Constants.PARTNER_NAME = "Sign in with your work or school account";
    Constants.DIR = 'ltr';
    Constants.METRICS_MODE = 1;  // Client metrics mode.

    if (Constants.TokenizedStringMsgs) {

        Constants.TokenizedStringMsgs.GENERIC_ERROR = "\u003cH1\u003eSorry, but we\u0027re having trouble signing you in\u003c/H1\u003e\u003cp\u003ePlease try again in a few minutes. If this doesn\u0027t work, you might want to contact your admin and report the following error: #~#ErrorCode#~#.\u003c/p\u003e";
        Constants.TokenizedStringMsgs.UPN_DISAMBIGUATE_MESSAGE = "It looks like {0} is used with more than one account. Which account do you want to use?";
    }


    Constants.FLOW_TOKEN = '';
    Constants.FLOW_TOKEN_COOKIE_NAME = 'ESTSWCTXFLOWTOKEN';
    Constants.LCID = "1033";
    Constants.MSA_ACCOUNT_IMG_ALT_TEXT = "Microsoft account symbol";
    Constants.AAD_ACCOUNT_IMG_ALT_TEXT = "Work or school account symbol";
    Constants.MSA_ACCOUNT_TILE_ALT_TEXT = "Microsoft account for {0}";
    Constants.AAD_ACCOUNT_TILE_ALT_TEXT = "Work or school account for {0}";
    Constants.REALM_RESOLVER_URL = "/common/userrealm/";
    Constants.FORCED_SIGN_IN = false;
    Constants.MSA_AUTH_URL = 'https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=estsredirect%3d2%26estsrequest%3drQIIAbPSySgpKSi20tcvyC8qSczRy81MLsovzk8ryc_LycxL1UvOz9XLL0rPTAGxioS4BNbuNku6XnvcY374lc3FrO-0VzEqEzZC_wIj4wtGxltMgv5F6Z4p4cVuqSmpRYklmfl5j5h4Q4tTi_zzcipD8rNT8yYx8-Xkp2fmxRcXpcWn5eSXAwWAJhQkJpfEl2QmZ6eW7GJWsUgyTEo2SzXSTTFLSdE1MTEz1E0yNE_RNTKyNDVLtEw2NzAyucAi8IOFcREr0M0OfJuPq7iJOm0KNVFbuSH44wFORgA1&id=';
    Constants.IS_CXH_REQUEST = false;
    Constants.IS_ADAL_REQUEST = false;
    Constants.IS_NAME_COEXISTENCE_ACCOUNT = false;
    Constants.ADAL_UX_OVERRIDE = false;
    Constants.CANCEL_REDIRECT_URL = 'https://portal.microsoftonline.com?error=access_denied&error_subcode=cancel';
    Constants.IS_MSA_FED_SUPPORTED = true;
    Constants.IS_MSA_PHONE_USERNAME_SUPPORTED = true;
    Constants.IS_MSA_REDIR_SUPPORTED = false;
    Constants.MSA_DOMAIN = 'live.com';
    Constants.PROMPT = '';
    Constants.CLICKFORMORE = "Click for more actions";
    Constants.CONNECTEDTOWINDOWS = "Connected to Windows";
    Constants.SIGNEDIN = "Signed in";
    Constants.CLICKTOSIGNIN = "";
    Constants.SIGNINGOUT = "Signing out...";
    Constants.USERNAME_HINT_TEXT = 'Email or phone';
    Constants.IS_LOGOUT_REQUEST = false;
    Constants.SHOULD_HIDE_SIGNUP = false;
    Constants.USE_DARK_TILE_LOGO = false;
    Constants.HAS_ERROR = false;
    Constants.IS_MOBILE = false;
    Constants.SIGNOUTFORGET_URL_TEMPLATE = "/uxlogout?sessionId={0}&shouldForgetUser={1}";
    Constants.IS_HOLOGRAPHIC = false;
    Constants.Header_Text_Username = 'Sign in with your work account';
    Constants.Header_Text_Password = 'Enter your password';
    Constants.Header_Text_Privacy = 'Privacy statement';
    Constants.Use_Client_Check_Msa_Flag = true;
    Constants.DisambigHelpUrl = "https://go.microsoft.com/fwlink/p/?LinkID=733247";
    Constants.CxhFlow = "";
    Constants.EncryptOOBEPassword = true;



    Constants.isProxyRequest = false;
    Constants.isMsaSupported = Constants.IS_MSA_FED_SUPPORTED || Constants.isProxyRequest;



    if (typeof User !== "undefined") {
        // Setup cta message fields.
        User.setupCallToActionMessages();
    }

    Constants.SPLIT_VIEW_ENABLED = true;

    // Other tile
    var Tiles = Tiles || {};
    Tiles.otherJSON = {
        'name': 'Use another account',
        'login': '',
        'imageAAD': 'other_glyph.png',
        'imageMSA': 'other_glyph.png',
        'isLive': false,
        'link': 'other',
        'authUrl': '',
        'sessionID': '',
        'domainHint': 'other'
    };
</script>






<!-- Pull suppressed as UseAgent does not indicate Win10 or mobile Win10 TH2+ -->

    </body>
</html>
* Connection #0 to host login.microsoftonline.com left intact
* Closing connection #0
Last edited by hsmith on Fri May 06, 2016 1:54 pm, edited 2 times in total.
Reason: Please wrap long output in [code][/code] tags to make your post easier to read.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Still troubles with Webinject

Post by rkennedy »

What seems to be the issue when you try to run the web inject? I see you posted the curl, but I'm having a hard time seeing what you're trying to accomplish with Nagios.

What have you tried so far, on the web inject portion side of things?
Former Nagios Employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Still troubles with Webinject

Post by dlukinski »

rkennedy wrote:What seems to be the issue when you try to run the web inject? I see you posted the curl, but I'm having a hard time seeing what you're trying to accomplish with Nagios.

What have you tried so far, on the web inject portion side of things?
for the same as the curl output, I have to use responsecode because I am not sure what kind of content I could read with "get":
When having to use WEbInject & redirects it is crucial to know what I could read from pages with "get" to make sure I am actually getting there
---------------------------------------------------------------------------------------------
<testcases repeat="1">

<case
id="1"
description1="Connecting to Office 365 Teamsites Login page"
method="get"
url="https://login.microsoftonline.com/login.srf"
verifyresponsecode="200"
errormessage="Unable to connect to the login page of Office 365 Teamsites"
/>

<case
id="2"
description1="Offce 365 Teamsites Login"
method="post"
url="https://login.microsoftonline.com/login.srf"
postbody="username=[email protected]&password=mypassword"
errormessage="Office 365 login not successful"
/>
</testcases>
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Still troubles with Webinject

Post by ssax »

Are you saying that if you use verifypositive it doesn't work?

Code: Select all

<testcases repeat="1">

<case
id="1"
description1="Connecting to Office 365 Teamsites Login page"
method="get"
url="https://login.microsoftonline.com/login.srf"
verifypositive="Sign in to your account"
errormessage="Unable to connect to the login page of Office 365 Teamsites"
/>
</testcases>
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Still troubles with Webinject

Post by ssax »

Also, I think the problem is that it really depends on how the content is outputted:

This is what the page outputs:

Code: Select all

<title>
Sign in to your account        </title>
Here is what you were searching for:

Code: Select all

<title> Sign in to your account </title>
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Still troubles with Webinject

Post by ssax »

I found that you need to escape values because it is a regex, I'm not sure about it checking multiline output though, maybe as long as your regex supports it:

Code: Select all

verifypositive="Sign in to your account        \<\/title\>"
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Still troubles with Webinject

Post by dlukinski »

ssax wrote:I found that you need to escape values because it is a regex, I'm not sure about it checking multiline output though, maybe as long as your regex supports it:

Code: Select all

verifypositive="Sign in to your account        \<\/title\>"
This works so far, would it work for any title in circumstance while over redirects?
Does the amount of "spaces" matter in this line: "Sign in to your account \<\/title\>"?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Still troubles with Webinject

Post by ssax »

Would it work for any title in circumstance while over redirects?
I apologize, can you rephrase this, I don't understand what you're asking.


I assume it's literal, meaning it reads the spaces and everything so they would be required.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Still troubles with Webinject

Post by dlukinski »

ssax wrote:
Would it work for any title in circumstance while over redirects?
I apologize, can you rephrase this, I don't understand what you're asking.


I assume it's literal, meaning it reads the spaces and everything so they would be required.
--------------------------------------------------------------------------------------------------------------------

Let's take this page source for example:
- What I could check for by using Webinject (absolutely no text)?
- What I could post (press) by using Webinject?

Code: Select all

<!DOCTYPE html> 
<html lang = "en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script>document.cookie='|sameuisession|=;expires=Thu, 01 Jan 0000 00:00:00 GMT;';</script><link rel="apple-touch-icon" href="images/favicon_touch.png"/>
<link rel="icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/>
<link id="jqg_them" type="text/css" rel="stylesheet" href="23044/scripts/3rdParty/jqGrid/current/css/ui.jqgrid.css"/>
<link id="fc_theme" type="text/css" rel="stylesheet" href="files/3rdParty/themes/fullcalendar/fullcalendar.css"/>
<link id="fc_theme_1" type="text/css" rel="stylesheet" href="files/3rdParty/themes/switch/jquery.switch.css"/>
<link id="jqcalc_t" type="text/css" rel="stylesheet" href="
23044/scripts/3rdParty/jquery.calculator/current/jquery.calculator.css"/>
<link id="dyt_them" type="text/css" rel="stylesheet" href="javascript:void(0)"/>
<link id="candy_theme" type="text/css" rel="stylesheet" href="
23044/scripts/3rdParty/candy-chat/res/default.css"/>
<link id="sp_theme" type="text/css"  rel="stylesheet" href="files/print_oui.css" media="print"/>
<title>Siebel</title>
<script> var strWindowId = "1";
</script><script> var SiebelApp = SiebelApp || {}; var SiebelAppFacade = SiebelAppFacade || {}; SWEIsHighInteract = true; </script><script language="javascript">var SIEBEL_BUILD='23044/scripts/';</script>
<script language="javascript">var require = { urlArgs : "_scb=8.1.1.14_SIA_[23044]_ENU" };</script>

<script language="javascript" src="23044/scripts/swecommon.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/swecmn_hi.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/swemessages_enu.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/samples/custom_messages.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/jsPropset.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/require.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/require-ext.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/jquery.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/siebelmobilefilemgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/jquery-ui/current/ui/minified/jquery-ui.min.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/accessible-jqui/jquery.ui.menubar.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/jquery-ui-ext.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/history/scripts/bundled/html4html5/jquery.history.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/history-ext.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/3rdParty/moderniz.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/siebjs.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/utils.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/loadindicator.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/siebelconstants.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/ajaxrequestmgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/contentloader.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/applicationenv.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/cmdmgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/componentmgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/component.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/applicationcontext.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/histmgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/htmltmplmgr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/errorObject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/service.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/interfacesi.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/facadeconstants.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/notifyobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/sweTimer.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/proxyfactory.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/view.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/busobj.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/applet.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/listapplet.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/buscomp.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/bcfield.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/appletcontrol.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/menu.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/pmodel.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/basephyrenderer.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/viewpm.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/viewpr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/appletmenupmodel.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/listpmodel.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/taskpmodel.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/Playbarapplet.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/taskprenderer.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/phyrenderer.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/navigationrenderer.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/navctrlmngr.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/controlbuilder.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/StyleFlipper.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumboolobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumphoneobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/localeobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumLocalDefs.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumnumberobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumcurrencydataobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumcurrencyobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumintegerobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumdatetimeobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumdateobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumutcdatetimeobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<script language="javascript" src="23044/scripts/siebel/datumtimeobject.js?_scb=8.1.1.14_SIA_[23044]_ENU"></script> 
<LINK REL='stylesheet' TYPE='text/css' HREF='files/jctrls.css' /><script language="javascript" src="23044/scripts/rtcEditor.js"></script><script language="javascript" src="23044/scripts/swecommon_top.js"></script><script language="javascript" src="23044/scripts/swecommon.js"></script><script language="javascript" src="23044/scripts/navctrl.js"></script><script language="javascript" src="23044/scripts/sweutil_keyboard.js"></script><script language="javascript" src="23044/scripts/swecmn_hi_top.js"></script><script language="javascript" src="23044/scripts/objbase.js"></script><script language="javascript" src="23044/scripts/appearance.js"></script><script language="javascript" src="23044/scripts/busobjshadow.js"></script><script language="javascript" src="23044/scripts/buscompshadow.js"></script><script language="javascript" src="23044/scripts/appletshadow.js"></script><script language="javascript" src="23044/scripts/toolbar.js"></script><script language="javascript" src="23044/scripts/serviceshadow.js"></script><script language="javascript" src="23044/scripts/alarm.js"></script><script language="javascript" src="23044/scripts/applicationshadow.js"></script><script language="javascript" src="23044/scripts/trainingQueue.js"></script>
<script>this.ConfirmDeleteMessage ='Are you sure you want to delete this record?'</script><script> this.focus(); </script>
<script>
//<!-- 
var cmdMap = new Array();
cmdMap[cmdMap.length] = { Key:"110221", Method:"NextApplet", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"011221", Method:"NextApplet", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"011219", Method:"PrevApplet", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"110219", Method:"PrevApplet", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11086", Method:"ViewList", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"110187", Method:"NextFrame", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"011187", Method:"NextFrame", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"110189", Method:"PrevFrame", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"011189", Method:"PrevFrame", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11077", Method:"GotoAppletMenu", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11071", Method:"GotoAppletMenu", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"01177", Method:"GotoApplicationMenu", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11084", Method:"GotoScrnTab", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"01184", Method:"GotoViewTab", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"100113", Method:"GotoCTIToolBar", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"110114", Method:"GotoMessageBar", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"01186", Method:"GotoSubViewTab", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11082", Method:"GotoReportsMenu", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"01190", Method:"ViewInfo", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11050", Method:"GotoNextTreeNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11052", Method:"GotoSelectedTreeNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11049", Method:"GotoPrevTreeNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11054", Method:"GotoNextiHelpNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11053", Method:"GotoPreviHelpNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"11048", Method:"GotoSelectediHelpNode", Applet:"", Service:"", Argument:""};
cmdMap[cmdMap.length] = { Key:"100119", Method:"GotoChatPane", Applet:"", Service:"", Argument:""};

//-->
</script>
</head>
<div name="_sweclient" id="_sweclient"  src="">
</div>
<div style="visibility:hidden" name="_swe" id="_swe" title="" src="https://siebel.mydomain.com/service_eadsi/start.swe?SWECmd=GetCachedFrame&SWEACn=11083&SWEC=5&SWEFrame=top._swe&SRN="  tabindex=-1>
</div>
</body>
</html>
Last edited by hsmith on Mon May 16, 2016 2:06 pm, edited 1 time in total.
Reason: Please wrap long output in [code][/code] tags to make your post easier to read.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Still troubles with Webinject

Post by ssax »

Everything that you posted is text, it doesn't mean visible text, the HTML markdown is considered text, you could use anything that the web server outputs that would let you know that you're on that page, I don't know enough about your application and what that page you are on does to tell you what you should select. I will say that you are limited to what the web app gives you.

Can you show a sanitized screenshot to show what the page actually does?

Is this a javascript application?
Locked