diff options
Diffstat (limited to 'lib/tasks/agent.rake')
| -rw-r--r-- | lib/tasks/agent.rake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/agent.rake b/lib/tasks/agent.rake index d00de1d..98aa2d5 100644 --- a/lib/tasks/agent.rake +++ b/lib/tasks/agent.rake @@ -12,4 +12,10 @@ namespace :agent do agent = FakeAgent.new(Agent.first.id, 'http://localhost:3000') agent.scan(Dir.pwd) end + + desc "scan network traffic" + task nfm: :environment do + agent = FakeAgent.new(Agent.first.id, 'http://localhost:3000') + agent.sniff('en1') + end end |
