Skip to content

RDMcMahon/MaltegoTransformNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

MaltegoTransformNet

A .NET library for writing Maltego Transforms

Basic Usage


using System;
using MaltegoTransformNet.Core;
using MaltegoTransformNet.Core.Enums;

namespace MaltegoTransformNet.Cmd
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			//Parse the maltego arguments

			//Write your code to get data


			//Create the maltego response generator
			var maltego = new MaltegoResponseGenerator();

			//Add entities from the helper functions
			maltego.AddPersonEntity("John Doe", "John", "Doe", "Store Manager", "US", "Here are some notes");

			//Or you can make an entity from scratch and add it
			var entity = new Entity();
			entity.Type = EntityEnum.Phrase.ToString ();
			entity.Value = "John Doe";
			entity.AdditionalFields.Add (new Field {
				DisplayName = "#firstname",
				Name = "FirstName",
				Value = "John"
			});

			//Write the xml to the console
			Console.WriteLine (maltego.GetMaltegoMessageText());

		}
	}

}

About

A .NET library for writing Maltego Transforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages