Coder Social home page Coder Social logo

websploit's People

Contributors

0x0ptim0us avatar begininvoke avatar f4rih avatar taciones avatar websploit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

websploit's Issues

websploit typing after not opening

root@kali:/home/redhat/websploit# websploit
Traceback (most recent call last):
File "/usr/local/bin/websploit", line 11, in
load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/websploit-4.0.4-py2.7.egg/websploit/websploit.py", line 34
module.prompt = f"wsf > {line} > "
^
SyntaxError: invalid syntax

websploit is not running . ttrace call back

websploit
Traceback (most recent call last):
File "/usr/bin/websploit", line 57, in
from modules import arp_poisoner
File "/usr/share/websploit/modules/arp_poisoner.py", line 11, in
from scapy.all import *
File "/usr/local/lib/python2.7/dist-packages/scapy/all.py", line 10, in
from .config import *
File "/usr/local/lib/python2.7/dist-packages/scapy/config.py", line 11, in
from .data import *
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 184, in
TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
File "/usr/local/lib/python2.7/dist-packages/scapy/data.py", line 109, in load_services
f=open(filename, errors='ignore')
TypeError: 'errors' is an invalid keyword argument for this function

error

in websploit when i set Sniffer and run it shows
sh:driftnet:not found

invalid syntax

root@kronlab:/opt/ferramentas/scans/websploit/websploit# python3 websploit.py
File "websploit.py", line 34
module.prompt = f"wsf > {line} > "
^
SyntaxError: invalid syntax

print error.

File "/usr/bin/websploit", line 155
print "Wrong Command => ", terminal
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Wrong Command => ", terminal)?

Error to run in kali linux 2016.2

root@AVI:~# websploit
Traceback (most recent call last):
File "/usr/bin/websploit", line 37, in
from core import wcolors
ImportError: cannot import name wcolors

OSError: [Errno 97] Address family not supported by protocol

