roccomuso / kickthemout

:bomb: Kick devices off your network by performing an ARP Spoof attack with Node.js.
MIT License
283 stars 30 forks source link

when launched in vmware it crashes #3

Open phra opened 7 years ago

phra commented 7 years ago

hi.

when launching the application inside an vmware virtual machine in bridge mode (so no NAT involved) the application crashes with the following message:

? What to do? Start KickThemOut
? Select the network Interface: ens33
  Scanning LAN.. |events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn arp ENOENT
    at exports._errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

the guest machine is running debian testing while the host machine is running the latest windows.

roccomuso commented 7 years ago

@phra What OS runs on the VM? Probably the cli arp tools is missing (here). Error raised from the node-arp dependency.

phra commented 7 years ago

i'm running kali linux and, yes, the arp command is not available. i've installed net-tools but it's still missing.

roccomuso commented 7 years ago

ok. It seems a cli deprecated tool. It's worth make a PR to node-arp and have a fallback cmd perhaps.