This transform example shows reading an entity as well as setting properties, additional fields, a UI message and the weight of the entity (run on a domain): from MaltegoTransform import. import sys me = MaltegoTransform domain = sys.argv1 thisent = me.addEntity('maltego.Domain','hello ' + domain) thisent.setType('maltego.Domain') thisent.setValue('Complex.' SniffMyPackets is a set of Maltego transforms written using the Canari framework that allow for the analysis of pcap files. Currently there are over 60 transforms that cover things such as: extracting TCP/UDP streams. Rewriting IP src/dst addresses for pcap replay. SHA1 & MD5 hashing. Rebuilding of files from pcap files.
In my current project, I have some connection strings that are valid for local development machines:
How would I use the Web.Config transforms to convert from this expression to one valid for our production server? The production server one would look something like:
The syntax isn't obvious to me, and I'm completely failing at grokking the page on it.
Mike BaileyMike Bailey8,2801010 gold badges5656 silver badges113113 bronze badges
2 Answers
This works for me but I too have found it to be a bit flakey at times.You will need to create another file called Web.Config.Release and fill it with the following:
Bala R92.1k2121 gold badges166166 silver badges191191 bronze badges
sbeskursbeskur
You shouldn't need to create a new file, it should be in the Solution Explorer, expand Web.config, and open Web.Release.config.
Scott Allan has a good video on it here (under Configuration and Deployment > Config Transformations).
JasonH91111 gold badge1616 silver badges1919 bronze badges
Garrett FogerlieGarrett Fogerlie3,88433 gold badges2727 silver badges5353 bronze badges
Not the answer you're looking for? Browse other questions tagged c#asp.net-mvc-3web-configconnection-string or ask your own question.
I'm trying to use the MaltegoTransform module to parse a csv file to a maltego graph.
Given that it is a transform which has to be applied on some kind of entity, I've defined it to accept any kind of entity as input.Now for the fun part,Each line within the csv is a domain and its referers and referees (in the form of a long string, each domain seperated with a |).
I want to be able to parse each said line into my graph in such a way that the structure remains, meaning that a domain would be pointed to (with edges) by his referers and point to his referees.I aim to do this for each line within the csv.
So far, I wasn't able to create the structure I'm after due to the fact that each entity returned from the transform, gets an edge from the entity that called the transform, which as explained above, called be a random entity..
Any ideas?
martineau73.2k1010 gold badges9898 silver badges191191 bronze badges
doria90doria90
1 Answer
Short: Transforms for Maltego (all at this stage) can only return entities that are child nodes of the entity the transform was run on as well as updating the transform they were run on (see http://dev.paterva.com/developer/forum/viewtopic.php?id=21).
But, since Maltego written in Java, you can try to write your own implementation of Entity and Link Factories (so they will create those elements in Maltego DB based on LocalTransform's XML output)
Kirill KruglovKirill Kruglov
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.