HOME FORUMS MEMBERS RECENT POSTS LOG IN  
× Авторизация
Имя пользователя:
Пароль:
Нет аккаунта? Регистрация
Баннер 1   Баннер 2
НОВЫЕ ТОРГОВАЯ НОВОСТИ ЧАТ
loading...
Скрыть
Вернуться   ANTICHAT > БЕЗОПАСНОСТЬ И УЯЗВИМОСТИ > Беспроводные технологии/Wi-Fi/Wardriving
   
Ответ
 
Опции темы Поиск в этой теме Опции просмотра

  #1  
Старый 01.10.2020, 21:21
pavelka
Новичок
Регистрация: 30.09.2020
Сообщений: 6
С нами: 2957585

Репутация: 0
По умолчанию

Код:


Код:
█                                                                             █                          
└═════════════════════════════════════════════════════════════════════════════┘                          
                                                                                                         
╒═════════════════════════╤═══════════════════╤══════════════════════╤═════════╤════════════╕
│       IP Address        │    MAC Address    │       Gateway        │  Iface  │  Hostname  │
╞═════════════════════════╪═══════════════════╪══════════════════════╪═════════╪════════════╡
├─────────────────────────┼───────────────────┼──────────────────────┼─────────┼────────────┤
│ │  eth0   │    kali    │
╘═════════════════════════╧═══════════════════╧══════════════════════╧═════════╧════════════╛

╔═════════════╦════════════════════════════════════════════════════════════════════╗
║             ║ XeroSploit is a penetration testing toolkit whose goal is to       ║
║ Information ║ perform man in the middle attacks for testing purposes.            ║                     
║             ║ It brings various modules that allow to realise efficient attacks. ║                     
║             ║ This tool is Powered by Bettercap and Nmap.                        ║                     
╚═════════════╩════════════════════════════════════════════════════════════════════╝

[+] Please type 'help' to view commands.                                                                 
                                                                                                         
Traceback (most recent call last):
  File "xerosploit.py", line 981, in main
    cmd0()
  File "xerosploit.py", line 866, in cmd0
    cmd_0 = raw_input("\033[1;36m\033[4mXero\033[0m\033[1;36m ➮ \033[1;m").strip()
NameError: name 'raw_input' is not defined
[root@kali xerosploit]# xerosploit
Traceback (most recent call last):
  File "/opt/xerosploit/xerosploit.py", line 26, in 
    from terminaltables import DoubleTable
ImportError: No module named terminaltables
[root@kali xerosploit]# ┌═════════════════════════════════════════════
 
Ответить с цитированием

  #2  
Старый 02.10.2020, 18:09
z3r0c10wn
Новичок
Регистрация: 04.09.2017
Сообщений: 0
С нами: 4573785

Репутация: 0
По умолчанию

Python:


Код:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import
os
import
sys
#---------------------------------------------------------------------------#
# This file is part of Xerosploit.                                          #
# Xerosploit is free software: you can redistribute it and/or modify        #
# it under the terms of the GNU General Public License as published by      #
# the Free Software Foundation, either version 3 of the License, or         #
# (at your option) any later version.                                       #
#                                                                           #
# Xerosploit is distributed in the hope that it will be useful,             #
# but WITHOUT ANY WARRANTY; without even the implied warranty of            #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             #
# GNU General Public License for more details.                              #
#                                                                           #
# You should have received a copy of the GNU General Public License         #
# along with Xerosploit.  If not, see .       #
#                                                                           #
#---------------------------------------------------------------------------#
#                                                                           #
#        Copyright © 2016 LionSec (www.lionsec.net)                         #
#                                                                           #
#---------------------------------------------------------------------------#
if
not
os
.
geteuid
(
)
==
0
:
sys
.
exit
(
"""\033[1;91m\n[!] Xerosploit installer must be run as root. ¯\_(ツ)_/¯\n\033[1;m"""
)
print
(
""" \033[1;36m
┌══════════════════════════════════════════════════════════════┐
█                                                              █
█                     Xerosploit Installer                     █
█                                                              █
└══════════════════════════════════════════════════════════════┘     \033[1;m"""
)
def
main
(
)
:
print
(
"\033[1;34m\n[++] Please choose your operating system.\033[1;m"
)
print
(
"""
1) Ubuntu / Kali linux / Others
2) Parrot OS
"""
)
system0
=
raw_input
(
">>> "
)
if
system0
==
"1"
:
print
(
"\033[1;34m\n[++] Installing Xerosploit ... \033[1;m"
)
install
=
os
.
system
(
"apt-get update && apt-get install -y nmap hping3 build-essential python-pip ruby-dev git libpcap-dev libgmp3-dev && pip install tabulate terminaltables"
)
install1
=
os
.
system
(
"""cd tools/bettercap/ && gem build bettercap.* && sudo gem install xettercap-* && rm xettercap-* && cd ../../ && mkdir -p /opt/xerosploit && cp -R tools/ /opt/xerosploit/ && cp xerosploit.py /opt/xerosploit/xerosploit.py && cp banner.py /opt/xerosploit/banner.py && cp run.sh /usr/bin/xerosploit && chmod +x /usr/bin/xerosploit && tput setaf 34; echo "Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal." """
)
elif
system0
==
"2"
:
print
(
"\033[1;34m\n[++] Installing Xerosploit ... \033[1;m"
)
bet_un
=
os
.
system
(
"apt-get remove bettercap"
)
# Remove bettercap to avoid some problems . Installed by default with apt-get .
bet_re_ins
=
os
.
system
(
"gem install bettercap"
)
# Reinstall bettercap with gem.
install
=
os
.
system
(
"apt-get update && apt-get install -y nmap hping3 ruby-dev git libpcap-dev libgmp3-dev python-tabulate python-terminaltables"
)
install1
=
os
.
system
(
"""cd tools/bettercap/ && gem build bettercap.* && sudo gem install xettercap-* && rm xettercap-* && cd ../../ && mkdir -p /opt/xerosploit && cp -R tools/ /opt/xerosploit/ && cp xerosploit.py /opt/xerosploit/xerosploit.py && cp banner.py /opt/xerosploit/banner.py && cp run.sh /usr/bin/xerosploit && chmod +x /usr/bin/xerosploit && tput setaf 34; echo "Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal." """
)
else
:
print
(
"Please select the option 1 or 2"
)
main
(
)
main
(
)
 
