Results 1 to 5 of 5

Thread: Spoofa - an Arpspoof replacement

  1. #1
    Join Date
    2013-Mar
    Location
    Totally lost
    Posts
    45

    Spoofa - an Arpspoof replacement

    https://github.com/SilverFoxx/Spoofa

    Arpspoof is broken in Kali, and based on the bugtracker it doesn't look
    like it will be fixed anytime soon. And much as I appreciate all the
    hard work going into Ettercap, I find it slightly unstable at
    times. So I still have a need for arpspoof, and have written a new version
    in Ruby.

    I'm keen to fix bugs, so give it a go and let me know if there are any
    problems.
    Code:
    apt-get install ruby-dev
    gem install pcaprub
    gem install packetfu
    
    cd /path/to/your_clones
    git clone https://github.com/SilverFoxx/Spoofa
    cd Spoofa
    ruby spoofa -h
    From the README.md:

    Code:
    # Spoofa
    
    A Ruby replacement for Arpspoof
    
    ### Install Requirements
    
    ```gem install pcaprub```  
    ```gem install packetfu```
    
    ### Usage
    
    #### Interactive mode
    
    Start without any arguments: ```ruby spoofa```
    
    Runs a quick script to set the variables. Will offer sane defaults for the various options.
    
    #### Command line mode
    
    ```ruby spoofa [-hmpv] [-t target(s)] [-g gateway] -i interface```
    
    Required:
    
    *-i interface*
    
    Options: 
    
    *-h* Help
    
    [*-m* Smart ARPing; NOT YET AVAILABLE. Attempts to monitor ARP requests from the target(s), and only reply as necessary. *May* avoid IDS/ARPwatch etc.]
    
    *-p* Uses parallel/multi-threaded scanning. Very slow without it; but possibly unstable on some systems. Best run with "-v".
    
    *-v* Run verbosely
    
    *-t targets(s)* One or more targets separated by comma (no whitespace), and/or hyphened range(s). E.g. "-t 192.168.1.10,192.168.1.50-100". If omitted, the entire subnet will be targeted. Without [-g], one-way spoofing is performed, i.e. packets *from* the target are intercepted."
    
    *-g gateway* A second target, usually the gateway. Performs two-way spoofing, i.e. intercepts packets both to *and* from the target.
    
    #### Examples
    
    ```ruby spoofa -t 10.0.0.2-50 -i eth0``` One-way spoofing of 10.0.0.2 to 10.0.0.50.
    
    ```ruby spoofa -t 10.0.0.5,10.0.0.10-20 -g 10.0.0.254 -i wlan1``` Two-way spoofing of 10.0.0.5 and 10-20, and the gateway (10.0.0.254).
    
    ```ruby spoofa -vp -i wlan3``` One-way spoofing of all live hosts, verbosely, with multi-threading.
    
    ```ruby spoofa``` Starts in interactive mode, and prompts for variables.
    
    ### Troubleshooting
    
    Tested on Kali Linux only.
    
    Check gems are installed: ```gem list```
    
    If errors installing gems, first try: ```apt-get install ruby-dev libpcap0.8-dev```
    
    Run packetfu's tests:
    
    ```cd /var/lib/gems/1.9.1/gems/packetfu-1.1.8/test/ && ruby all_tests.rb```
    
    Play with packetfu's excellent irb (check is executable first):
    
    ```cd /var/lib/gems/1.9.1/gems/packetfu-1.1.8/examples && irb -r ./packetfu-shell.rb``` 
    
    Ensure you are connected to the network before running the script.
    
    Multi-threading is used to speed up the scanning (live host detection). The settings are conservative (runs on 2011 MBA, VMWare Fusion, 800MB RAM assigned). If the scanning hangs, try without "-p".
    
    Best to use a USB wireless card if running in a VM, due to the unpredictable way the VM handles address assignment.
    
    ### Author
    
    VulpiArgenti (SilverFoxx) (C) 2013
    
    ### Licence
    
    GPL. See LICENSE for licensing details.

  2. #2
    Join Date
    2013-Sep
    Posts
    6
    by the way if you get this error with gem install pcaprub:
    ERROR: Error installing pcaprub:
    ERROR: Failed to build gem native extension.
    then install this lib:
    apt-get install libpcap-dev

  3. #3
    Join Date
    2013-Sep
    Posts
    1
    hey, i get the same error while installing pcaprub. but i've libpcap-dev already installed.

    root@b0x:~# gem install pcaprub
    Building native extensions. This could take a while...
    ERROR: Error installing pcaprub:
    ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.9.1 extconf.rb
    /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from extconf.rb:1:in `<main>'


    Gem files will remain installed in /var/lib/gems/1.9.1/gems/pcaprub-0.11.3 for inspection.
    Results logged to /var/lib/gems/1.9.1/gems/pcaprub-0.11.3/ext/pcaprub/gem_make.out


    can anyone help me out on this?

  4. #4
    Join Date
    2013-Mar
    Location
    Totally lost
    Posts
    45
    Have you tried (from the README):
    Code:
    apt-get install ruby-dev

  5. #5
    Join Date
    2013-Mar
    Location
    Totally lost
    Posts
    45
    Lots of improvements recently. I think it's ready for prime-time (let me know if you disagree).

    https://github.com/SilverFoxx/Spoofa

Similar Threads

  1. Replies: 0
    Last Post: 2016-05-17, 09:07
  2. Truecrypt alternative / replacement
    By HellAdmin in forum Development Archive
    Replies: 0
    Last Post: 2014-06-29, 09:36
  3. Packages won't upgrade unpacking replacement?
    By cowzy in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-03-24, 21:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •