<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD]]></title><description><![CDATA[<p>Guten Tag,</p>
<p>ich wende mich an euch weil ich einfach nicht mehr weiter weiß...</p>
<p>Also, ich schreib gerade einen HTTP Sniffer und bin gerade dabei HTTPS-Sniffing einzubauen.<br />
Dazu hooke ich beim InternetExplorer ( der Firefox kommt erst noch :/) die Funktion HttpSendRequestA.</p>
<p>Das ganze wird mit einem Inline Hook, der über Code Injection gesetzt wird gemacht ( ohne Tutorial oä geschrieben,<br />
also nicht denken das ich keine Ahnung habe von dem was ich machen will <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> )</p>
<p>Wenn ich in meinem Hook <strong>InternetQueryOption</strong> mit <strong>HTTP_QUERY_REQUEST_METHOD</strong> aufrufe klappt alles ( der Buffer enthält danach GET oder POST),<br />
wenn ich aber die gleiche Funktion mit <strong>HTTP_QUERY_CONTENT_TYPE</strong> aufrufe gibt sie <strong>false</strong> zurück.<br />
Außerdem ist LastError im OllyDbg dann <strong>00002F76</strong>, ein Code der von OllyDbg nicht Formatiert werden kann und auch in der MSDN nicht auftaucht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
<p>Komischer weise passiert beim Aufruf von <strong>InternetQueryOption</strong> das gleiche...</p>
<p>Ich hoffe ihr könnt mir helfen, ich weiß sonst echt nicht wie ich weitermachen soll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>Schon mal vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/235880/https-sniffer-gt-httpqueryinfo-gt-unbekannter-getlasterror-code-außer-bei-http_query_request_method</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 00:47:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/235880.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Mar 2009 20:55:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sat, 07 Mar 2009 20:55:49 GMT]]></title><description><![CDATA[<p>Guten Tag,</p>
<p>ich wende mich an euch weil ich einfach nicht mehr weiter weiß...</p>
<p>Also, ich schreib gerade einen HTTP Sniffer und bin gerade dabei HTTPS-Sniffing einzubauen.<br />
Dazu hooke ich beim InternetExplorer ( der Firefox kommt erst noch :/) die Funktion HttpSendRequestA.</p>
<p>Das ganze wird mit einem Inline Hook, der über Code Injection gesetzt wird gemacht ( ohne Tutorial oä geschrieben,<br />
also nicht denken das ich keine Ahnung habe von dem was ich machen will <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> )</p>
<p>Wenn ich in meinem Hook <strong>InternetQueryOption</strong> mit <strong>HTTP_QUERY_REQUEST_METHOD</strong> aufrufe klappt alles ( der Buffer enthält danach GET oder POST),<br />
wenn ich aber die gleiche Funktion mit <strong>HTTP_QUERY_CONTENT_TYPE</strong> aufrufe gibt sie <strong>false</strong> zurück.<br />
Außerdem ist LastError im OllyDbg dann <strong>00002F76</strong>, ein Code der von OllyDbg nicht Formatiert werden kann und auch in der MSDN nicht auftaucht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
<p>Komischer weise passiert beim Aufruf von <strong>InternetQueryOption</strong> das gleiche...</p>
<p>Ich hoffe ihr könnt mir helfen, ich weiß sonst echt nicht wie ich weitermachen soll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>Schon mal vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1675869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1675869</guid><dc:creator><![CDATA[AnyRandomName]]></dc:creator><pubDate>Sat, 07 Mar 2009 20:55:49 GMT</pubDate></item><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sat, 07 Mar 2009 22:56:18 GMT]]></title><description><![CDATA[<p>Laut meiner MSDN nimmt InternetQueryOption gar keine Flags namens HTTP_*. Meinst du HttpQueryInfo?</p>
<p>PS: Ist ein HTTP-Sniffer via Browser-Hooking nicht unzureichend? &quot;Normale&quot; Anwendungen können schließlich auch über HTTP kommunizieren, zudem müsste es doch schwierig/langwierig sein, alle Browser abzudecken?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1675937</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1675937</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sat, 07 Mar 2009 22:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sun, 08 Mar 2009 01:11:18 GMT]]></title><description><![CDATA[<p>Hallo <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Natürlich mein ich HttpQueryInfo, da hatt ich meine Gedanken wohl mal wieder wo anders, tut mir Leid.</p>
<p>Unzureichend? Naja, kennst du einen anderen Weg HTTPS Requests zu sniffen?<br />
HTTP Requests werden von allen Programmen über einen RAWSocket Sniffer geloggt. Wär für jeden Vorschlag dankbar.<br />
Ansonsten bleibt mir wohl nicht viel übrig <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>Und wenn Firefox und IE abgedeckt sind sollte das für so ein kleines privates<br />
Projekt reichen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Aber zu dem Fehler weißt du auch nichts, oder?</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1675973</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1675973</guid><dc:creator><![CDATA[AnyRandomName]]></dc:creator><pubDate>Sun, 08 Mar 2009 01:11:18 GMT</pubDate></item><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sun, 08 Mar 2009 01:49:21 GMT]]></title><description><![CDATA[<p>AnyRandomName schrieb:</p>
<blockquote>
<p>Unzureichend? Naja, kennst du einen anderen Weg HTTPS Requests zu sniffen?</p>
</blockquote>
<p>Ne, ich kenne mich da kaum aus, dachte nur es wäre für HTTP klüger, auf Treiber-Ebene mitzusniffen (was aber auch relativ kompliziert sein soll), fällt für HTTPS aber sicherlich weg..</p>
<p>AnyRandomName schrieb:</p>
<blockquote>
<p>Aber zu dem Fehler weißt du auch nichts, oder?</p>
</blockquote>
<p>Leider nein. Lustigerweise gibt's bei Google zu &quot;<em>HttpQueryInfo 2F76</em>&quot; kaum Ergebnisse, bei &quot;<em>HttpQueryInfo 12150</em>&quot; aber jede Menge <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> Vielleicht ist da was dabei, viel Glück! (Und berichte mal, wenn du die Lösung hast)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1675979</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1675979</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sun, 08 Mar 2009 01:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sun, 08 Mar 2009 08:02:14 GMT]]></title><description><![CDATA[<blockquote>
<p>Naja, kennst du einen anderen Weg HTTPS Requests zu sniffen?</p>
</blockquote>
<p><a href="http://en.wikipedia.org/wiki/Layered_Service_Provider" rel="nofollow">http://en.wikipedia.org/wiki/Layered_Service_Provider</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1676002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1676002</guid><dc:creator><![CDATA[-,]]></dc:creator><pubDate>Sun, 08 Mar 2009 08:02:14 GMT</pubDate></item><item><title><![CDATA[Reply to HTTPS Sniffer -&amp;gt; HttpQueryInfo -&amp;gt; unbekannter GetLastError()-Code, außer bei HTTP_QUERY_REQUEST_METHOD on Sun, 08 Mar 2009 14:15:04 GMT]]></title><description><![CDATA[<p>Ui, da is der Hook aber doch einfacher <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Also, ich seh grad das originale HttpSendRequest gibt ERROR_IO_PENDING zurück, was ja darauf schliesen lässt das die Internet Connection Asyncron ist und sie einfach<br />
nicht sofort ihre Arbeit beenden konnte..<br />
Normal wird da afaik ein Callback registriert der dann aufgerufen wird sobald sie fertig ist..<br />
Nur wie kann ich das dann Hook-Technisch lösen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1676127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1676127</guid><dc:creator><![CDATA[AnyRandomName]]></dc:creator><pubDate>Sun, 08 Mar 2009 14:15:04 GMT</pubDate></item></channel></rss>