Ответить с цитированием

  #3  
Старый 04.10.2020, 01:17
pavelka
Новичок
Регистрация: 30.09.2020
Сообщений: 6
С нами: 2957585

Репутация: 0
По умолчанию

А нельзя доступно как то обяснить как редактировать и какой файл а то я не очень силен в скрипте питона
 
Ответить с цитированием

  #4  
Старый 05.10.2020, 10:32
z3r0c10wn
Новичок
Регистрация: 04.09.2017
Сообщений: 0
С нами: 4573785

Репутация: 0
По умолчанию

Это py-installer XeroSploit - он установит необходимые зависимости и пакеты для работы
 
Ответить с цитированием

  #5  
Старый 05.10.2020, 23:52
pavelka
Новичок
Регистрация: 30.09.2020
Сообщений: 6
С нами: 2957585

Репутация: 0
По умолчанию

все сделал запустил с етим файлом прочмодил на 755 результат тот же нет модуля terminaltables .питался установить с помощью pip3 а также с python -m pip ничего не помогает .систему переустановил одна и та же ошибка. в чем может бить причина не знаю.пакет python-pip не устанавливается только python3-pip. но команда pip install tabulate прошла
могу сбросить скрини покомандно

Код:


Код:
[root@kali apt]# pip install tabulate==0.8.7
Collecting tabulate==0.8.7
  Using cached tabulate-0.8.7-py3-none-any.whl (24 kB)
Installing collected packages: tabulate
Successfully installed tabulate-0.8.7
[root@kali apt]# pip install terminaltables==3.1.0
Processing /root/.cache/pip/wheels/08/8f/5f/253d0105a55bd84ee61ef0d37dbf70421e61e0cd70cef7c5e1/terminaltables-3.1.0-py3-none-any.whl
Installing collected packages: terminaltables
Successfully installed terminaltables-3.1.0
[root@kali xerosploit]# python install.py

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

[++] Please choose your operating system.                                                                       

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

>>> 1

[++] Installing Xerosploit ...                                                                                  
Сущ:1 Index of /kali/ kali-rolling InRelease
Чтение списков пакетов… Готово
Чтение списков пакетов… Готово
Построение дерева зависимостей      
Чтение информации о состоянии… Готово
Пакет python-pip недоступен, но упомянут в списке зависимостей другого
пакета. Это может означать, что пакет отсутствует, устарел или
доступен из источников, не упомянутых в sources.list
Однако следующие пакеты могут его заменить:
  python3-pip

E: Для пакета «python-pip» не найден кандидат на установку
WARNING:  bin/xettercap is not executable
WARNING:  See Specification Reference - RubyGems Guides for help
  Successfully built RubyGem
  Name: xettercap
  Version: 1.5.7xerob
  File: xettercap-1.5.7xerob.gem
Successfully installed xettercap-1.5.7xerob
Parsing documentation for xettercap-1.5.7xerob
Done installing documentation for xettercap after 5 seconds
1 gem installed
Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal.
[root@kali xerosploit]# python xerosploit.py                                                                    
Traceback (most recent call last):
  File "xerosploit.py", line 26, in 
    from terminaltables import DoubleTable
