Skip to content

How to execute python script in CORE emulator ? #613

Answered by PatrickTague
meenakshi510 asked this question in Q&A
Discussion options

You must be logged in to vote

i would recommend reading this: https://coreemu.github.io/core/services.html#new-services

you an use the UserDefined service to run a shell script to do whatever you want, or you can create your own custom services (explained with examples on the same page linked above). several of the sample networks in the .imn files packaged with core include examples you can look at. for example, the sample5-mgen.imn network uses a UserDefined service to call the mgen traffic generation executable from a bash script.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@meenakshi510
Comment options

Answer selected by bharnden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants