1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. Concara

Beiträge von Concara

  • Problem mit OutlookEX - Kalenderdaten sollen innerhalb eines bestimmten Zeitraums in einen anderen Kalender kopiert werden

    • Concara
    • 8. Februar 2019 um 11:39

    Hallo AutoITer!

    Wie in der Themabezeichnung geschrieben, möchte ich gerne von einem Kalender (Outlook 2010) Daten innerhalb eines bestimmten Zeitraums in einen anderen Kalender kopieren.

    Dazu habe ich mir die OutlookUDF (Ver. 1.3.4.1) heruntergeladen und ein Programm zusammengestellt.

    Dabei kommt es bei der Ausführung zu folgenden Problemen.

    1.) Ich habe eine Abfrage des Zielordners (Kalender) eingebaut. Führe ich das Script aus dem SciTE aus funktioniert es mit einem Zeitraum >= einem Jahr, ich erhalte keine Fehlermeldung.

    Gebe ich den gleichen Zeitraum ein und starte das Script als compilierte EXE erhalte ich von meiner Ordnerabfrage einen Fehler!?

    2.)Verwende ich einen langen Zeitraum kommt es sehr oft vor, dass beim Auslesen der Kalenderdaten nicht alle Felder eingelesen werden.

    Darunter die für mein Script notwendige EntryId.

    3.)Selbst wenn es scheint das alles funktioniert werden keine Kalendereinträge kopiert. (keine Fehlermeldung)

    Kennt jemand diese Probleme und weiß eine Lösung?

    Ich habe den Verdacht, das die OutlookEx UDF nicht stabil funktioniert.

    Spoiler anzeigen
    C
    #include <OutlookEx.au3>
    #include <Array.au3>
    #include <Date.au3>
    
    $oOL = _OL_Open()
    Global $sStart = "2018/01/01 00:01"
    Global $sEnd = "2018/23/12 23:59"
    Global $sQuellKalender = "*\Kalender"
    Global $sZielKalender = "*\synctest"
    Local $i
    Local $ii
    Local $aItems2
    Local $aItems
    Local $sInputStartDatum
    Local $sInputEndDatum
    
    Local $aConfig = IniReadSection(@ScriptDir & "\config.ini", "Einstellungen")
    If @error Then
        MsgBox(16, "", "Keine config.ini Datei vorhanden, es wird eine Beispiel Datei erzeugt." & @CR & "Nach klick auf Ok wird das Programm neu gestartet.")
        IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "StartDatum", _NowDate())
        IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "EndDatum", _DateTimeFormat(_DateAdd("h", 720, _NowCalc()), 2))
        IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "QuellKalender", @UserName & "\Kalender")
        IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "ZielKalender", @UserName & "\synctest")
        If FileExists(@ScriptDir & "\config.ini") Then
            Run(@ScriptDir & "\" & @ScriptName)
        Else
            MsgBox(16, "", "Die INI Datei konnte nicht erstellt werden." & @CR & "Das Programm wird beendet.")
        EndIf
        Exit
    Else
        $sQuellKalender = $aConfig[3][1]
        $sZielKalender = $aConfig[4][1]
        ;_ArrayDisplay($aConfig)
    EndIf
    
    $sInputStartDatum = InputBox("Startdatum", "Bitte geben sie das Startdatum ein ab wann die Kalendereinträge kopiert werden sollen.", $aConfig[1][1], " M10")
    If @error Then Exit
    IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "StartDatum", $sInputStartDatum)
    $sInputStartDatum &= " 00:01"
    $sStart = _DateTime($sInputStartDatum)
    ConsoleWrite($sInputStartDatum & @CR)
    $sInputEndDatum = InputBox("Enddatum", "Bitte geben sie das Enddatum ein bis zu dem die Kalendereinträge kopiert werden sollen.", $aConfig[2][1], " M10")
    If @error Then Exit
    IniWrite(@ScriptDir & "\config.ini", "Einstellungen", "EndDatum", $sInputEndDatum)
    $sInputEndDatum &= " 23:59"
    $sEnd = _DateTime($sInputEndDatum)
    _OL_FolderAccess($oOL, $sQuellKalender)
    If @error = 4 Then
        MsgBox(16, "", "Der angegebene Ordner " & $sQuellKalender & " konnte nicht gefunden werden." & @CR & "Das Programm wird beendet.")
        Exit
    EndIf
    $aItems = _OL_AppointmentGet($oOL, $sQuellKalender, $sStart, $sEnd)
    If Not IsArray($aItems) Then
        MsgBox(16, "Fehler", "Keine Kalendereinträge gefunden!", 30)
        Exit
    EndIf
    _ArrayDisplay($aItems, $sQuellKalender)
    _OL_FolderAccess($oOL, $sZielKalender)
    If @error = 4 Then
        MsgBox(16, "", "Der angegebene Ordner " & $sZielKalender & " konnte nicht gefunden werden." & @CR & "Das Programm wird beendet.")
        Exit
    EndIf
    $aItems2 = _OL_AppointmentGet($oOL, $sZielKalender, $sStart, $sEnd)
    If IsArray($aItems2) Then
        For $i = UBound($aItems) - 1 To 0 Step -1
            For $ii = 0 To UBound($aItems2) - 1
                If $aItems[$i][3] & $aItems[$i][4] & $aItems[$i][5] = $aItems2[$ii][3] & $aItems2[$ii][4] & $aItems2[$ii][5] Then
                    ConsoleWrite($aItems[$i][3] & $aItems[$i][4] & $aItems[$i][5] & " - " & $aItems2[$ii][3] & $aItems2[$ii][4] & $aItems2[$ii][5] & @CR)
                    _ArrayDelete($aItems, $i)
                    ExitLoop
                EndIf
            Next
        Next
    EndIf
    _ArrayDisplay($aItems, "Kalendereinträge die in den Zielkalender" & $sZielKalender & " kopiert werden.")
    For $i = 0 To UBound($aItems) - 1
        _OL_ItemCopy($oOL, $aItems[$i][0], "", $sZielKalender)
        If @error Then
            ConsoleWrite("Fehler: " & @error & " erweiterter Fehler: " & @extended)
        EndIf
    Next
    
    Func _DateTime($_sDateTime)
        Return StringFormat("%4d/%02d/%02d %02d:%02d", StringMid($_sDateTime, 7, 4), StringLeft($_sDateTime, 2), StringMid($_sDateTime, 4, 2), StringMid($_sDateTime, 12, 2), StringRight($_sDateTime, 2))
    EndFunc   ;==>_DateTime
    Alles anzeigen
  • Outlook​ Mail Absender, Empfänger und Betreff auslesen

    • Concara
    • 23. Juni 2015 um 17:42

    @water

    _OL_ItemFind erzeugt aber kein Array wenn man als Attribut Recipients angiebt.
    Es wird ein Fehler ausgegeben Error 4 und Extended Error 1
    Laut deiner UDF Beschreibung:
    4 - Error accessing specified property. For details check @extended
    + n is either 0 (property does not exist) or 1 (Property has invalid case)

    AutoIt
    #include <Array.au3>
    #include <outlookEX.au3>
    $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") ; Implementiert einen eigenen Error-Handler
    
    
    Global $oOutlook = _OL_Open()
    If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF:", "Error connecting to Outlook. @error = " & @error & ", @extended: " & @extended)
    $aItems = _OL_ItemFind($oOutlook, "*\18.Sicherung", $olMail, "", "", "", "Recipients", "", 1)
    If @error Then ConsoleWrite("error: " & @error & @CR & "Extended Error: " & @extended & @CR)
    For $element In $aItems
    	MsgBox(0, "", $element)
    Next
    
    
    _ArrayDisplay($aItems)
    
    
    Func MyErrFunc()
    	$HexNumber = Hex($oMyError.number, 8)
    	MsgBox(0, "", "Ein COM-Fehler wurde abgefangen!" & @CRLF & _
    			"Fehlernummer: " & $HexNumber & @CRLF & _
    			"WinDescription: " & $oMyError.windescription)
    	SetError(1) ; Ein Rückgabewert zum Überprüfen, wen die Funktion zurückgekehrt ist
    EndFunc   ;==>MyErrFunc
    Alles anzeigen
  • Outlook​ Mail Absender, Empfänger und Betreff auslesen

    • Concara
    • 23. Juni 2015 um 10:54

    @water

    Wie kann man das Recipients Attribut auswerten?
    Wenn ich es test dann bekomme ich kein Array zurück.
    Alle Attribute die einen String, Boolean, Date, Long zurückgeben werden im Array angezeigt.

    Array wird angezeigt:

    AutoIt
    #include <Array.au3>
    #include <outlookEX.au3>
    Global $oOutlook = _OL_Open()
    If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF:", "Error connecting to Outlook. @error = " & @error & ", @extended: " & @extended)
    $aItems = _OL_ItemFind($oOutlook, "*\Outlookordner", $olMail, "", "", "", "ReceivedByName,SenderEmailAddress,SenderName,To", "", 1)
    _ArrayDisplay($aItems)
    $aItems2 = _OL_VersionInfo()
    _ArrayDisplay($aItems2)


    Array wird nicht angezeigt:(Attribut Recipients)

    AutoIt
    #include <Array.au3>
    #include <outlookEX.au3>
    Global $oOutlook = _OL_Open()
    If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF:", "Error connecting to Outlook. @error = " & @error & ", @extended: " & @extended)
    $aItems = _OL_ItemFind($oOutlook, "*\Outlookordner", $olMail, "", "", "", "Recipients", "", 1)
    _ArrayDisplay($aItems)
    $aItems2 = _OL_VersionInfo()
    _ArrayDisplay($aItems2)
  • Outlook​ Mail Absender, Empfänger und Betreff auslesen

    • Concara
    • 23. Juni 2015 um 09:06

    Hallo Donsen64!

    Hier ein Codeausschnitt!

    AutoIt
    Global $oOutlook = _OL_Open()
    If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF:", "Error connecting to Outlook. @error = " & @error & ", @extended: " & @extended)
    $aItems = _OL_ItemFind($oOutlook, "*\OrdnerImOutlook", $olMail, "", "", "", "Subject,from", "", 1)
     _ArrayDisplay($aItems)
    Spoiler anzeigen
    Code
    ; #FUNCTION# ====================================================================================================================
    ; Name ..........: _OL_ItemFind
    ; Description ...: Finds items (contacts, appointments ...) returning an array of all specified properties.
    ; Syntax.........: _OL_ItemFind($oOL, $vFolder[, $iObjectClass = Default[, $sRestrict = ""[, $sSearchName = ""[, $sSearchValue = ""[, $sReturnProperties = ""[, $sSort = ""[, $iFlags = 0[, $sWarningClick = ""]]]]]]]])
    ; Parameters ....: $oOL               - Outlook object returned by a preceding call to _OL_Open()
    ;                  $vFolder           - Folder object as returned by _OL_FolderAccess or full name of folder where the search will be started.
    ;                  +If you want to search a default folder you have to specify the folder object.
    ;                  $iObjectClass      - Optional: Class of items to search for. Defined by the Outlook OlObjectClass enumeration (default = Default = $olContact)
    ;                  $sRestrict         - Optional: Filter text to restrict number of items returned (exact match). For details please see Remarks
    ;                  $sSearchName       - Optional: Name of the property to search for (without brackets)
    ;                  $sSearchValue      - Optional: String value of the property to search for (partial match)
    ;                  $sReturnProperties - Optional: Comma separated list of properties to return (default = depending on $iObjectClass. Please see Remarks)
    ;                  $sSort             - Optional: Property to sort the result on plus optional flag to sort descending (default = None). E.g. "[Subject], True" sorts the result descending on the subject
    ;                  $iFlags            - Optional: Flags to set different processing options. Can be a combination of the following:
    ;                  |  1: Subfolders will be included
    ;                  |  2: Row 1 contains column headings. Therefore the number of rows/columns in the table has to be calculated using UBound
    ;                  |  4: Just return the number of records. You don't get an array, just a single integer denoting the total number of records found
    ;                  $sWarningClick     - Optional: The entire path (drive, directory, file name and extension) to 'OutlookWarning2.exe' or another exe with the same function (default = None)
    ; Return values .: Success - One based two-dimensional array with the properties specified by $sReturnProperties
    ;                  Failure - Returns "" and sets @error:
    ;                  |1 - You have to specifiy $sSearchName AND $sSearchValue or none of them
    ;                  |2 - $sWarningClick not found
    ;                  |3 - Error accessing the specified folder. See @extended for errorcode returned by _OL_FolderAccess
    ;                  |4 - Error accessing specified property. For details check @extended
    ;                  |1nmm - Error checking the $sReturnProperties as returned by __OL_CheckProperties.
    ;                  +      n is either 0 (property does not exist) or 1 (Property has invalid case)
    ;                  +      mm is the index of the property in error (one based)
    ; Author ........: water
    ; Modified ......:
    ; Remarks .......: Be sure to specify the values in $sReturnProperties and $sSearchName in correct case e.g. "FirstName" is valid, "Firstname" is invalid
    ;+
    ;                  $sRestrict: Filter can be a Jet query or a DASL query with the @SQL= prefix. Jet query language syntax:
    ;                  Restrict filter:  Filter LogicalOperator Filter ...
    ;                  LogicalOperator:  And, Or, Not. Use ( and ) to change the processing order
    ;                  Filter:           "[property] operator 'value'" or '[property] operator "value"'
    ;                  Operator:         <, >, <=, >=, <>, =
    ;                  Example:          "[Start]='2011-02-21 08:00' And [End]='2011-02-21 10:00' And [Subject]='Test'"
    ;                  See: http://msdn.microsoft.com/en-us/library/cc513841.aspx              - "Searching Outlook Data"
    ;                       http://msdn.microsoft.com/en-us/library/bb220369(v=office.12).aspx - "Items.Restrict Method"
    ;+
    ;                  N.B.: Pass time as HH:MM, HH:MM:SS is invalid and returns no result
    ; Related .......:
    ; Link ..........:
    ; Example .......: Yes
    ; ===============================================================================================================================
    Func _OL_ItemFind($oOL, $vFolder, $iObjectClass = Default, $sRestrict = "", $sSearchName = "", $sSearchValue = "", $sReturnProperties = "", $sSort = "", $iFlags = 0, $sWarningClick = "")
    
    
    	Local $bChecked = False, $oItems, $aTemp, $iCounter = 0, $oItem
    	If $sWarningClick <> "" Then
    		If FileExists($sWarningClick) = 0 Then Return SetError(2, 0, "")
    		Run($sWarningClick)
    	EndIf
    	If $iObjectClass = Default Then $iObjectClass = $olContact ; Set Default ObjectClass
    	; Set default return properties depending on the class of items
    	If StringStripWS($sReturnProperties, 3) = "" Then
    		Switch $iObjectClass
    			Case $olContact
    				$sReturnProperties = "FirstName,LastName,Email1Address,Email2Address,MobileTelephoneNumber"
    			Case $olDistributionList
    				$sReturnProperties = "Subject,Body,MemberCount"
    			Case $olNote, $olMail
    				$sReturnProperties = "Subject,Body,CreationTime,LastModificationTime,Size"
    			Case Else
    		EndSwitch
    	EndIf
    Alles anzeigen
  • Passwort verschlüsseln / auslagern

    • Concara
    • 22. Oktober 2014 um 14:21

    Hallo!

    Also wenn ich es richtig verstanden habe, dann will michach ein Passwort per Script an den FTP server senden, ohne eine manuelle Passworteingabe.
    Also kann man das mit md5 doch vergessen!?
    Die md5 variante ist gut wenn man eigene Passwort abfragen erstellen will.

  • Video-Archiv

    • Concara
    • 24. September 2014 um 12:38

    Hallo Oscar!

    Tolles Programm!
    Was ich mir von so einem Programm noch wünschenwürde:
    1.) Letztes erstelltes und gespeichertes Archiv beim Neustart automatisch laden. (Video-Archiv.ini)
    2.) Bei der Anzeige (ListView) Erstellungsdatum, Dateigröße und eventuell video Codec
    3.) Beim Verändern des Archivs eine speichern Warnmeldung wenn man das Programm schließt.
    4.) Per Rechtsklick auf die Datei, dass man in den jeweiligen Ordner der Datei gelangt. (GUICtrlCreateContextMenu)
    5.) Beim Einlesen ganzer Ordner einen optischen Hinweis, dass das Programm noch beim einlesen ist.
    Ich deaktiviere bei meinen Programmen die GUIeingabe meist. (GUICtrlSetState)
    Dein $hStatus auf z.B: Datein werden eingelesen!?
    6.) Beim Einlesen nicht einfach an die Liste Anhängen sondern überprüfen ob der Eintrag schon vorhanden ist.

    LG
    Florian

  • Listview filtern

    • Concara
    • 4. Oktober 2012 um 16:21

    Hallo!

    Ich würde gerne eine in einer listview filtern. Dazu habe ich folgendes Script im englischen Forum gefunden.

    Spoiler anzeigen
    [autoit]


    #include <Constants.au3>
    #include <GUIConstants.au3>
    #include <WindowsConstants.au3>
    #include <GUIListView.au3>
    #include <WinAPI.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $gui = GUICreate("listview filter", 400, 250, -1, -1)
    $listview = GUICtrlCreateListView("col0|col1|col2", 10, 10, 380, 230)
    GUICtrlSendMsg(-1, 0x101E, 0, 125)
    GUICtrlSendMsg(-1, 0x101E, 1, 125)
    GUICtrlSendMsg(-1, 0x101E, 2, 125)
    GUICtrlCreateListViewItem("blue|green|blue", $listview)
    GUICtrlCreateListViewItem("red|blue|green", $listview)
    GUICtrlCreateListViewItem("green|red|red", $listview)
    GUICtrlCreateListViewItem("blue|green|blue", $listview)
    GUICtrlCreateListViewItem("red|blue|green", $listview)
    GUICtrlCreateListViewItem("green|red|red", $listview)
    GUICtrlCreateListViewItem("blue|green|blue", $listview)
    GUICtrlCreateListViewItem("red|blue|green", $listview)
    GUICtrlCreateListViewItem("green|red|red", $listview)
    GUICtrlCreateListViewItem("blue|green|blue", $listview)
    GUICtrlCreateListViewItem("red|blue|green", $listview)
    GUICtrlCreateListViewItem("green|red|red", $listview)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    ;Use of lock/unlock and begin/end update is just to cause repainting so the filterbar is fully visible
    GUISetState(@SW_LOCK, $gui)
    _GUICtrlListView_BeginUpdate($listview)

    [/autoit] [autoit][/autoit] [autoit]

    ;Add the filter bar to the header control
    $header = _GUICtrlListView_GetHeader($listview)
    $styles = _WinAPI_GetWindowLong($header, $GWL_STYLE)
    _WinAPI_SetWindowLong($header, $GWL_STYLE, BitOR($styles, $HDS_FILTERBAR))

    [/autoit] [autoit][/autoit] [autoit]

    ;Use of lock/unlock and begin/end update is just to cause repainting so the filterbar is fully visible
    _GUICtrlListView_EndUpdate($listview)
    GUISetState(@SW_UNLOCK, $gui)

    [/autoit] [autoit][/autoit] [autoit]

    ;Register WM_NOTIFY to handle $HDN_FILTERBTNCLICK messages
    GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")

    [/autoit] [autoit][/autoit] [autoit]

    ;Loop GUI until exit
    Do
    $msg = GUIGetMsg()
    Until $msg = $GUI_EVENT_CLOSE

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func WM_NOTIFY($hWnd, $iMsg, $iwParam, $ilParam)
    Local $hWndFrom, $iIDFrom, $iCode
    Local $tNMHDR, $tNMHEADER, $tNMHDFILTERBTNCLICK, $tNMHDDISPINFO
    Local $iHeaderItem, $tItem
    Local $HDFT_ISSTRING = 0x0
    Local $HDFT_ISNUMBER = 0x1

    [/autoit] [autoit][/autoit] [autoit]

    $tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
    $hWndFrom = HWnd(DllStructGetData($tNMHDR, "hWndFrom"))
    $iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
    $iCode = DllStructGetData($tNMHDR, "Code")
    Switch $hWndFrom
    Case $header
    Switch $iCode
    Case $HDN_FILTERBTNCLICK ; Notifies the header control's parent window when the filter button is clicked or in response to an $HDM_SETITEM message
    $tNMHDFILTERBTNCLICK = DllStructCreate($tagNMHDFILTERBTNCLICK, $ilParam)
    $column = DllStructGetData($tNMHDFILTERBTNCLICK, "Item")
    MsgBox(0, "Msg", "Filter button click for column " & $column & @CRLF & _
    "Now I need code for getting the filter text!")

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    ;Return True ; An $HDN_FILTERCHANGE notification will be sent to the header control's parent window
    ; This notification gives the parent window an opportunity to synchronize its user interface elements
    Return False ; If you do not want the notification sent
    Case $HDN_FILTERCHANGE ; Notifies the header control's parent window that the attributes of a header control filter are being changed or edited
    ;$tNMHEADER = DllStructCreate($tagNMHEADER, $ilParam)
    ; no return value
    EndSwitch
    EndSwitch
    Return $GUI_RUNDEFMSG
    EndFunc ;==>WM_NOTIFY

    [/autoit]

    Leider hat dort keiner auf die Frage des Erstellers des Scripts geantwortet.
    Ich hoffe ihr könnt mir helfen.
    Die WM_Notify Funktion wertet einen Druck auf die Buttons der Filterleiste aus.
    Jetzt ist allerdings die Frage wie bekommt man einen eventuell eingegebenen Text in den Textfeldern heraus?
    Mit Winspector erhält man dieses Ergebnis. (Siehe Bildanhang)
    Danke für eure Bemühungen!

    Dateien

    winspector.jpg 427,37 kB – 0 Downloads
  • Remotedesktop steuern?

    • Concara
    • 20. Oktober 2010 um 12:38

    Meine Antwort bezog sich auf Stevies Frage.

    Zitat von stevie

    Die Frage:
    Kann ich mittels AutoIt-Skript auf den Remotedesktop zugreifen, dort die Eingabaufforderung starten und einen DOS-Befehl ausführen lassen bzw. senden? Welche Möglichkeiten bietet AutoIt bzw. welche Befehle würdet ihr mir empfehlen?

  • Remotedesktop steuern?

    • Concara
    • 20. Oktober 2010 um 11:46

    HI Stevie!

    Also wenn du "nur" ein Dos script auf einem anderen Rechener ausführen willst, dann würde ich gar nicht AutoIT verwenden, sondern die PSTOOLS nutzen.
    (psexec.exe) Da musst du nichts mehr programieren. PSTOOLS
    Beispiel

    Code
    psexec.exe \\REMOTERECHNER -i -s -e c:\dosbefehle.cmd
  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 13. Juli 2010 um 13:05

    Hi

    So jetzt habe ich den Download per TCP/IP erledigt.
    Mensch hab ich mich gefreut, dass es damit funktioniert hat.
    Aber leider ist da jetzt ein weiteres Problem aufgetaucht.
    Die Html Seiten und die eigentliche Datei (CSV) sind nicht ganz "sauber".
    Das heißt das wenn ich sie herunter lade werden an x Stellen Zahlen eingefügt.

    Hier die HTML Datei die erzeugt wird.

    Spoiler anzeigen
    HTML
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 05:49:17 1970 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Set-Cookie: MFPSESSIONID=0300C4EFEA1E9DDC5733A9704721A319002A3DDA532270C419B72010071310533803A2
    Extend-sharp-setting-status: 0
    
    
    8A
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=
    5
    UTF-8
    AC
    ">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <link rel="stylesheet" type="text/css" href="
    1A
    style1.css" charset="UTF-8
    A
    ">
    <title>
    14
    Administrator
    Login
    3
     - 
    8
    MX-4500N
    9
    </title>
    
    
    571
    <!-- javascript //-->
    <script type="text/javascript" charset="UTF-8" src="webpage.js"></script>
    <script type="text/javascript" charset="UTF-8">
    <!--
    sflg = 0;
    function validate( name ){
    	var ggt_val = new Array();
    	obj = document.getElementsByName("ggt_textbox(10001)");
    	if (obj.length > 0){
    		ggt_val[10001] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10002)");
    	if (obj.length > 0){
    		ggt_val[10002] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10003)");
    	if (obj.length > 0){
    		ggt_val[10003] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10005)");
    	if (obj.length > 0){
    		ggt_val[10005] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10006)");
    	if (obj.length > 0){
    		ggt_val[10006] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10007)");
    	if (obj.length > 0){
    		ggt_val[10007] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_select(10004)");
    	if (obj.length > 0){
    		ggt_val[10004] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_select(10009)");
    	if (obj.length > 0){
    		ggt_val[10009] = obj.item(0).value;
    	}
    	if (name == "loginbtn"){
    if (ggt_val[10006] == ""){
    alert("Bitte Passwort eingeben.");
    return false;
    }
    	}
    	if (sflg == 0){
    		sflg = 1;
    		document.login.action.value = name;
    		document.login.submit();
    	}
    }
    //-->
    </script>
    33
    
    
    </head>
    <body onLoad="document.getElementsByName('
    12
    ggt_textbox(10006)
    15
    ').item(0).focus()">
    
    
    13
    <a name="main"></a>
    37
    
    
    <div class="left">
    	<!--LOGO-->
    	<div class="logo">
    
    98
    <a href="http://sharp-world.com/" target="_blank"><img src="logo.gif" border="0" width="102" height="15" alt="Link zur Globalen Homepage von Sharp"></a>
    1A
    
    
    		<div class="modelName">
    8
    MX-4500N
    5A
    </div>
    	</div>
    	<!--LOGO_END-->
    
    	<!--LINK-->
    	<a name="menu"></a>
    	<div class="menu">
    
    1
    
    
    
    
    43
    
    
    	</div>
    	<!--LINK_END-->
    </div>
    
    
    <form method="post" name="login" 
    2E
    onsubmit="validate('loginbtn'); return false;"
    52
    >
    <div class="right">
    	<!--TITLE-->
    	<div class="title"><a name="main"></a>
    		<h1>
    14
    Administrator
    Login
    47
    </h1>
    		<div class="buttonfieldHead">
    			<span class="headButton">
    
    64
    <input name="loginbtn" type="submit" value="Login(P)" onclick="validate( this.name )" accesskey="P">
    5
    
    
    				
    6A
    <input name="cancelbtn" type="button" value="Abbrechen(C)" onclick="validate( this.name )" accesskey="C" >
    5
    
    
    				
    5E
    
    
    			</span>
    		</div>
    	</div>
    	<!--TITLE_END-->
    
    	<!--MAIN-->
    	<div class="main">
    		<p class="
    2
    ok
    2
    ">
    21
    </p>
    		<table class="layout">
    
    4
    
    
    			
    4
    
    
    			
    4
    
    
    			
    4
    
    
    			
    4
    
    
    			
    4
    
    
    			
    104
    <tr>
    				<td class="layoutHead"><label id="ggtLblId10006" class="labelNormal">Passwort</label></td>
    				<td><input name="ggt_textbox(10006)" id="element10006" type="password" size="32" maxlength="32" style="color:#000000"  value="" >(5-32 Stellen)</td>
    			<tr>
    4
    
    
    			
    E
    
    
    		</table>
    
    3
    
    
    		
    2C
    <input type="hidden" name="action" value="">
    3
    
    
    		
    38
    <input type="hidden" name="ggt_hidden(10008)" value="3">
    5A
    
    
    	</div>
    	<!--MAIN_END-->
    
    	<!--FOOTER-->
    	<div class="footer">
    		<div class="topButton">
    51
    <a href="#main">Zurück zum Seitenanfang<img src="top_button.gif" border="0"></a>
    48
    </div>
    		<div class="buttonfieldFoot">
    			<span class="footButton">
    
    64
    <input name="loginbtn" type="submit" value="Login(P)" onclick="validate( this.name )" accesskey="P">
    5
    
    
    				
    6A
    <input name="cancelbtn" type="button" value="Abbrechen(C)" onclick="validate( this.name )" accesskey="C" >
    5
    
    
    				
    4F
    
    
    			</span>
    		</div>
    	</div>
    	<!--FOOTER_END-->
    </div>
    </form>
    </body>
    </html>
    
    
    0
    Alles anzeigen


    Hier die Funktion mit der ich die HTML Datei herunter lade.

    Spoiler anzeigen
    [autoit]


    #include <string.au3>
    $ip = "10.80.1.233"
    $quellcode1 = TCPRequest($ip, $ip, 'login.html?/account_count_save.html?usernum=27&del=0', "ggt_textbox%2810007%29=&action=adminloginbtn&ggt_hidden%2810008%29=2")
    FileWrite(@ScriptDir & '\1.html',$quellcode1)

    [/autoit] [autoit][/autoit] [autoit]

    Func TCPRequest($sIp, $sHost, $sSeite = "", $sPost = '', $sCookies = '', $sReferer = '', $iMaxTime = 10000)
    Local $sPacket, $iSocket, $iTimer

    [/autoit] [autoit][/autoit] [autoit]

    If $sPost = '' Then
    $sPacket = 'GET /' & $sSeite & ' HTTP/1.1' & @CRLF
    Else
    $sPacket = 'POST /' & $sSeite & ' HTTP/1.1' & @CRLF
    EndIf
    $sPacket &= 'Host: ' & $sHost & @CRLF & _
    'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)' & @CRLF & _
    'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' & @CRLF & _
    'Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3' & @CRLF & _
    'Accept-Encoding: gzip,deflate' & @CRLF & _
    'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' & @CRLF & _
    'Keep-Alive: 115' & @CRLF & _
    'Connection: keep-alive' & @CRLF
    If $sReferer <> '' Then
    $sPacket &= 'Referer: ' & $sReferer & @CRLF
    EndIf
    If $sCookies <> '' Then
    $sPacket &= 'Cookie: ' & $sCookies & @CRLF
    EndIf
    If $sPost <> '' Then
    $sPacket &= 'Content-Type: application/x-www-form-urlencoded' & @CRLF
    $sPacket &= 'Content-Length: ' & StringLen($sPost) & @CRLF
    EndIf
    $sPacket &= @CRLF
    If $sPost <> '' Then
    $sPacket &= $sPost
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    TCPStartup()
    If @error Then Return SetError(1, 0, "")
    $iSocket = TCPConnect($sIp, 80)
    If @error Then Return SetError(2, 0, "")
    TCPSend($iSocket, $sPacket)
    If @error Then Return SetError(3, 0, "")
    $iTimer = TimerInit()
    Do
    $sRecv = TCPRecv($iSocket, 1024)
    If TimerDiff($iTimer) > $iMaxTime Then Return SetError(4, 0, "")
    Until $sRecv <> ""
    Do
    $sRecv &= TCPRecv($iSocket, 1024)
    Until @error Or StringInStr($sRecv, '</html>')
    TCPCloseSocket($iSocket)
    TCPShutdown()
    Return $sRecv
    EndFunc ;==>TCPRequest

    [/autoit]
  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 22. Juni 2010 um 12:15

    Hi!

    Ich habe es leider immer noch nicht geschaft! :(
    progandy bei deiner Funktion ist noch ein kleiner Fehler drinnen.

    Spoiler anzeigen
    [autoit]


    Func _WinHTTP_SimpleRequest($hw_connect, $sType, $sPath, $sReferrer = $WINHTTP_NO_REFERER, $sData = $WINHTTP_NO_REQUEST_DATA, $sHeader=$WINHTTP_NO_ADDITIONAL_HEADERS, $fGetHeaders=False)
    ; Author: ProgAndy
    Local $h_openRequest = _WinHttpOpenRequest($hw_connect, $sType, $sPath, "HTTP/1.1", $sReferrer)
    If Not $h_openRequest Then Return SetError(1,0,0)
    If $sType = "POST" and $sHeader=$WINHTTP_NO_ADDITIONAL_HEADERS Then $sHeader = "Content-Type: application/x-www-form-urlencoded"&@CRLF
    _WinHttpSendRequest($h_openRequest, $sHeader, $sData)
    _WinHttpReceiveResponse($h_openRequest)
    Local $aData[2] =['', '']
    If _WinHttpQueryDataAvailable($h_openRequest) Then
    Do
    $aData[1] &= _WinHttpReadData($h_openRequest)
    Until @extended=0 Or @error<>0
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $fGetHeaders Then
    $aData[0] = _WinHttpQueryHeaders($h_openRequest)
    _WinHttpCloseHandle($h_openRequest)
    Return $aData
    EndIf
    _WinHttpCloseHandle($h_openRequest)
    Return $aData[1]
    EndFunc

    [/autoit]


    So funktioniert auch die Abfrage der Headerdatei!
    Was mir noch aufgefallen ist, dass wenn man z.b. Gif Dateien mit deiner Funktion herunterladen werden diese nicht vollständig sind.
    Aber das ist für mein Problem irrelevant.

    Das mit dem Referrer hat nichts gebracht. Ich habe z.b http://10.80.1.233 ausprobiert oder den ganzen Pfad http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0"

    Man kann da eingeben was man will es ändert sich nichts.
    Ich glaub das ist wirklich nur für die Statistik der Webserver interessant.
    Ich weiß einfach nicht was der Browser anders macht als wenn man es per Winhttp macht!?
    Mir ist noch aufgefallen beim Live HTTP Headers Log, dass bei der letzten Rückgabe des Servers ein 302 Moved temporarily zurück kommt.(Aber auch nicht immer)
    Kann das eventuell winhttp nicht verarbeiten?

  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 18. Juni 2010 um 15:00

    Hi!

    Was meinst du mit Referrer? Wie kann ich den mit angeben?
    Doch beim 2 POST wird das Passwort mitgegeben "ggt_textbox%2810006%29=admin&action=loginbtn&ggt_hidden%2810008%29=3"
    Kann man sich das erstellte Coockie ansehen?
    Weil dann könnte ich es vergleichen mit dem das FF erstellt.

    Ich hätte mir nicht vorgestellt, dass das so schwierig ist!
    Nochmals danke das du mir hilfst.
    Ich brauch das unbeding und muss solange weitermachen bis es klappt :(

  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 18. Juni 2010 um 12:31

    Danke für deine Bemühungen!!!

    Also File1-2 erhaltet man das "normale" Login (Für Benutzer)
    Ab File 3 kommt man dann zum Administrator Login.
    Bei 4 und 5 kommt aber wieder anstatt dem File das ich brauche ein HTML Seite mit dem Hinweis
    "Loggen Sie sich als Benutzer ein, der die Genehmigung hat, die Seite anzuzeigen, die eine Administratorgenehmigung verlangt?"

    Kann das ganz mit Coockies zusammen hängen?
    Das beim Administratorlogin ein Coockie erzeugt wird das dann bei jedem Aufruf einer weiteren Seite abgefragt wird?
    Wird das mit dem Befehl _WinHTTP_SimpleRequest auch erstellt?

  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 18. Juni 2010 um 11:25

    Hallo progandy!

    Danke für die Tipps!!!
    Leider bekomme ich es immer noch nicht so hin wie ich es brauche.
    Mit dieser Methode bin ich zumindest schon direkt auf die Seite gelangt wo man das Passwort eingeben muss für den Administrator.
    Nur wenn ich dann sozusagen das Passwort sende, dann erhalte ich nicht die Datei zurück die ich will bzw, die ich bekomme wenn ich das alles im Browser händisch mache.
    Hast du eine Idee was da noch schief läuft?

    Hier mein Code:

    Spoiler anzeigen
    [autoit]


    #include "WinHTTP.au3"

    [/autoit] [autoit][/autoit] [autoit]

    $LocalIP = "10.80.2.233"

    [/autoit] [autoit][/autoit] [autoit]

    If Not Ping($LocalIP, 500) Then Exit

    [/autoit] [autoit][/autoit] [autoit]

    $hw_open = _WinHttpOpen("Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.3; .NET CLR 2.0.50727; ffco7) Gecko/2008092417 Firefox/3.0.3")

    [/autoit] [autoit][/autoit] [autoit]

    $hw_connect = _WinHttpConnect($hw_open, $LocalIP)

    [/autoit] [autoit][/autoit] [autoit]

    $h_openRequest = _WinHttpOpenRequest($hw_connect, "POST", "/login.html?/account_count_save.html?usernum=27&del=0")

    [/autoit] [autoit][/autoit] [autoit]

    $data = "ggt_textbox%2810007%29=&action=adminloginbtn&ggt_hidden%2810008%29=2"

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpSendRequest($h_openRequest, $WINHTTP_NO_ADDITIONAL_HEADERS, $WINHTTP_NO_REQUEST_DATA, StringLen($data), 0)

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpWriteData($h_openRequest, $data)

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpReceiveResponse($h_openRequest)

    [/autoit] [autoit][/autoit] [autoit]

    $rData = _WinHttpReadData($h_openRequest)

    [/autoit] [autoit][/autoit] [autoit]

    $hFile = FileOpen("test1.html", 2)

    [/autoit] [autoit][/autoit] [autoit]

    FileWrite($hFile, $rData)

    [/autoit] [autoit][/autoit] [autoit]

    FileClose($hFile)

    [/autoit] [autoit][/autoit] [autoit]

    ;~ POST /login.html?/account_count_save.html?usernum=27&del=0 ggt_textbox%2810006%29=admin&action=loginbtn&ggt_hidden%2810008%29=3
    $h_openRequest2 = _WinHttpOpenRequest($hw_connect, "POST", "/login.html?/account_count_save.html?usernum=27&del=0")
    $data = "ggt_textbox%2810006%29=admin&action=loginbtn&ggt_hidden%2810008%29=3"

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpSendRequest($h_openRequest2, $WINHTTP_NO_ADDITIONAL_HEADERS, $WINHTTP_NO_REQUEST_DATA, StringLen($data), 0)

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpWriteData($h_openRequest2, $data)

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpReceiveResponse($h_openRequest2)

    [/autoit] [autoit][/autoit] [autoit]

    $rData = _WinHttpReadData($h_openRequest2, 2)

    [/autoit] [autoit][/autoit] [autoit]

    $hFile = FileOpen("test2.html", 2)

    [/autoit] [autoit][/autoit] [autoit]

    FileWrite($hFile, $rData)

    [/autoit] [autoit][/autoit] [autoit]

    FileClose($hFile)

    [/autoit] [autoit][/autoit] [autoit]

    _WinHttpCloseHandle($h_openRequest)
    _WinHttpCloseHandle($h_openRequest2)
    _WinHttpCloseHandle($hw_connect)
    _WinHttpCloseHandle($hw_open)

    [/autoit]


    Hier das was ich mit dem von dir genannten Tool mitgeloggt habe:
    Headers:

    Spoiler anzeigen
    HTTP
    http://10.80.1.233/account_count_save.html?usernum=27&del=0
    
    
    GET /account_count_save.html?usernum=27&del=0 HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 302 Moved Temporarily
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Location: /login.html?/account_count_save.html?usernum=27&del=0
    ----------------------------------------------------------
    http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    
    
    GET /login.html?/account_count_save.html?usernum=27&del=0 HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Extend-sharp-setting-status: 0
    ----------------------------------------------------------
    http://10.80.1.233/style1.css
    
    
    GET /style1.css HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/css,*/*;q=0.1
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: text/css
    Content-Length: 2836
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/webpage.js
    
    
    GET /webpage.js HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: */*
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: text/javascript
    Content-Length: 5738
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/style.css
    
    
    GET /style.css HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/css,*/*;q=0.1
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: text/css
    Content-Length: 4691
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/top_button.gif
    
    
    GET /top_button.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:38 1970 GMT
    Content-Type: image/gif
    Content-Length: 133
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/title_bg.gif
    
    
    GET /title_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:37 1970 GMT
    Content-Type: image/gif
    Content-Length: 188
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/logo_bg.gif
    
    
    GET /logo_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:38 1970 GMT
    Content-Type: image/gif
    Content-Length: 63
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/logo.gif
    
    
    GET /logo.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:38 1970 GMT
    Content-Type: image/gif
    Content-Length: 534
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/bg.gif
    
    
    GET /bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:38 1970 GMT
    Content-Type: image/gif
    Content-Length: 193
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/buttonfield_bg.gif
    
    
    GET /buttonfield_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:38 1970 GMT
    Content-Type: image/gif
    Content-Length: 151
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    
    
    POST /login.html?/account_count_save.html?usernum=27&del=0 HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 68
    ggt_textbox%2810007%29=&action=adminloginbtn&ggt_hidden%2810008%29=2
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:39 1970 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Extend-sharp-setting-status: 0
    ----------------------------------------------------------
    http://10.80.1.233/style1.css
    
    
    GET /style1.css HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/css,*/*;q=0.1
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:39 1970 GMT
    Content-Type: text/css
    Content-Length: 2836
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/style.css
    
    
    GET /style.css HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/css,*/*;q=0.1
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:40 1970 GMT
    Content-Type: text/css
    Content-Length: 4691
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/webpage.js
    
    
    GET /webpage.js HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: */*
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: text/javascript
    Content-Length: 5738
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/bg.gif
    
    
    GET /bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 193
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/logo.gif
    
    
    GET /logo.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 534
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/buttonfield_bg.gif
    
    
    GET /buttonfield_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 151
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/title_bg.gif
    
    
    GET /title_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 188
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/logo_bg.gif
    
    
    GET /logo_bg.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/style1.css
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 63
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/top_button.gif
    
    
    GET /top_button.gif HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:42 1970 GMT
    Content-Type: image/gif
    Content-Length: 133
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    ----------------------------------------------------------
    http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    
    
    POST /login.html?/account_count_save.html?usernum=27&del=0 HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=0300EB36DCCE753ECE9EDF4280AB8BAD68E475A56FFB15B7D3D6201006180826357876
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 68
    ggt_textbox%2810006%29=admin&action=loginbtn&ggt_hidden%2810008%29=3
    HTTP/1.1 302 Moved Temporarily
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:54 1970 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Set-Cookie: MFPSESSIONID=03009D9265CE04587F951503B6E8603A112199A2B9897785131D201006180945284674
    Location: /account_count_save.html?usernum=27&del=0
    ----------------------------------------------------------
    http://10.80.1.233/account_count_save.html?usernum=27&del=0
    
    
    GET /account_count_save.html?usernum=27&del=0 HTTP/1.1
    Host: 10.80.1.233
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    Cookie: MFPSESSIONID=03009D9265CE04587F951503B6E8603A112199A2B9897785131D201006180945284674
    
    
    HTTP/1.1 200 OK
    Server: Rapid Logic/1.1
    MIME-version: 1.0
    Date: Thu Jan  1 03:54:54 1970 GMT
    Content-Type: application/octet-stream; name=uc_MX-4500N_7505066X00_20100618.csv
    Content-Disposition: attachment; filename=uc_MX-4500N_7505066X00_20100618.csv
    Transfer-Encoding: chunked
    Connection: close
    ----------------------------------------------------------
    Alles anzeigen


    Generator:

    Spoiler anzeigen
    Code
    #request# GET http://10.80.1.233/account_count_save.html?usernum=27&del=0
    GET /account_count_save.html?usernum=27&del=0
    #request# GET http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    #request# GET http://10.80.1.233/style1.css
    #request# GET http://10.80.1.233/webpage.js
    #request# GET http://10.80.1.233/style.css
    GET /webpage.js
    #request# GET http://10.80.1.233/bg.gif
    #request# GET http://10.80.1.233/logo.gif
    #request# GET http://10.80.1.233/top_button.gif
    #request# GET http://10.80.1.233/logo_bg.gif
    #request# GET http://10.80.1.233/title_bg.gif
    #request# GET http://10.80.1.233/buttonfield_bg.gif
    #request# POST http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    POST /login.html?/account_count_save.html?usernum=27&del=0 ggt_textbox%2810007%29=&action=adminloginbtn&ggt_hidden%2810008%29=2
    #request# GET http://10.80.1.233/style1.css
    #request# GET http://10.80.1.233/style.css
    #request# GET http://10.80.1.233/webpage.js
    GET /webpage.js
    #request# GET http://10.80.1.233/bg.gif
    #request# GET http://10.80.1.233/logo.gif
    #request# GET http://10.80.1.233/top_button.gif
    #request# GET http://10.80.1.233/logo_bg.gif
    #request# GET http://10.80.1.233/title_bg.gif
    #request# GET http://10.80.1.233/buttonfield_bg.gif
    #request# POST http://10.80.1.233/login.html?/account_count_save.html?usernum=27&del=0
    POST /login.html?/account_count_save.html?usernum=27&del=0 ggt_textbox%2810006%29=admin&action=loginbtn&ggt_hidden%2810008%29=3
    #request# GET http://10.80.1.233/account_count_save.html?usernum=27&del=0
    Alles anzeigen
  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 17. Juni 2010 um 13:23

    Hi ProgAndy!

    Diese UDF ist noch nicht in Autoit integriert!?
    Ich habe aber einen Link gefunden http://www.autoitscript.com/forum/index.php?showtopic=84133 .
    Dort wirst du als mit Entwickler diersr UDF genannt. Stimmt das?
    Und einige Beispiele mit CGI Scripten angeführt.
    Funktioniert das mit Javascript auch?

  • Direkter Download von einer HTML Seite eines Sharpkopieres die per Javascript gesichert ist.

    • Concara
    • 17. Juni 2010 um 11:21

    Hallo Leute!

    Vorab ich habe die Forenregeln gelesen!!!
    In unserer Firma gibt es 7 Sharp Kopierer, auf denen einige Kopierkostenstellen eingerichtet sind.
    Die Kopierer loggen dann jede Kopie bzw. Druck die auf diese Kostenstellen gemacht werden mit.
    Nun möchte ich, dass jeden Tag diese Zählerstände in eine Datenbank geschrieben werden, damit ich diese dann einfach auswerten kann.
    Die Kopierer stellen diese Logfiles als CSV Datei zum download bereit.
    Das Probelm das ich habe ist, dass die Webseite bzw der Download der CSV Datei mit einem Passwort geschützt ist.(Javascript)
    Nun das Passwort habe ich, nur funktioniert die Angabe bei Inetget nicht.
    Ich habe mir ein Script erstellt, dass per Internetexplorer diese Logdateien herunter ladet.
    Dieses funktioniert zwar recht gut nur kann ich dieses nur verwenden wenn ein Benutzer am PC angemeldet ist.
    Damit wir zuverlässige Daten haben sollte es aber als Dienst funktionieren, also auch wenn kein Benutzer angemeldet ist.
    Kann mir jemand helfen diesen Javascript Passwortschutz zu umgehen, damit ich die CSV Datei direkt herunterladen kann?
    Oder hat jemand eine andere Idee wie ich an die Daten heran komme!?

    Hier der Quellcode der Seite.

    Spoiler anzeigen
    HTML
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <link rel="stylesheet" type="text/css" href="style1.css" charset="UTF-8">
    <title>Login - MX-4500N</title>
    <!-- javascript //-->
    <script type="text/javascript" charset="UTF-8" src="webpage.js"></script>
    <script type="text/javascript" charset="UTF-8">
    <!--
    sflg = 0;
    function validate( name ){
    	var ggt_val = new Array();
    	obj = document.getElementsByName("ggt_textbox(10001)");
    	if (obj.length > 0){
    		ggt_val[10001] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10002)");
    	if (obj.length > 0){
    		ggt_val[10002] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10003)");
    	if (obj.length > 0){
    		ggt_val[10003] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10005)");
    	if (obj.length > 0){
    		ggt_val[10005] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10006)");
    	if (obj.length > 0){
    		ggt_val[10006] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_textbox(10007)");
    	if (obj.length > 0){
    		ggt_val[10007] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_select(10004)");
    	if (obj.length > 0){
    		ggt_val[10004] = obj.item(0).value;
    	}
    	obj = document.getElementsByName("ggt_select(10009)");
    	if (obj.length > 0){
    		ggt_val[10009] = obj.item(0).value;
    	}
    	if (name == "loginbtn"){
    if (ggt_val[10007] == ""){
    alert("Benutzernummer eingeben.");
    return false;
    }
    	}
    	if (sflg == 0){
    		sflg = 1;
    		document.login.action.value = name;
    		document.login.submit();
    	}
    }
    //-->
    </script>
    </head>
    <body onLoad="document.getElementsByName('ggt_textbox(10007)').item(0).focus()">
    <a name="main"></a>
    <div class="left">
    	<!--LOGO-->
    	<div class="logo">
    		<a href="http://sharp-world.com/" target="_blank"><img src="logo.gif" border="0" width="102" height="15" alt="Link zur Globalen Homepage von Sharp"></a>
    		<div class="modelName">MX-4500N</div>
    	</div>
    	<!--LOGO_END-->
    
    	<!--LINK-->
    	<a name="menu"></a>
    	<div class="menu">
    
    
    
    	</div>
    	<!--LINK_END-->
    </div>
    
    
    <form method="post" name="login" onsubmit="validate('loginbtn'); return false;">
    <div class="right">
    	<!--TITLE-->
    	<div class="title"><a name="main"></a>
    		<h1>Login</h1>
    		<div class="buttonfieldHead">
    			<span class="headButton">
    				<input name="loginbtn" type="submit" value="Login(P)" onclick="validate( this.name )" accesskey="P">
    
    				<input name="adminloginbtn" type="button" value="Administrator anmelden(C)" onclick="validate( this.name )" accesskey="C" >
    			</span>
    		</div>
    	</div>
    	<!--TITLE_END-->
    
    	<!--MAIN-->
    	<div class="main">
    		<p class="ok"></p>
    		<table class="layout">
    
    
    
    
    
    
    
    			<tr>
    				<td class="layoutHead"><label id="ggtLblId10007" class="labelNormal">Benutzernummer</label></td>
    				<td><input name="ggt_textbox(10007)" id="element10007" type="password" size="8" maxlength="8" style="color:#000000"  value="" >(5-8 Stellen)</td>
    			<tr>
    		</table>
    		<br>
    		<div><label id="ggtLblId10010" class="labelNormal">Loggen Sie sich als Benutzer ein, der die Genehmigung hat, die Seite anzuzeigen, die eine Administratorgenehmigung verlangt?</label></div>
    		<input type="hidden" name="action" value="">
    		<input type="hidden" name="ggt_hidden(10008)" value="2">
    	</div>
    	<!--MAIN_END-->
    
    	<!--FOOTER-->
    	<div class="footer">
    		<div class="topButton"><a href="#main">Zurück zum Seitenanfang<img src="top_button.gif" border="0"></a></div>
    		<div class="buttonfieldFoot">
    			<span class="footButton">
    				<input name="loginbtn" type="submit" value="Login(P)" onclick="validate( this.name )" accesskey="P">
    
    				<input name="adminloginbtn" type="button" value="Administrator anmelden(C)" onclick="validate( this.name )" accesskey="C" >
    			</span>
    		</div>
    	</div>
    	<!--FOOTER_END-->
    </div>
    </form>
    </body>
    </html>
    Alles anzeigen


    Der Code der webpage.js die in der Webseite verwendet wird.

    Spoiler anzeigen
    Code
    function InvalidCHK(data)
    {
    	var i;
    
    
    	for(i=0; i<data.length; i++){
    		if ((data[i].indexOf("<") != -1)
    					||
    				(data[i].indexOf(">") != -1)
    					||
    				(data[i].indexOf("&") != -1)
    					||
    				(data[i].indexOf("\"") != -1)
    					||
    				(data[i].indexOf("#") != -1)
    				)
    		{
    			return false;
    		}
    	}
    	return true;
    }
    
    
    function jstrlenCHK(str)
    {
    	var i;
    	var len = 0;
    
    
    	str = escape(str);
    	for (i = 0; i < str.length; i++, len++) {
    		if (str.charAt(i) == "%") {
    			 if (str.charAt(++i) == "u") {
    					i += 3;
    					len++;
    			 }
    			 i++;
    		}
    	}
    	return len;
    }
    
    
    function jstrlen(str)
    {
    	var i, cnt, len;
    	var char_length = ("ã‚".length);
    	var str2;
    
    
    	len = jstrlenCHK(str);
    	if(IsUnicode_escape()){	//unicode?
    		cnt = 0;
    
    	    for(i = 0 ; i < str.length ; i = i + char_length){
    	        str2 = str.charAt(i);
    			if(str2 >= "\uFF61" && str2 <= "\uFF9F") {	//half size kana?
    				cnt++;
    			}
    		}
    		len = len - cnt;	//correction
    	}
    	return len;
    }
    
    
    function IsUnicode_escape()
    {
    	var str;
    	str = escape("ã‚");
    	//unicode=>		str:"%u3042"
    	//not unicode=>	str:"%82%A0"
    
    
    	if(str.indexOf("%u") != -1){
    		return 1;	//unicode
    	}
    	else{
    		return 0;	//NOT unicode
    	}
    }
    
    
    function InvalidCHK_Fax(data)
    {
    	var i;
    
    
    	for(i=0; i<data.length; i++){
    		if ((data[i].indexOf("<") != -1)
    					||
    				(data[i].indexOf(">") != -1)
    					||
    				(data[i].indexOf("&") != -1)
    					||
    				(data[i].indexOf("\"") != -1))
    		{
    			return false;
    		}
    	}
    	return true;
    }
    
    
    function InvalidCHK_Doc(data)
    {
    	var i;
    
    
    	for(i=0; i<data.length; i++){
    		if ((data[i].indexOf("\\") != -1) ||
    			(data[i].indexOf("?") != -1) ||
    			(data[i].indexOf("/") != -1) ||
    			(data[i].indexOf("\"") != -1) ||
    			(data[i].indexOf(";") != -1) ||
    			(data[i].indexOf(":") != -1) ||
    			(data[i].indexOf(",") != -1) ||
    			(data[i].indexOf("<") != -1) ||
    			(data[i].indexOf(">") != -1) ||
    			(data[i].indexOf("!") != -1) ||
    			(data[i].indexOf("*") != -1) ||
    			(data[i].indexOf("|") != -1) ||
    			(data[i].indexOf("&") != -1) ||
    			(data[i].indexOf("#") != -1))
    		{
    			return false;
    		}
    	}
    	return true;
    }
    
    
    function InvalidCHK_Dir(data)
    {
    	var i;
    
    
    	for(i=0; i<data.length; i++){
    		if ((data[i].indexOf("?") != -1) ||
    			(data[i].indexOf("\"") != -1) ||
    			(data[i].indexOf(";") != -1) ||
    			(data[i].indexOf(",") != -1) ||
    			(data[i].indexOf("<") != -1) ||
    			(data[i].indexOf(">") != -1) ||
    			(data[i].indexOf("!") != -1) ||
    			(data[i].indexOf("*") != -1) ||
    			(data[i].indexOf("|") != -1) ||
    			(data[i].indexOf("&") != -1) ||
    			(data[i].indexOf("#") != -1))
    		{
    			return false;
    		}
    	}
    	return true;
    }
    
    
    function InvalidCHK_PathDir(data)
    {
    	var i;
    
    
    	for(i=0; i<data.length; i++){
    		if ((data[i].indexOf("?") != -1) ||
    			(data[i].indexOf("\"") != -1) ||
    			(data[i].indexOf(";") != -1) ||
    			(data[i].indexOf(",") != -1) ||
    			(data[i].indexOf("<") != -1) ||
    			(data[i].indexOf(">") != -1) ||
    			(data[i].indexOf("!") != -1) ||
    			(data[i].indexOf("*") != -1) ||
    			(data[i].indexOf("|") != -1))
    		{
    			return false;
    		}
    	}
    	return true;
    }
    
    
    function ItemColorChangePass(check, item ,name)
    {
    	var i;
    
    
    	for(i=0; i<item.length; i++){
    		if(check){
    			if(item[i].type == 'text' || item[i].type == 'password'){
    				item[i].value = "";
    				item[i].readOnly = false;
    				item[i].style.color = 'black';
    			}
    		}else{
    			if(item[i].type == 'text' || item[i].type == 'password'){
    				item[i].value = name;
    				item[i].readOnly = true;
    				item[i].style.color = '#c0c0c0';
    			}
    		}
    	}
    }
    
    
    function NameColorChange(check, name)
    {
    	var i;
    
    
    	for(i=0; i<name.length; i++){
    		if(check){
    			name[i].className = "labelNormal";
    		}else{
    			name[i].className = "labelGrayout";
    		}
    	}
    }
    
    
    function ItemColorChange(check, item)
    {
    	var i;
    
    
    	for(i=0; i<item.length; i++){
    		if(check){
    			if(item[i].type == 'text' || item[i].type == 'password'){
    				item[i].readOnly = false;
    				item[i].style.color = 'black';
    			}else{
    				item[i].disabled = false;
    			}
    		}else{
    			if(item[i].type == 'text' || item[i].type == 'password'){
    				item[i].readOnly = true;
    				item[i].style.color = '#c0c0c0';
    			}else{
    				item[i].disabled = true;
    			}
    		}
    	}
    }
    
    
    function LabelColorChange(check, spanId)
    {
    	if(check)
    	{
    		spanId.className = "labelNormal";
    	}
    	else
    	{
    		spanId.className = "labelGrayout";
    	}
    }
    
    
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    }
    
    
    function tab_change(id){
    	var i;
    
    
    	if (document.getElementById(id).className == "selectedtab") {
    
    	} else {
    		for (i=0; i<tabList.length; i++) {
    			document.getElementById(tabList.slice(i, i+1)).className = "notselectedtab";
    			document.getElementById(tabList.slice(i, i+1)+"_item").className = "tabitemInvisible";
    		}
    		document.getElementById(id).className = "selectedtab";
    		document.getElementById(id+"_item").className = "tabitemVisible";
    	}
    }	
    
    
    function singleMode(){
    	var i;
    
    
    	document.getElementById("tab").className = "tabInvisible";
    	document.getElementById("sigleMode").className = "sModeInvisible";
    	document.getElementById("tabMode").className = "sModeVisible";
    	for (i=0; i<tabList.length; i++) {
    		document.getElementById(tabList.slice(i, i+1)+"_item").className = "tabitemVisible";
    	}
    }
    
    
    function tabMode(){
    	var i;
    
    
    	document.getElementById("tab").className = "tabVisible";
    	document.getElementById("sigleMode").className = "sModeVisible";
    	document.getElementById("tabMode").className = "sModeInvisible";
    	for (i=0; i<tabList.length; i++) {
    		if (document.getElementById(tabList.slice(i, i+1)).className == "selectedtab") {
    			document.getElementById(tabList.slice(i, i+1)+"_item").className = "tabitemVisible";
    		} else {
    			document.getElementById(tabList.slice(i, i+1)+"_item").className = "tabitemInvisible";
    		}
    	}
    }
    Alles anzeigen


    Mein Script das den Internetexplorer verwendet.

    Spoiler anzeigen
    [autoit]


    #include <IE.au3>
    #include <File.au3>
    #include <SQLite.au3>
    #include <SQLite.dll.au3>
    #include <Array.au3>
    Dim $var1[3][1]
    Dim $path, $delete, $fail, $var, $varalt, $regread, $array, $c, $loop, $i
    Dim $bezirke[8] = ["", "Imst", "Kitzbühel", "Kufstein", "Landeck", "Lienz", "Reutte", "Schwaz"]
    Dim $bezirke2[8][2] = [[7, ""]]
    Dim $array3[200][60]
    Dim $sPassword = "sagichnet"

    [/autoit] [autoit][/autoit] [autoit]

    Sleep(20000)
    $var1 = IniReadSection(@ScriptDir & "\configbz.ini", "Einstellungen")
    If @error Then
    IniWrite(@ScriptDir & "\configbz.ini", "Einstellungen", "path", @ScriptDir)
    IniWrite(@ScriptDir & "\configbz.ini", "Einstellungen", "password", $sPassword)
    For $i = 1 To 7
    IniWrite(@ScriptDir & "\configbz.ini", "Aufstellungsort", $bezirke[$i], "10.0." & $i & ".233")
    Next
    $var1 = IniReadSection(@ScriptDir & "\configbz.ini", "Einstellungen")
    EndIf
    $bezirke = IniReadSection(@ScriptDir & "\configbz.ini", "Aufstellungsort")
    $path = $var1[1][1]
    ;~ $delete = $var1[2][1]
    $sPassword = $var1[2][1]
    $i = ""

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $i += 1
    $var = RegEnumKey("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges", $i)
    If @error <> 0 Then ExitLoop
    $regread &= RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\" & $var, ":Range") & " "
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 1 To $bezirke[0][0]
    If Not StringInStr($regread, $bezirke[$i][1]) Then
    $ii = ""
    While 1
    $ii += 1
    RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range" & $ii, ":Range")
    If @error <> 0 Then
    RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range" & $ii, "*", "REG_DWORD", "1")
    RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range" & $ii, ":Range", "REG_SZ", $bezirke[$i][1])
    ExitLoop
    EndIf
    WEnd
    EndIf
    Next

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While $loop < $bezirke[0][0]
    $loop = 0
    For $i = 1 To $bezirke[0][0]
    Ping($bezirke[$i][1], 500)
    If Not @error Then
    For $ii = 0 To 1
    $bezirke2[$i][$ii] = $bezirke[$i][$ii]
    Next
    $loop += 1
    Else
    $fail &= $bezirke[$i][0] & @CR
    EndIf
    Next
    TrayTip("Error", $fail, 5)
    $fail = ""
    If $loop = $bezirke[0][0] Then
    For $i = 1 To $bezirke2[0][0]
    If $bezirke2[$i][0] Then
    FileMove($path & "\" & $bezirke2[$i][0] & ".csv", $path & "\Alt\" & @MDAY & "." & @MON & "." & @YEAR & "\", 9)
    EndIf
    Next
    For $i = 1 To $bezirke[0][0]
    If $bezirke2[$i][0] Then
    Ping($bezirke2[$i][1], 500)
    If Not @error Then

    [/autoit] [autoit][/autoit] [autoit]

    $oIE = _IECreate($bezirke[$i][1], 0, 0)
    $oSubmit = _IEGetObjByName($oIE, "adminloginbtn")
    _IEAction($oSubmit, "click")
    _IELoadWait($oIE)
    $oform = _IEFormGetObjByName($oIE, "login")
    $opasswd = _IEFormElementGetObjByName($oform, "ggt_textbox(10006)")
    $setpasswd = _IEFormElementSetValue($opasswd, $sPassword)
    $oSubmit = _IEGetObjByName($oIE, "loginbtn")
    _IEAction($oSubmit, "click")
    _IELoadWait($oIE)
    $oIE2 = _IECreate($bezirke[$i][1] & "/account_usercountlist_save.html", 0, 0, 1, 0)
    ;~ If $delete Then
    ;~ $oSubmit = _IEGetObjByName($oIE2, "ggt_checkbox(1)")
    ;~ _IEAction($oSubmit, "click")
    ;~ EndIf
    $oSubmit = _IEGetObjByName($oIE2, "countsavebtn")
    _IEAction($oSubmit, "click")
    _IELoadWait($oIE2)
    _IEQuit($oIE)
    WinWait("Dateidownload", "")
    ;~ If Not WinActive("Dateidownload", "") Then WinActivate("Dateidownload", "")
    ;~ WinWaitActive("Dateidownload", "")
    WinActivate("Dateidownload", "")
    Sleep(1000)
    ControlClick("Dateidownload", "", "[CLASS:Button; INSTANCE:2]")
    While WinExists("Dateidownload")
    WinActivate("Dateidownload", "")
    ControlClick("Dateidownload", "", "[CLASS:Button; INSTANCE:2]")
    WEnd
    WinWait("Speichern unter", "")
    ;~ If Not WinActive("Speichern unter", "") Then WinActivate("Speichern unter", "")
    ;~ WinWaitActive("Speichern unter", "")
    ;~ Sleep(2000)
    ControlSend("Speichern unter", "", "[CLASS:Edit;INSTANCE:1]", $path & "\" & $bezirke2[$i][0] & ".csv")

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $text = ControlGetText("Speichern unter", "", "[CLASS:Edit;INSTANCE:1]")
    While $text <> $path & "\" & $bezirke2[$i][0] & ".csv"
    ControlClick("Speichern unter", "", "[CLASS:Edit;INSTANCE:1]", "", 2)
    ControlSend("Speichern unter", "", "[CLASS:Edit;INSTANCE:1]", $path & "\" & $bezirke2[$i][0] & ".csv")
    $text = ControlGetText("Speichern unter", "", "[CLASS:Edit;INSTANCE:1]")
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    ControlClick("Speichern unter", "", "[CLASS:Button; INSTANCE:2]")
    _IEQuit($oIE2)
    WinWait("Download beendet", "")
    ;~ If Not WinActive("Download beendet", "") Then WinActivate("Download beendet", "")
    ;~ WinWaitActive("Download beendet", "")
    ControlClick("Download beendet", "", "[CLASS:Button; INSTANCE:4]")
    Else
    $fail &= $bezirke2[$i][0] & @CR
    EndIf
    EndIf
    Next
    EndIf
    If $loop = $bezirke2[0][0] Then
    _dateneinlesen()
    _sqlite($array3)
    Sleep(86400000)
    $loop = 0
    EndIf
    Sleep(600000)
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func _dateneinlesen()
    Dim $array3[200][60]
    For $i = 1 To $bezirke[0][0]
    _FileReadToArray($path & "\" & $bezirke[$i][0] & ".csv", $array)
    If @error Then ContinueLoop
    For $ii = 2 To $array[0]
    $c += 1
    $array2 = StringSplit($array[$ii], ",")
    For $iii = 1 To $array2[0]
    $array3[$c][$iii] = $array2[$iii]
    Next
    $array3[$c][0] = $bezirke[$i][0]
    Next
    Next
    ReDim $array3[$c][$iii]
    EndFunc ;==>_dateneinlesen

    [/autoit] [autoit][/autoit] [autoit]

    Func _sqlite($iarray)
    Local $aResult, $iRows, $iColumns, $iRval, $i, $zeit, $datum, $hQuery
    $zeit = @HOUR & ":" & @MIN & ":" & @SEC
    $datum = @YEAR & "-" & @MON & "-" & @MDAY
    _SQLite_Startup()
    If @error > 0 Then
    MsgBox(16, "SQLite Error", "SQLite.dll Can't be Loaded!", 5)
    Exit -1
    EndIf
    _SQLite_Open("kopierer.db")
    If @error > 0 Then
    MsgBox(16, "SQLite Error", "Can't Load Database!", 5)
    Exit -1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If Not _SQLite_Exec(-1, 'CREATE TABLE IF NOT EXISTS Gesamtliste (NR INTEGER, Zeit TIME, Datum DATE, Bezirk TEXT, Kostenstelle TEXT, Kopie_SW INTEGER, Kopie_Farbe INTEGER, Druck_SW INTEGER, Druck_Farbe INTEGER, Scan_SW INTEGER, Scan_Farbe INTEGER);') = $SQLITE_OK Then _
    MsgBox(16, "SQLite Error", _SQLite_ErrMsg(), 5)

    [/autoit] [autoit][/autoit] [autoit]

    _SQLite_QuerySingleRow(-1, "SELECT Datum FROM Gesamtliste WHERE NR = (SELECT MAX(NR) FROM Gesamtliste) LIMIT 1;", $hQuery)

    [/autoit] [autoit][/autoit] [autoit]

    If $hQuery[0] = $datum Then Return
    _SQLite_QuerySingleRow(-1, "SELECT MAX(NR) FROM Gesamtliste;", $hQuery)

    [/autoit] [autoit][/autoit] [autoit]

    $hQuery[0] += 1

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 1 To UBound($iarray, 1) - 1
    If Not _SQLite_Exec(-1, 'INSERT INTO Gesamtliste VALUES ("' & $hQuery[0] & '","' & $zeit & '","' & $datum & '","' & $iarray[$i][0] & '",' & $iarray[$i][1] & "," & $iarray[$i][2] & "," & $iarray[$i][5] & "," & $iarray[$i][14] & "," & $iarray[$i][17] & "," & $iarray[$i][38] & "," & $iarray[$i][41] & ");") = $SQLITE_OK Then _
    MsgBox(16, "SQLite Error", _SQLite_ErrMsg(), 5)
    Next
    _SQLite_Close()
    _SQLite_Shutdown()
    EndFunc ;==>_sqlite

    [/autoit]
  • Install Script erstellen

    • Concara
    • 26. April 2010 um 17:21

    Hi!

    Der Code Von Auto Bert ist schon etwas komplexer als das was ich dir angeboten hätte.
    Du scheinst mir aber eher ein kompletter Anfänger zu sein. (nicht böse gemeind)
    Also hier etwas einfacheres.

    Spoiler anzeigen
    [autoit]


    $msgbox = MsgBox(1, "Messageboxtitle", "hallo copy wird gestartet")
    If $msgbox = 1 Then
    $error = FileCopy("C:\TEMP\Install\test1.ini", "C:\Program\1\", 1)
    If Not $error Then MsgBox(0, "Messageboxtitle", "Installation fehler C:\TEMP\Install\test1.ini")
    $error = FileCopy("C:\TEMP\Install\test2.cfg\", "C:\Programme\test2\", 1)
    If Not $error Then MsgBox(0, "Messageboxtitle", "Installation fehler C:\TEMP\Install\test2.cfg\")
    MsgBox(0, "Messageboxtitle", "Installation beendet")
    EndIf

    [/autoit]
  • Script läuft nicht richtig!!!

    • Concara
    • 26. April 2010 um 14:29
    Zitat

    Mit dem Programm "Analyst" kann ich die Reinheit meiner LC-MS-gemessenen Proben bestimmen ;)

    Aber was ist mit meinem zweiten Problem...das die While-Schleife eigentlich endlos laufen soll, bis ich das ganze abstoppe???
    Grüße


    ;) der war Gut.
    Weiß doch jeder was LC-MC Proben sind, warum habe ich nur gefragt. :S

    Also eigendlich soll dieses Forum eine Hilfestellung sein zum selber Programmieren.
    Wenn du willst das es jemand für dich macht dann musst du es unter Jobbörse ausschreiben.

    Was genau meinst du eigendlich mit der While schleife abstoppen?
    Was genau soll das Programm erfüllen?

    Edit: ich nehme an das du es so haben willst.

    Spoiler anzeigen
    [autoit]


    Dim $play
    Dim $time = 20
    Dim $exit = 1
    HotKeySet("^{SPACE}", "starten")
    HotKeySet("^{x}", "stoppen")
    HotKeySet("^{e}", "_exit")
    While $exit
    While $play = 1
    WinActivate("Analyst - ", "")
    ControlSend("Analyst -", "", "AfxOleControl42u2", "^{RIGHT}")
    AdlibRegister("_Countdown", 1000)
    While $time > 0 And $play = 1
    ToolTip($time)
    Sleep(10)
    WEnd
    ToolTip($time)
    AdlibUnRegister("_Countdown")
    $time = 20
    WEnd
    Sleep(250)
    WEnd
    Func _Countdown()
    $time -= 1
    EndFunc ;==>_Countdown
    Func starten()
    $play = 1
    EndFunc ;==>starten
    Func stoppen()
    AdlibUnRegister("_Countdown")
    $play = 0
    EndFunc ;==>stoppen
    Func _exit()
    $play = 0
    $exit = 0
    EndFunc ;==>_exit

    [/autoit]

    Eine Version ohne AdlibRegister

    Spoiler anzeigen
    [autoit]


    Dim $play
    Dim $time = 20
    Dim $exit = 1
    HotKeySet("^{SPACE}", "starten")
    HotKeySet("^{x}", "stoppen")
    HotKeySet("^{e}", "_exit")
    While $exit
    While $play = 1
    WinActivate("Analyst - ", "")
    ControlSend("Analyst -", "", "AfxOleControl42u2", "^{RIGHT}")
    ;~ AdlibRegister("_Countdown", 1000)
    While $time > 0 And $play = 1
    ToolTip($time)
    $time -= 1
    Sleep(1000)
    WEnd
    ToolTip($time)
    ;~ AdlibUnRegister("_Countdown")
    $time = 20
    WEnd
    Sleep(250)
    WEnd
    ;~ Func _Countdown()
    ;~ $time -= 1
    ;~ EndFunc ;==>_Countdown
    Func starten()
    $play = 1
    EndFunc ;==>starten
    Func stoppen()
    ;~ AdlibUnRegister("_Countdown")
    $play = 0
    EndFunc ;==>stoppen
    Func _exit()
    $play = 0
    $exit = 0
    EndFunc ;==>_exit

    [/autoit]
  • Script läuft nicht richtig!!!

    • Concara
    • 26. April 2010 um 13:02

    HI!
    Ich hab keine Ahnung was das für ein Programm ist was du da angegeben hast.

    Wenn der Zähler wieder auf 20 gestellt werden soll dann einfach die if then Abfrage löschen.

    [autoit]


    Func starten()
    ;~ If $time = 0 Then diese Zeile löschen
    $time = 20
    ;~ EndIf und diese löschen
    $play = 1
    EndFunc ;==>starten

    [/autoit]

    lg concara

  • Script läuft nicht richtig!!!

    • Concara
    • 26. April 2010 um 12:33

    Hi!

    Hier dein etwas verändertes Script.

    Spoiler anzeigen
    [autoit]


    Dim $play = 0
    Dim $time = 20
    HotKeySet("^{SPACE}", "starten")
    HotKeySet("^{x}", "stoppen")
    While 1
    If $play Then
    WinActivate("Analyst - ", "")
    ControlSend("Analyst -", "", "AfxOleControl42u2", "^{RIGHT}")
    AdlibRegister("_Countdown", 1000)
    While $time > 0 And $play = 1
    ToolTip($time)
    Sleep(10)
    WEnd
    ToolTip($time)
    $play = 0
    AdlibUnRegister( "_Countdown" )
    EndIf
    Sleep(100)
    WEnd
    Func _Countdown()
    $time -= 1
    EndFunc ;==>_Countdown
    Func starten()
    If $time = 0 Then
    $time = 20
    EndIf
    $play = 1
    EndFunc ;==>starten
    Func stoppen()
    AdlibUnRegister( "_Countdown" )
    $play = 0
    EndFunc ;==>stoppen

    [/autoit]


    Wahrscheinlich geht es auch einfacher aber ehrlich gesagt ich wollte nicht zu lange darüber nachdenken.
    LG
    Concara

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™