wsf > use http_sniffer
wsf > http_sniffer > execute
Traceback (most recent call last):
File "/usr/local/bin/websploit", line 11, in
load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
File "/usr/local/lib/python3.8/dist-packages/websploit-4.0.4-py3.8.egg/websploit/websploit.py", line 74, in start_wsf
Main().cmdloop()
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.8/dist-packages/websploit-4.0.4-py3.8.egg/websploit/websploit.py", line 35, in do_use
module.cmdloop()
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.8/dist-packages/websploit-4.0.4-py3.8.egg/websploit/modules/http_sniffer.py", line 25, in do_execute
sniff(filter="port 80", prn=self.packet_handler, iface=self.parameters['iface'], store=False)
File "/usr/local/lib/python3.8/dist-packages/scapy-2.4.3-py3.8.egg/scapy/sendrecv.py", line 972, in sniff
sniffer._run(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy-2.4.3-py3.8.egg/scapy/sendrecv.py", line 841, in _run
sniff_sockets[L2socket(type=ETH_P_ALL, iface=iface,
File "/usr/local/lib/python3.8/dist-packages/scapy-2.4.3-py3.8.egg/scapy/arch/linux.py", line 467, in init
self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) # noqa: E501
File "/usr/lib/python3.8/socket.py", line 231, in init
_socket.socket.init(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

Android 10

Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/linux.py", line 125, in get_if_list
f = open("/proc/net/dev", "rb")
PermissionError: [Errno 13] Permission denied: '/proc/net/dev'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/websploit", line 11, in
load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/websploit.py", line 3, in
from .core.utils import check_dependencies
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/core/utils/init.py", line 1, in
from .tools import *
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/core/utils/tools.py", line 1, in
from scapy.all import *
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/all.py", line 27, in
from scapy.route import *
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/route.py", line 203, in
conf.iface = get_working_if()
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/linux.py", line 144, in get_working_if
for i in get_if_list():
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/linux.py", line 127, in get_if_list
f.close()
UnboundLocalError: local variable 'f' referenced before assignment

KeyError: 'green'

What's the problem ?

λ websploit

    ____    __    ____
    \   \  /  \  /   /     |    Welcome to Websploit
     \   \/    \/   /      |    Version : 4.0.4
      \            /       |    https://github.com/websploit/websploit
       \    /\    /        |    Author : Fardin Allahverdinazhand
        \__/  \__/         |    Codename : Reborn



wsf > show
Traceback (most recent call last):
  File "D:\ProgramData\Miniconda3\Scripts\websploit-script.py", line 11, in <module>
    load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
  File "D:\ProgramData\Miniconda3\lib\site-packages\websploit-4.0.4-py3.7.egg\websploit\websploit.py", line 74, in start_wsf
    Main().cmdloop()
  File "D:\ProgramData\Miniconda3\lib\cmd.py", line 138, in cmdloop
    stop = self.onecmd(line)
  File "D:\ProgramData\Miniconda3\lib\cmd.py", line 217, in onecmd
    return func(arg)
  File "D:\ProgramData\Miniconda3\lib\site-packages\websploit-4.0.4-py3.7.egg\websploit\websploit.py", line 44, in do_show
    all_modules()
  File "D:\ProgramData\Miniconda3\lib\site-packages\websploit-4.0.4-py3.7.egg\websploit\modules\__init__.py", line 11, in all_modules
    cp.green(f"{'Modules':<20}\t{'Description':<20}")
  File "D:\ProgramData\Miniconda3\lib\site-packages\websploit-4.0.4-py3.7.egg\websploit\core\utils\output.py", line 65, in green
    self._output(text=text, status="green")
  File "D:\ProgramData\Miniconda3\lib\site-packages\websploit-4.0.4-py3.7.egg\websploit\core\utils\output.py", line 45, in _output
    print(f"{symbols[status]} {text}")
KeyError: 'green'

permission error

when i execute arpspoof it show
PermissionError : [Error 13] permission denied

i get error mscli not found

i get this error

wsf:Browser_Autopwn > run
[]Starting WebServer ... Please Wait ...
[
]Configuration DNS Spoof ...
[]Creating Infected Page For Victim ...
[
]Engine Has Been Started.
sh: 1: msfcli: not found
wsf >

====================================
please help how to repair it

bluetooth modules

Is there a planned date for the introduction of bluetooth modules?

help command is not working

wsf > help

Commands

about exit help show update use

wsf > --help

        Websploit Framework
        Author : Fardin Allahverdinazhand
        Contact : 0x0ptim0us[~A~]Gmail.Com
        Twitter : @0x0ptim0us
        Codename : Reborn
        Project Github : https://github.com/websploit/websploit
        Other Projects : https://github.com/0x0ptim0us

wsf > help

Commands

about exit help show update use

wsf >
Bye!
root@kali:~#

MFOD attack is not working

after running the wsf:MFOD>run command, nothing is happening and no new window is opening which shows the hosts connections.
This is where it get hangs.
wsf

I want change port on web/pma

I want change port on web/pma, because my environment is using ssh tunnering that use port 60080.

I tried set TARGET localhost:60080 but I getted error.

I tried to pma source on this repo,but I don't read well python,so perhaps this error is not related this issue.


wsf:PMA > run
[*] Your Target : localhost:60080
[*]Loading Path List ... Please Wait ...
Traceback (most recent call last):
  File "/usr/bin/websploit", line 160, in <module>
    start()
  File "/usr/bin/websploit", line 158, in start
    main()
  File "/usr/bin/websploit", line 132, in main
    main()
  File "/usr/bin/websploit", line 95, in main
    phpmyadmin.phpmyadmin()
  File "/usr/share/websploit/modules/phpmyadmin.py", line 31, in phpmyadmin
    phpmyadmin()
  File "/usr/share/websploit/modules/phpmyadmin.py", line 24, in phpmyadmin
    phpmyadmin()
  File "/usr/share/websploit/modules/phpmyadmin.py", line 136, in phpmyadmin
    res = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1073, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 379, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

can I change using port?

sh:dsniff:not found

When I Run sh: dsniff: not found it gives an error What should I do? Beginners please help :)

Can help me

root@kali:/# websploit
Traceback (most recent call last): File "/usr/bin/websploit", line 39, in
from core import wcolors
ImportError: cannot import name wcolors
root@kali:/#

modules error

where are all the modules like in the previous versions of websploit??

wrong command => set

when type wsf> set target example.com get "wrong command => set target example.com"

Websploit wouldn't start: ImportError: No module named scapy.all

Installed, when running sudo websploit getting this:

Traceback (most recent call last):
  File "./websploit", line 55, in <module>
    from modules import arp_poisoner
  File "/Users/drewshg312/tmp/websploit/modules/arp_poisoner.py", line 11, in <module>
    from scapy.all import *
ImportError: No module named scapy.all

arp_spoof execute has exception

I installed websploit and I'm facing issue in arp_spoof>execute

Traceback (most recent call last):
  File "/usr/local/bin/websploit", line 11, in <module>
    load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
  File "/usr/local/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/websploit.py", line 74, in start_wsf
    Main().cmdloop()
  File "/usr/local/Cellar/[email protected]/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/cmd.py", line 138, in cmdloop
    stop = self.onecmd(line)
  File "/usr/local/Cellar/[email protected]/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/cmd.py", line 217, in onecmd
    return func(arg)
  File "/usr/local/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/websploit.py", line 35, in do_use
    module.cmdloop()
  File "/usr/local/Cellar/[email protected]/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/cmd.py", line 138, in cmdloop
    stop = self.onecmd(line)
  File "/usr/local/Cellar/[email protected]/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/cmd.py", line 217, in onecmd
    return func(arg)
  File "/usr/local/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/modules/arp_spoof.py", line 24, in do_execute
    self._spoof(target=self.parameters['target'], getway=self.parameters['gateway'])
  File "/usr/local/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/modules/arp_spoof.py", line 37, in _spoof
    target_mac = get_mac(ip=target)
  File "/usr/local/lib/python3.8/site-packages/websploit-4.0.4-py3.8.egg/websploit/core/utils/tools.py", line 7, in get_mac
    ans, _ = srp(Ether(dst='ff:ff:ff:ff:ff:ff')/ARP(pdst=ip), timeout=3, verbose=0)
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/sendrecv.py", line 503, in srp
    s = conf.L2socket(promisc=promisc, iface=iface,
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/bpf/supersocket.py", line 234, in __init__
    super(L2bpfListenSocket, self).__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/bpf/supersocket.py", line 57, in __init__
    (self.ins, self.dev_bpf) = get_dev_bpf()
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/bpf/core.py", line 115, in get_dev_bpf
    raise Scapy_Exception("No /dev/bpf handle is available !")
scapy.error.Scapy_Exception: No /dev/bpf handle is available !
Exception ignored in: <function _L2bpfSocket.__del__ at 0x10272c5e0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/bpf/supersocket.py", line 131, in __del__
    self.close()
  File "/usr/local/lib/python3.8/site-packages/scapy-2.4.3-py3.8.egg/scapy/arch/bpf/supersocket.py", line 203, in close
    if not self.closed and self.ins is not None:
AttributeError: 'L2bpfSocket' object has no attribute 'ins'


Sniffing disable internet on device

Every time I use Websploit (like every other mitm scripts) and I choose a target (smartphone, notebook), the target will lose internet connection. How should I fix it?

Kali Linux 4.19.0-kali3-amd64 (dual boot)
Wifi: Alfa AWUS036NHA and AWUS036NH

Module wifi_fap_spam is raising a FileNotFound Error

I was testing the wifi_fap_spam module but got this error. wifi_fap works, but not spam.
Terminal Output:
Traceback (most recent call last): File "/usr/local/bin/websploit", line 11, in <module> load_entry_point('websploit==4.0.3', 'console_scripts', 'websploit')() File "/usr/local/lib/python3.7/dist-packages/websploit-4.0.3-py3.7.egg/websploit/websploit.py", line 74, in start_wsf Main().cmdloop() File "/usr/lib/python3.7/cmd.py", line 138, in cmdloop stop = self.onecmd(line) File "/usr/lib/python3.7/cmd.py", line 217, in onecmd return func(arg) File "/usr/local/lib/python3.7/dist-packages/websploit-4.0.3-py3.7.egg/websploit/websploit.py", line 35, in do_use module.cmdloop() File "/usr/lib/python3.7/cmd.py", line 138, in cmdloop stop = self.onecmd(line) File "/usr/lib/python3.7/cmd.py", line 217, in onecmd return func(arg) File "/usr/local/lib/python3.7/dist-packages/websploit-4.0.3-py3.7.egg/websploit/modules/wifi_fap_spam.py", line 22, in do_execute name = get_fake_name() File "/usr/local/lib/python3.7/dist-packages/websploit-4.0.3-py3.7.egg/websploit/core/utils/tools.py", line 39, in get_fake_name with open(file_path) as file: FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/websploit-4.0.3-py3.7.egg/websploit/core/utils/fake_names'

Thanks in advance.

websploit 3.0 on parrot os, network/mitm pcap_activate

setting all the correct variables, type run followed by enter, ARP spoofing completes, IP forwarding completes, when the sniffer starts, error trips:

error: pcap_activate: You don't have permission to capture on that device
Screenshot

Scan network

Hello when I use module scan network Mac and Ip are empty. Some one can help me??

set mon wlan1 not working

Some chipsets generate "wlan0" or "wlan1" instead of "mon0" or "mon1" when setting the interface to monitor mode. If I try to change mon to wlan1 in websploit, it just sets it to "wlan". The number 1 always misses. It seems the set mon command does not accept more characters then 4.

Python error.

File "wsf-update.py", line 12
print wcolors.color.GREEN + "[*]Updating Websploit framework, Please Wait ..." + wcolors.color.ENDC
^
SyntaxError: Missing parentheses in call to 'print'

Traceback (most recent call last)

root@Devil:# websploit
Traceback (most recent call last):
File "/usr/local/bin/websploit", line 6, in
from pkg_resources import load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 2985, in
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 2971, in _call_aside
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 2998, in _initialize_master_working_set
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 660, in _build_master
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 968, in require
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 854, in resolve
pkg_resources.DistributionNotFound: The 'requests' distribution was not found and is required by websploit
root@Devil:
#

Screenshot 2020-03-31 01:12:40

TERMUX - Android

When i try to run command python2 websploit it shows like this...
/data/data/com.termux/files/usr/bin/python2: can't find 'main' module in 'websploit'
can anyone help me though i installed python2

Lack of modules

Hello! I can't find a lot of modules in this version, for example no Bluetooth module is not available. Where can I get it?

can't install via git

root@protaxy-ASUS-Gaming-FX570UD:# git clone https://github.com/websploit/websploit.git
Cloning into 'websploit'...
remote: Enumerating objects: 114, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 189 (delta 44), reused 96 (delta 26), pack-reused 75
Receiving objects: 100% (189/189), 1.28 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (65/65), done.
root@protaxy-ASUS-Gaming-FX570UD:
# cd websploit
root@protaxy-ASUS-Gaming-FX570UD:~/websploit# python setup.py install
Traceback (most recent call last):
File "setup.py", line 3, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

Can't use websploit. 😭😭😭

This what i got.

Traceback (most recent call last):
File "websploit.py", line 3, in
from .core.utils import check_dependencies
ImportError: attempted relative import with no known parent package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.