Comments (3)
This could be related to my issue if confirmed
On 11 Mar 2013 12:47, "Christian Koepp" [email protected] wrote:
I've got a problem with multiple entities as input for one transform. It
seems that canari only installs a transform for the very first entity in
the inputs-list.My configuration looks like this:
from canari.maltego.entities import Person, EmailAddress
...
@configure(
label='To Dummy [Dummy]',
description='Returns a Dummy entity"',
uuids=[ 'dummy.v2.ToDummy' ],
inputs=[ ( 'Maltego.Person', Person ), ( 'Maltego.EmailAddress', EmailAddress ) ],
debug=True
)Installing went fine but I'm only able to use this transform on
Maltego.Person. There is no such option with Maltego.EmailAddressI should add that I'm limited to Maltego on Windows currently and I
haven't verified it on a Linux system yet.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10
.
from canari.
Hi @ckoepp
You have to match the number of uuids
in @configure
to the number of inputs
. For example:
from canari.maltego.entities import Person, EmailAddress
# ...
@configure(
label='To Dummy [Dummy]',
description='Returns a Dummy entity"',
uuids=[ 'dummy.v2.ToDummy' , 'dummy.v2.ToDummy2' ],
inputs=[ ( 'Maltego.Person', Person ), ( 'Maltego.EmailAddress', EmailAddress ) ],
debug=True
)
This is necessary because Maltego treats the transform as two different transforms even though only one piece of code is being executed.
from canari.
Well, that indeed makes sense :)
Thanks for the hint!
from canari.
Related Issues (20)
- Input parameters (request.params) HOT 4
- Dynamic Properties of Maltego Entities HOT 2
- Error on every MaltegoException() HOT 2
- Enterbox with remember settings HOT 2
- TDS Section of "5. Transform Development Quick-Start"
- canari create-package produces entities.py with broken namespace HOT 1
- transform.local.command property of transform set to homebrew's python bin directory HOT 1
- Failing to parse Maltego transform request message HOT 2
- TypeError raised in `canari create-profile sploitego` after commit 31dae7c HOT 6
- Documentation out of date on Plume and V3 transforms HOT 6
- create-profile invalid command HOT 2
- generate-entities failing with multiple properties HOT 1
- entity properties with newlines not passed properly on windows
- how do i request value from user through the dialog box? HOT 4
- "create-profile" error when importing Maltego .mtz file containing Icons folder
- Transform To Technology [P0f] returned with an error HOT 3
- install-package throws OSError: [Errno 2] No such file or directory HOT 1
- Is this dead or alive?
- Further segmenting transforms directories / Transforms Sets
- Hash entity missing hash type field
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canari.