From 71084eee40ff395c1638c384b0260228c76a0e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 17 Jul 2012 09:11:07 +0000 Subject: [PATCH] =?UTF-8?q?Beschreibung=20fuer=20Webservices,=20XSS=20L?= =?UTF-8?q?=C3=BCcken=20geschlossen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soap/index.html | 23 +++++++-- soap/ort.soap.php | 2 +- soap/projekt_jquery_client.php | 5 +- soap/semesterticket_client.php | 25 ++++++---- soap/soap_test_lv.php | 69 ++++++++++++++++++-------- soap/soap_test_mitarbeiter.php | 54 +++++++++++++++----- soap/soap_test_ort.php | 91 ++++++++++++++++++++++------------ soap/soap_test_student.php | 54 ++++++++++++-------- soap/stip_client.php | 45 +++++++++++++---- soap/test_client.php | 7 +-- 10 files changed, 262 insertions(+), 113 deletions(-) diff --git a/soap/index.html b/soap/index.html index a50f65fd6..b619fd5ad 100644 --- a/soap/index.html +++ b/soap/index.html @@ -1,7 +1,24 @@ -

FH Technikum Wien - STIP Soap Service

-STIP Test Client

-STIP WSDL +

FH Complete - Webservices

+

Studienbetrieb

+ +

Sonstiges

+ + diff --git a/soap/ort.soap.php b/soap/ort.soap.php index d732d2a4e..85f2da6b9 100755 --- a/soap/ort.soap.php +++ b/soap/ort.soap.php @@ -160,7 +160,7 @@ function getRaeume($raumtyp_kurzbz=null, $authentifizierung) /** * - * Funktion searchRaum Sucht einen Raum + * Funktion searchRaum - Sucht einen freien Raum * * @param date $datum * @param time $zeit_von diff --git a/soap/projekt_jquery_client.php b/soap/projekt_jquery_client.php index 93750c6f5..f7ff3db23 100755 --- a/soap/projekt_jquery_client.php +++ b/soap/projekt_jquery_client.php @@ -3,9 +3,11 @@ require_once('../config/vilesci.config.inc.php'); ?> + - + + - + + SOAP TestClient für Studenten - GetLehrveranstaltungFromUid
- GetLehrveranstaltungFromMatrikelnummer
- GetLehrveranstaltungFromStudiengang

- Show WSDL

+

Studierenden Webservice

+ Liefert Informationen ueber Studierende +

Funktionen

+ + Show WSDL +
+

Testformular

Name* : - + Passwort* : - + Student_uid* : - + @@ -123,15 +133,15 @@ if(!check_lektor($getuid)) - + - + - + @@ -196,27 +206,27 @@ if(!check_lektor($getuid))
Name* :
Passwort* :
Matrikelnummer* :
- + - + - + - + - + - + @@ -336,4 +346,6 @@ if(isset($_REQUEST['submit_studiengang'])) } class foo{} - ?> + ?> + + diff --git a/soap/stip_client.php b/soap/stip_client.php index e0e4a9c91..08d023310 100644 --- a/soap/stip_client.php +++ b/soap/stip_client.php @@ -1,10 +1,30 @@ . + */ require_once('../config/vilesci.config.inc.php'); require_once('../include/functions.inc.php'); +require_once('../include/basis_db.class.php'); require_once('stip.class.php'); $getuid=get_uid(); if(!check_lektor($getuid)) die('Sie haben keine Berechtigung für diese Seite.'); +$db = new basis_db(); ?> @@ -14,44 +34,46 @@ if(!check_lektor($getuid)) STIP-Client - +

Testclient für Webservice Stipendienstelle

+ Show WSDL +

Name* :
Passwort* :
Studiengang* :
Ausbildungssemester :
Verband :
Gruppe :
- + - + - + - + - + - + - + - + - + @@ -68,7 +90,6 @@ if(!check_lektor($getuid)) if(isset($_REQUEST['submit'])) { - //$client = new SoapClient("https://cis.technikum-wien.at/soap/stip.wsdl.php?".microtime()); $client = new SoapClient(APP_ROOT."/soap/stip.wsdl.php?".microtime()); $username = "test"; @@ -199,3 +220,5 @@ catch(e) } + + diff --git a/soap/test_client.php b/soap/test_client.php index c39c68453..be66e0bd7 100644 --- a/soap/test_client.php +++ b/soap/test_client.php @@ -51,10 +51,11 @@ if(!check_lektor($uid)) - +

Testclient für Webservices

+ - - + +
ErhKz:">">
AnfragedatenID:">">
Semester:">">
Studienjahr:">">
PersKz:">">
SVNR:">">
Familienname:">">
Vorname:">">
Typ:">">