ImportError: No module named terminaltables
[root@kali xerosploit]# xerosploit
Traceback (most recent call last):
  File "/opt/xerosploit/xerosploit.py", line 26, in 
    from terminaltables import DoubleTable
ImportError: No module named terminaltables

[root@kali xerosploit]# python3 xerosploit.py
 

▒██   ██▒▓█████  ██▀███   ▒█████    ██████  ██▓███   ██▓     ▒█████   ██▓▄▄▄█████▓
▒▒ █ █ ▒░▓█   ▀ ▓██ ▒ ██▒▒██▒  ██▒▒██    ▒ ▓██░  ██▒▓██▒    ▒██▒  ██▒▓██▒▓  ██▒ ▓▒
░░  █   ░▒███   ▓██ ░▄█ ▒▒██░  ██▒░ ▓██▄   ▓██░ ██▓▒▒██░    ▒██░  ██▒▒██▒▒ ▓██░ ▒░
░ █ █ ▒ ▒▓█  ▄ ▒██▀▀█▄  ▒██   ██░  ▒   ██▒▒██▄█▓▒ ▒▒██░    ▒██   ██░░██░░ ▓██▓ ░
▒██▒ ▒██▒░▒████▒░██▓ ▒██▒░ ████▓▒░▒██████▒▒▒██▒ ░  ░░██████▒░ ████▓▒░░██░  ▒██▒ ░
▒▒ ░ ░▓ ░░░ ▒░ ░░ ▒▓ ░▒▓░░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░▒▓▒░ ░  ░░ ▒░▓  ░░ ▒░▒░▒░ ░▓    ▒ ░░  
░░   ░▒ ░ ░ ░  ░  ░▒ ░ ▒░  ░ ▒ ▒░ ░ ░▒  ░ ░░▒ ░     ░ ░ ▒  ░  ░ ▒ ▒░  ▒ ░    ░   
░    ░     ░     ░░   ░ ░ ░ ░ ▒  ░  ░  ░  ░░         ░ ░   ░ ░ ░ ▒   ▒ ░  ░     
░    ░     ░  ░   ░         ░ ░        ░               ░  ░    ░ ░   ░          

[+]═══════════[ Author : @LionSec1 _-\|/-_ Website: www.neodrix.com ]═══════════[+]

                      [ Powered by Bettercap and Nmap ]

┌═════════════════════════════════════════════════════════════════════════════┐                                 
█                                                                             █                                 
█                         Your Network Configuration                          █                                 
█                                                                             █                                 
└═════════════════════════════════════════════════════════════════════════════┘                                 
                                                                                                                
╒═══════════════════════════╤═══════════════════╤═════════════════════════╤═════════╤════════════╕
│        IP Address         │    MAC Address    │         Gateway         │  Iface  │  Hostname  │
╞═══════════════════════════╪═══════════════════╪═════════════════════════╪═════════╪════════════╡
├───────────────────────────┼───────────────────┼─────────────────────────┼─────────┼────────────┤
│ 192.168.31.11 192.168.1.6 │ A*:28:B*:*F*4t:B** │ 192.168.31.1192.168.1.1 │  eth0   │    kali    │
╘═══════════════════════════╧═══════════════════╧═════════════════════════╧═════════╧════════════╛

╔═════════════╦════════════════════════════════════════════════════════════════════╗
║             ║ XeroSploit is a penetration testing toolkit whose goal is to       ║
║ Information ║ perform man in the middle attacks for testing purposes.            ║                            
║             ║ It brings various modules that allow to realise efficient attacks. ║                            
║             ║ This tool is Powered by Bettercap and Nmap.                        ║                            
╚═════════════╩════════════════════════════════════════════════════════════════════╝

[+] Please type 'help' to view commands.                                                                        
                                                                                                                
Traceback (most recent call last):
  File "xerosploit.py", line 981, in main
    cmd0()
  File "xerosploit.py", line 866, in cmd0
    cmd_0 = raw_input("\033[1;36m\033[4mXero\033[0m\033[1;36m ➮ \033[1;m").strip()
NameError: name 'raw_input' is not define
даже не знаю что ешо делать у многих тоже таже ошибка возможно с апдейтами пакетов питона причина
 
Ответить с цитированием

  #6  
Старый 08.10.2020, 00:03
pavelka
Новичок
Регистрация: 30.09.2020
Сообщений: 6
С нами: 2957585

Репутация: 0
По умолчанию

проблему решил . она в установленной версии python a coответственно и в версии pip. версия об ошибке кода в xerosploit.py не нашла подтверждения
 
Ответить с цитированием
Ответ



Предыдущая тема Следующая тема

Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT ™ © 2001- Antichat Kft.