f4rih / websploit Goto Github PK
View Code? Open in Web Editor NEWWebsploit is a high level MITM framework
License: MIT License
Websploit is a high level MITM framework
License: MIT License
when type wsf> set target example.com get "wrong command => set target example.com"
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'
Is there a planned date for the introduction of bluetooth modules?
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
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.
Hey!
Is there any way to get websploit to work on jailbroken iOS? Or can you maybe port it?
When I Run sh: dsniff: not found it gives an error What should I do? Beginners please help :)
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
Not work termux and not show all option
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
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?
Denem
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
In Network Module MITM, i can´t sniff https ...
How fix this?
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
where are all the modules like in the previous versions of websploit??
root@protaxy-ASUS-Gaming-FX570UD:# git clone https://github.com/websploit/websploit.git# cd websploit
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:
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
root@AVI:~# websploit
Traceback (most recent call last):
File "/usr/bin/websploit", line 37, in
from core import wcolors
ImportError: cannot import name wcolors
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:/#
Hello when I use module scan network Mac and Ip are empty. Some one can help me??
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?
File "/usr/bin/websploit", line 155
print "Wrong Command => ", terminal
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Wrong Command => ", terminal)?
Getting message
UnboundLocalError: local variable 'f' referenced before assignment
After running python2 websploit cmd
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
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
wsf > help
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
about exit help show update use
wsf >
Bye!
root@kali:~#
when i execute arpspoof it show
PermissionError : [Error 13] permission denied
hi .. suggest to add captive portal to websploit.
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.
Hello,
as per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939260 we are getting rid of Python 2 in Debian and websploit is still Python 2 code. Its continued inclusion in Debian and Kali is thus subject to its update to Python 3.
Do you have plans to port it to Python 3 ?
Thank you for your work on websploit.
Raphaël, a Kali/Debian package maintainer.
Are you planning to introduce modules from previous projects into the project?
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:
sh:dsniff:not found
need to change code in wifi_jammer.py
in websploit when i set Sniffer and run it shows
sh:driftnet: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
not working
has a lot of problem on scripts
How delete websploit?
root@kronlab:/opt/ferramentas/scans/websploit/websploit# python3 websploit.py
File "websploit.py", line 34
module.prompt = f"wsf > {line} > "
^
SyntaxError: invalid syntax
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'
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'
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.