<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Python on Insinuator.net - Bold Statements</title>
    <link>https://insinuator.net/tags/python/</link>
    <description>Recent content in Python on Insinuator.net - Bold Statements</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 16 Nov 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://insinuator.net/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dumping Decrypted Documents from a North Korean PDF Reader</title>
      <link>https://insinuator.net/2018/11/dumping-decrypted-documents-from-a-north-korean-pdf-reader/</link>
      <pubDate>Fri, 16 Nov 2018 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2018/11/dumping-decrypted-documents-from-a-north-korean-pdf-reader/</guid>
      <description>&lt;p&gt;This is a write-up about how to use &lt;a href=&#34;https://www.frida.re/&#34;&gt;Frida&lt;/a&gt; to dump documents from a process after they have been loaded and decrypted. It’s a generic and very effective approach demonstrated on a piece of software from North Korea.&lt;/p&gt;&#xA;&lt;p&gt;Some time ago we received an ISO file which was a dump of a CD-ROM from North Korea. The only information we got was that it included a document viewer and various PDF documents. I started to dump the content of the ISO in order to analyze what the reader was actually doing by mounting it:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Python For Hackers</title>
      <link>https://insinuator.net/2015/09/python-for-hackers/</link>
      <pubDate>Tue, 29 Sep 2015 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2015/09/python-for-hackers/</guid>
      <description>&lt;p&gt;Python has reached a defacto standard in exploit development lifecycles and most of the proof of concept tools you’ll find out there are written in Python (besides the metasploit framework, which is written in Ruby). Python allows to write scripts handling with remote services, fiddling with binary data and interacting with C libraries (or Java in case of Jython/.Net in IronPython) in a fast and easy way. The huge standard library with it’s “battery included” principle removes some of the dependency hell known from other frameworks/languages. I want to share some of my python coding experiences with you, and maybe this could give some helpful tips for your future work, to make the world a bit safer 🙂 (PS: most of the examples are written in Python 3.x or compatible to both Python branches).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Django Image Validation Vulnerability</title>
      <link>https://insinuator.net/2014/05/django-image-validation-vulnerability/</link>
      <pubDate>Fri, 16 May 2014 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2014/05/django-image-validation-vulnerability/</guid>
      <description>&lt;p&gt;Hi!&lt;/p&gt;&#xA;&lt;p&gt;In the course of a recent penetration test, we came across an Image validation vulnerability in Django when using the &lt;a href=&#34;http://www.pythonware.com/products/pil/&#34;&gt;Python-Imaging-Library (PIL)&lt;/a&gt; which we want to explain in this post.&lt;/p&gt;&#xA;&lt;p&gt;Everybody who doesn’t know what &lt;a href=&#34;https://www.djangoproject.com/&#34;&gt;Django&lt;/a&gt; and/or the PIL is:&lt;br&gt;&#xA;Django is a framework to create web applications with Python (comparable to Rails or Zend). The PIL is a powerful standard python library which provides a toolset to modify, display and verify images of many different formats.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Some Security Impacts of HTML5 CORS or How to use a Browser as a Proxy</title>
      <link>https://insinuator.net/2013/08/some-security-impacts-of-html5-cors-or-how-to-use-a-browser-as-a-proxy/</link>
      <pubDate>Mon, 26 Aug 2013 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2013/08/some-security-impacts-of-html5-cors-or-how-to-use-a-browser-as-a-proxy/</guid>
      <description>&lt;p&gt;With HTML 5 the current web development moves from server side generated content and layout to client side generated. Most of the so called &lt;em&gt;HTML5 powered&lt;/em&gt; websites use JavaScript and CSS for generating beautiful looking and responsive user experiences. This ultimately leads to the point were developers want to include or request third-party resources. &lt;em&gt;Un&lt;/em&gt;fortunately all current browsers prevent scripts to request external resources through a security feature called the &lt;em&gt;Same-Origin-Policy&lt;/em&gt;. This policy specifies that client side code could only request resources from the domain being executed from. This means that a script from example.com can not load a resource from google.com via AJAX(XHR/XmlHttpRequest).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Python Library for De- and Encoding of WCF-Binary streams</title>
      <link>https://insinuator.net/2011/12/python-library-for-de-and-encoding-of-wcf-binary-streams/</link>
      <pubDate>Fri, 23 Dec 2011 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2011/12/python-library-for-de-and-encoding-of-wcf-binary-streams/</guid>
      <description>&lt;p&gt;In a .NET environment WCF services can use the proprietary WCF binary XML protocol described &lt;a href=&#34;https://blogs.msdn.com/b/drnick/archive/2009/09/11/binary-encoding-part-4.aspx&#34;&gt;here&lt;/a&gt;. Microsoft uses this protocol to save some time parsing the transmitted XML data. If you have to (pen-) test such services, it would be nice to read (and modify) the communication between (for example) clients and servers. One possibility is &lt;a href=&#34;http://www.fiddler2.com&#34;&gt;Fiddler&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Fiddler’s strengths include its extensibility and its WCF binary plugins. Sadly, these plugins can only decode and display the binary content as XML text.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use Python for Burp plugins with pyBurp</title>
      <link>https://insinuator.net/2011/12/use-python-for-burp-plugins-with-pyburp/</link>
      <pubDate>Fri, 23 Dec 2011 00:00:00 +0000</pubDate>
      <guid>https://insinuator.net/2011/12/use-python-for-burp-plugins-with-pyburp/</guid>
      <description>&lt;p&gt;One of our favorite tools for conducting penetration tests (especially, but not only, web application tests) is Portswiggers’s &lt;a href=&#34;http://portswigger.net/burp/&#34; title=&#34;Burp Suite&#34;&gt;Burp Suite.&lt;/a&gt; Burp allows to extend its features by writing own plugins. But because Burp is written in Java, it only supports Java classes as plugins. Additionally, Burp only allows to use one plugin at the same time which has to be loaded on start-up.&lt;/p&gt;&#xA;&lt;p&gt;Now we have written a Burp-Python proxy (called &lt;strong&gt;pyBurp&lt;/strong&gt;) which adds some features to the plugin system:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
