LionSec / xerosploit

Efficient and advanced man in the middle framework
GNU General Public License v3.0
2.02k stars 651 forks source link

xerosploit is not running, please help me how to solve this , thanku #221

Open sundaram0708 opened 4 years ago

sundaram0708 commented 4 years ago

┌══════════════════════════════════════════════════════════════┐ █ █ █ Xerosploit Installer █ █ █ └══════════════════════════════════════════════════════════════┘

[++] Please choose your operating system.

1) Ubuntu / Kali linux / Others 2) Parrot OS

1

[++] Installing Xerosploit ... Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease Reading package lists... Done Reading package lists... Done Building dependency tree
Reading state information... Done Package libgmp3-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libgmp-dev

E: Unable to locate package python-pip E: Unable to locate package libpcap-dev E: Package 'libgmp3-dev' has no installation candidate WARNING: bin/xettercap is not executable WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: xettercap Version: 1.5.7xerob File: xettercap-1.5.7xerob.gem Building native extensions. This could take a while... ERROR: Error installing xettercap-1.5.7xerob.gem: ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.7.0/gems/pcaprub-0.13.0/ext/pcaprub_c

/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r ./siteconf20200809-7584-1hw3cvz.rb extconf.rb

[*] Running checks for pcaprub_c code... platform is x86_64-linux-gnu checking for ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_thread_call_without_gvl()... yes checking for pcap_open_live() in -lpcap... no checking for pcap_setnonblock() in -lpcap... no creating Makefile

current directory: /var/lib/gems/2.7.0/gems/pcaprub-0.13.0/ext/pcaprub_c make "DESTDIR=" clean

current directory: /var/lib/gems/2.7.0/gems/pcaprub-0.13.0/ext/pcaprub_c make "DESTDIR=" compiling pcaprub.c pcaprub.c:11:10: fatal error: pcap.h: No such file or directory 11 | #include | ^~~~ compilation terminated. make: *** [Makefile:245: pcaprub.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.7.0/gems/pcaprub-0.13.0 for inspection. Results logged to /var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/pcaprub-0.13.0/gem_make.out Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal. shubham@kali:~/xerosploit$ xerosploit bash: xerosploit: command not found

umeshgain commented 4 years ago

Install all dependencies manually

umeshgain commented 4 years ago

Update and Upgrade if necessary (upgrade may take a while) sudo apt-get update sudo apt-get upgrade

Install dependencies manually first. nmap sudo apt-get install nmap hping3 sudo apt-get install hping3 build-essential sudo apt-get install build-essential ruby-dev sudo apt-get install ruby-dev libpcap-dev sudo apt-get install libpcap-dev libgmp3-dev sudo apt-get install licgmp3-dev bettercap sudo apt-get install bettercap python-pip (This will be needed to install "tabulate" and "terminaltables") sudo apt-get install python-pip tabulate sudo pip install tabulate terminaltables sudo pip install terminaltables

If any installation failed with "apt-get install command" trying installing with "pip install"

Install xerosploit git clone https://github.com/LionSec/xerosploit cd into xerosploit folder sudo python install.py

In case of WARNING while running install.py such as: WARNING: bin/xettercap is not executable WARNING: See http://guides.rubygems.org/specification-reference/ for help

cd into xerosploit folder cd xerosploit/tools/bettercap/bin/ or open ternimal at /xerosploit/tools/bettercap/bin/ run sudo chmod +x xettercap

Launch xerosploit sudo xerosploit

If you have install xerosploit before the dependencies and you still see issue , I recommend you run the xerosploit installer again.

FazalMahmood commented 3 years ago

Add Debian Repository: $ sudo nano /etc/apt/sources.list

Add this: deb http://deb.debian.org/debian/ buster main

$ sudo apt update && sudo apt install python-pip-whl=18.1-5 python-all-dev python-setuptools python-wheel python-pip

$ git clone https://github.com/LionSec/xerosploit $ cd xerosploit && sudo python install.py $ sudo xerosploit

Issues: Real-time Sniffing logs doesn't work out of the box, you need to run this command each time to monitor real time logs:

See Log File: (Starts with Targets IP) $ ls /opt/xerosploit/xerosniff

Monitor Logs in Real Time: (change file name to your log file) $ sudo tail -f /opt/xerosploit/xerosniff/LOG_FILE.log

Fork: https://github.com/FazalMahmood/xerosploit/

APAbbasi34 commented 2 years ago

great this commond slove my issue now is using xerosploit