Created
August 29, 2012 16:58
-
-
Save krmaxwell/3515612 to your computer and use it in GitHub Desktop.
GraphML extracted from Maltego Casefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kmaxwell@godel:~/Desktop/maltego-test/Graphs$ python | |
Python 2.7.3 (default, Aug 1 2012, 05:14:39) | |
[GCC 4.6.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import igraph | |
>>> testgraph = Graph.Read_GraphML("Graph1.graphml") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
NameError: name 'Graph' is not defined | |
>>> testgraph = igraph.Graph.Read_GraphML("Graph1.graphml") | |
python: igraph_strvector.c:467: igraph_strvector_size: Assertion `sv->data != 0' failed. | |
Aborted (core dumped) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.1" encoding="UTF-8" standalone="no"?> | |
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> | |
<VersionInfo createdBy="Maltego CaseFile Community" subtitle="" version="1.0.1.2483"/> | |
<key for="graphml" id="d0" yfiles.type="resources"/> | |
<key for="port" id="d1" yfiles.type="portgraphics"/> | |
<key for="port" id="d2" yfiles.type="portgeometry"/> | |
<key for="port" id="d3" yfiles.type="portuserdata"/> | |
<key attr.name="MaltegoEntity" for="node" id="d4"/> | |
<key for="node" id="d5" yfiles.type="nodegraphics"/> | |
<key attr.name="MaltegoLink" for="edge" id="d6"/> | |
<key for="edge" id="d7" yfiles.type="edgegraphics"/> | |
<graph edgedefault="directed" id="G"> | |
<node id="n0"> | |
<data key="d4"> | |
<mtg:MaltegoEntity xmlns:mtg="http://maltego.paterva.com/xml/mtgx" type="maltego.DesktopComputer"> | |
<mtg:Properties> | |
<mtg:Property displayName="Device" hidden="false" name="device" nullable="true" readonly="false" type="string"> | |
<mtg:Value>PC</mtg:Value> | |
</mtg:Property> | |
</mtg:Properties> | |
</mtg:MaltegoEntity> | |
</data> | |
<data key="d5"> | |
<mtg:EntityRenderer xmlns:mtg="http://maltego.paterva.com/xml/mtgx"> | |
<mtg:Position x="270.0" y="160.0"/> | |
</mtg:EntityRenderer> | |
</data> | |
</node> | |
<node id="n1"> | |
<data key="d4"> | |
<mtg:MaltegoEntity xmlns:mtg="http://maltego.paterva.com/xml/mtgx" type="maltego.Smartphone"> | |
<mtg:Properties> | |
<mtg:Property displayName="Device" hidden="false" name="device" nullable="true" readonly="false" type="string"> | |
<mtg:Value>HTC</mtg:Value> | |
</mtg:Property> | |
</mtg:Properties> | |
</mtg:MaltegoEntity> | |
</data> | |
<data key="d5"> | |
<mtg:EntityRenderer xmlns:mtg="http://maltego.paterva.com/xml/mtgx"> | |
<mtg:Position x="512.0" y="216.0"/> | |
</mtg:EntityRenderer> | |
</data> | |
</node> | |
<edge id="e0" source="n1" target="n0"> | |
<data key="d6"> | |
<mtg:MaltegoLink xmlns:mtg="http://maltego.paterva.com/xml/mtgx" type="maltego.link.manual-link"> | |
<mtg:Properties> | |
<mtg:Property displayName="Show Label" hidden="false" name="maltego.link.show-label" nullable="true" readonly="false" type="int"> | |
<mtg:Value>0</mtg:Value> | |
</mtg:Property> | |
<mtg:Property displayName="Thickness" hidden="false" name="maltego.link.thickness" nullable="true" readonly="false" type="int"> | |
<mtg:Value>2</mtg:Value> | |
</mtg:Property> | |
<mtg:Property displayName="Label" hidden="false" name="maltego.link.manual.type" nullable="true" readonly="false" type="string"> | |
<mtg:Value>Test link</mtg:Value> | |
</mtg:Property> | |
<mtg:Property displayName="Style" hidden="false" name="maltego.link.style" nullable="true" readonly="false" type="int"> | |
<mtg:Value>0</mtg:Value> | |
</mtg:Property> | |
<mtg:Property displayName="Description" hidden="false" name="maltego.link.manual.description" nullable="true" readonly="false" type="string"> | |
<mtg:Value/> | |
</mtg:Property> | |
<mtg:Property displayName="Color" hidden="false" name="maltego.link.color" nullable="true" readonly="false" type="color"> | |
<mtg:Value>-8421505</mtg:Value> | |
</mtg:Property> | |
</mtg:Properties> | |
</mtg:MaltegoLink> | |
</data> | |
<data key="d7"> | |
<mtg:LinkRenderer xmlns:mtg="http://maltego.paterva.com/xml/mtgx"/> | |
</data> | |
</edge> | |
</graph> | |
<data key="d0"> | |
<y:Resources/> | |
</data> | |
</graphml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you found the solution to this problem ?