Last active
August 29, 2015 14:16
-
-
Save sroberts/ce019b5f3e188ee1fd46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# For a 1-1 transform, so we create one location entity based | |
# on the geolocation data. | |
trx.addEntity("maltego.Location", "New York, NY") | |
# This can also be placed in a loop and will result in multiple entities. | |
locations = ["New York", "Washington DC", "San Francisco"] | |
for location in locations: | |
trx.addEntity("maltego.Location", location) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment