<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>asmw.de &#187; calllog</title>
	<atom:link href="http://asmw.de/?feed=rss2&#038;tag=calllog" rel="self" type="application/rss+xml" />
	<link>http://asmw.de</link>
	<description>...assembling words</description>
	<lastBuildDate>Mon, 16 Aug 2010 20:39:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>You can&#8217;t hide from the python</title>
		<link>http://asmw.de/?p=111</link>
		<comments>http://asmw.de/?p=111#comments</comments>
		<pubDate>Sun, 01 Nov 2009 19:42:18 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[calllog]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[fritz]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[speed2fritz]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=111</guid>
		<description><![CDATA[<p>I&#8217;m a command line freak and thus I want to read the call logs from my newly converted Freakz^wFritz!Box from the command line.</p>
<p>First I tried to mess with the telnetd on the box but I didn&#8217;t find the logs and as it is possible to fetch a csv-file containing the call-log via the web-interface I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a command line freak and thus I want to read the call logs from my newly converted Freakz^wFritz!Box from the command line.</p>
<p>First I tried to mess with the telnetd on the box but I didn&#8217;t find the logs and as it is possible to fetch a csv-file containing the call-log via the web-interface I turned my attention to that.</p>
<p>In the olden times it was apparently possible to just log into the boxes webinterface by POSTing the password, save the cookie and request stuff.<br />
Nowadays AVM has implemented a challenge-response protocol using javascript. If you can answer a challenge with the correct md5 hash you get a session id to use the web=interface.</p>
<p>This might be a nice thing from a security perspective but it sucks a little for scripting. Meh.</p>
<p>But a little python magic solves the problem.</p>
<p>So here you go: <a title="fritzlog.py fritzbox calllog script" href="http://asmw.de/downloads/fritzlog.py">fritzlog.py</a></p>
<p>Usage: python fritzlog.py &lt;password&gt;</p>
<p>You can also edit the script and make your password the default.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
